OpenBSD/FreeBSD performance reddit / BSD ---------------------------------------------------------------------- StephaneiAarhus · 2020-09-05 14:29 I run OpenBSD for my router, on an APU2, from PC Engines. Really like it and up to now, I cannot really complain. Yes I am happy about it. Now I might soon (or not) get a fiber connection with top speed internet (1000 Mbits/s according to the documentation). And I wonder if I should switch the router to FreeBSD for performance reasons. Any advices on the matter ? ---------------------------------------------------------------------- noradis · 2020-09-05 15:34 You should test how OpenBSD performs before changing it. If it works fine and you're happy with it, then there's no reason to switch. ---------------------------------------------------------------------- FUZxxl · 2020-09-05 21:39 I would be surprised if an APU2 could route gigabit without loss of bandwidth at all given how puny its CPU is. ---------------------------------------------------------------------- StephaneiAarhus · 2020-09-06 04:44 According to this, it's close... https://bsdrp.net/documentation/examples/forwarding_performance_lab_of _a_pc_engines_apu2 ---------------------------------------------------------------------- masterblaster0 · 2020-09-06 06:27 Two or three years ago Calomel tested the performance between OpenBSD and FreeBSD, he found the latter far more performant, whether that is still the case I don't know. Obviously it depends on use case as well. https://calomel.org/freebsd_network_tuning.html ---------------------------------------------------------------------- StephaneiAarhus · 2020-09-06 06:55 Which is exactly why I launched this discussion here. I have used FreeBSD a few times and don't like it as I find it quite chaotic. I might though switch my router and stick to it if performance is really better because why having a super internet connection if the router itself is the botttleneck ? ---------------------------------------------------------------------- nahnah2017 · 2020-09-06 09:08 Juniper Networks sells routers and switches that run most of the internet backbone. It uses FreeBSD. It's probably good enough for you. ---------------------------------------------------------------------- Ben_ze_Bub · 2020-09-06 11:57 Just to thrown another option in the mix. NetBSD have their NPF firewall which is designed with speed in mind. I haven't tried it myself but it could be an option to consider. ---------------------------------------------------------------------- StephaneiAarhus · 2020-09-06 12:11 Indeed. But I have never touched NetBsd so I have no idea of how comfortable I would be. Thanks for info, I might have a look. ---------------------------------------------------------------------- jaypatelani · 2020-09-07 03:29 You can try it on Virtualbox also NPF documentation: http://rmind.github.io/npf/ ---------------------------------------------------------------------- _arthur_ · 2020-09-08 07:57 While that's true Juniper has dedicated hardware to do the actual routing and switching. That's not done in software, which is what OP will be doing. ---------------------------------------------------------------------- monotux · 2020-09-12 19:00 Not answering your question, but I find that freebsd is quite logical compared to many other operating systems. The base system is separated from all additional stuff by putting the additional stuff in /usr/local. Using jails is another way to keep things neat. ---------------------------------------------------------------------- StephaneiAarhus · 2020-09-12 19:35 I don't like to have half the con'f in /usr/local/etc. Nor do I like the rc.conf with all mixed together. It is messy. And I read some people having routers as a jail. Seems overkill and absurd to me (but it is my opinion). ---------------------------------------------------------------------- 3G6A5W338E · 2020-09-13 19:45 control plane != data plane. ---------------------------------------------------------------------- Xerxero · 2020-09-26 19:43 Only later installed packages will use the local/etc. ---------------------------------------------------------------------- StephaneiAarhus · 2020-09-27 10:13 Yeah, everything that's not in base. If I remember well, that's the half of what's normally in /etc that ends up in /usr/local/etc ... I don't want to make you angry. I just don't like it.