Remix.run Logo
alwillis 2 hours ago

> and approaches Linux performance in some areas (e.g. Networking)

FreeBSD has been the gold standard for networking features and performance for decades; not sure I'd agree.

> FreeBSD tends to have fewer features in almost all areas compared to Linux

I'm not sure FreeBSD has fewer features in total but on a new install, many of them are turned off; it doesn’t mandate what should be running. There's a lot beneath the surface to get into.

> FreeBSD Kernel and Userland developed together -- it has got that undefined "cohesive" feel

Definitely! It feels like a single entity rather than a collection of components.

> Has less layers of abstraction than Linux, gets the job done. Because there are fewer layers it's easier to understand what is going on and potentially easier to fix.

Agreed. You can tell the FreeBSD developers attitude is to compose features using what the operating system already offers instead of creating new things from scratch.

> Very simple daemon configuration via /etc/rc.conf

I'd say in a good way; quoting from "Service Management: init vs systemd" [1]:

The comparison is best understood structurally. [FreeBSD](https://vivianvoss.net/dictionary#freebsd)'s init system is composed of precisely five elements: shell scripts, one library, one configuration file, one ordering utility, and the shell itself. Each is inspectable, replaceable, and debuggable with tools that predate the engineer using them.

[systemd](https://vivianvoss.net/dictionary#systemd) is composed of, well, rather more. The binary count stood at 69 in 2013, which prompted some concern. By 2024, it had doubled. The project absorbed fifteen distinct tools that previously existed as independent, single-purpose programs, each maintained by specialists who understood them intimately.

[1]: https://vivianvoss.net/blog/init-vs-systemd

sidkshatriya 2 hours ago | parent [-]

>> and approaches Linux performance in some areas (e.g. Networking)

> FreeBSD has been the gold standard for networking features and performance for decades; not sure I'd agree.

This is the accepted wisdom. But reality on the ground is that Linux has probably surpassed FreeBSD in this domain too. With bpf programs making dynamic packet steering decisions in kernel space, io_uring, support for every hardware networking enhancement under the sun and $$$ being spent by everybody on the Linux networking stack (to speed up AI training or supercomputer clusters for example) I doubt a highly tuned Linux box will be slower than the equivalent FreeBSD one.

(P.S. I'm not a networking expert. This is my assessment though. Someone well versed with networking on both FreeBSD and Linux should confirm on this !)