← Back to context

Comment by favorited

2 hours ago

> The ZFS implementation is less buggy.

FreeBSD and Linux have been using the same implementation of ZFS for years.

AFAIK the most common is ARC but there are other areas as well.

On Linux, ARC memory is reclaimed using the kernel shrinker API which has historically been a problem. There has been several bugs leading to OOMs or system freeze due to high memory usage on systems that use ARC heavily.

On FreeBSD ARC is integrated directly with the VM subsystem. The stack is simpler, less bug-prone.

Now this is not a ZFS algo/whatever problem. It's an implementation/subsystem issue but it's still something to keep an eye on for the ZFS admin.

ps. I'm using ZFS on Linux for 15 years on a self-hosted, home backup server and only once I've had mem issues leading to crashes when I misconfigured the ARC. So it's fairly _stable_ but still not FreeBSD-level stable.