+ Jails
+ Capsicum [1]
+ Netmap [2]
+ Most performing network stack
+ Resource Management (pretty low memory usage)
+ The userspace tools come with the source (no GNU/Linux duality)
+ Clang/LLVM as default compiler stack
[1] - https://www.freebsd.org/cgi/man.cgi?query=capsicum&sektion=4
[2] - https://www.freebsd.org/cgi/man.cgi?query=netmap&sektion=4
This is a pretty good overview: https://en.wikipedia.org/wiki/Operating-system-level_virtual...
Processes in the jail will only see network interfaces and other devices that have been explicitly exposed to the jail.
As others have said, it's like a vm with no virtualization overhead. You can set up jails with the entire Freebsd fs hierarchy so it runs like another host with its own users. Note that even the root user in a jail is not the same as the real root user. You can then use pkg to install packages within the jail too.
A FreeBSD jail is a like a lightweight virtual machine, and is very similar to a Docker container in Linux (though it has been around for about a decade longer than Docker). It provides isolation for processes etc., but uses less resources than a full virtual machine. It is limited in that it has to be the same operating system as the host.
* PF (default on OpenBSD, a fork exists on FreeBSD) configuration is way more human-readable than iptables. Makes a lot easier to create custom complex rulesets.
* Documentation is much cleaner on FreeBSD (or OpenBSD) compared to GNU/Linux. Again helps you deploy complex solutions easily.
* The upgrade process (using ports or pkg) is well documented, easy to execute[1].
* ZFS makes FreeBSD a very solid file server
So, other than specific software, a clean approach on how start/stop services, where goes what, etc. I don't see any other reason for someone to switch from Linux to BSD.
However, given my experience ruby (I'm a ruby programmer) under-performs on FreeBSD VPSs compared to Linux VPSs while on bare metal doesn't. There are reports citing NetBSD as fastest ruby bare-metal OS. But again, differences shouldn't be all that much between BSD and Linux deployments in bare metal to justify a switch on VPSs though, if deploy ruby apps, I'd say stick with Linux.
[1] Hm. It's easy to execute if you are not afraid to read some extra documentation. But once you get the hand of it, it's really a breeze, never had serious issues with FreeBSD in ~3 years.