FreeBSD 10 performance


The move from GCC to Clang was arguably the biggest change going to FreeBSD 10. Wrote this in response to what I now realise is a troll site. Oh well.

FreeBSD were stuck between a rock and a hard place with this. They could continue to use the last increasingly outdated non-GPL3 GCC, or take the performance hit and move to Clang. I think we can all emphathise with their decision.

In the meantime, I’ve moved all my boxes and cloud instances to FreeBSD 10 under various loads (DB servers, web servers, file stores) and haven’t seen any noticeable performance penalty. That said, I haven’t done any serious benchmarking, and FreeBSD’s natively better performance than GNU/Linux under similar loads on my hardware has somewhat masked this. As a Xen guest, its native kernel PVHVM drivers have also significantly increased practical performance.

With Apple’s backing, Clang/LLVM binaries could eventually become competitive with GCC. Indications are they’re slowly moving in the right direction, if the Phoronix Test Suite benchmarks are to be believed.

Author bio and support


Ruben Schade is a technical writer and infrastructure architect in Sydney, Australia who refers to himself in the third person in bios. Hi!

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite bespoke cloud infrastructure provider.

If you found this post helpful or entertaining, you can shout me a coffee or send a comment. Thanks ☺️.