Live data from Hacker News

Why don't companies use FreeBSD as much in production as Linux?

news.ycombinator.com

11–20 of 82 posts

Re: Why don't companies use FreeBSD as much in production as Linux?

#11
I'm not sure you're going to find one unifying answer, so I'll just contribute my own experience.

- FreeBSD lost the desktop battle to Linux. All joking aside about Linux on the desktop, if you want a *nix environment (and not Mac), Linux distributions are just a lot easier to set up and have traditionally enjoyed better packaging of proprietary software (graphics card drivers, RAID card drivers, applications, etc.). While FreeBSD has some very compelling advantages on the server, for those in my circle, it's not not so much better as to justify the cognitive overhead in switching between two similar, but different, OSes.

- FreeBSD wasn't a first class OS on EC2 for years. This allowed an entire ecosystem of devops tools to evolve with essentially Linux-only support.

Re: Why don't companies use FreeBSD as much in production as Linux?

#12

Some reasons I could think: - It's easier and cheaper to find Linux sysadmins than BSD ones - There's more commercial software supported on Linux - There's more companies offering support for Linux - Linux is more portable than BSD - Linux is one of the standard server OS offered by providers, BSD isn't

How is Linux more portable than BSD?! NetBSD has been ported to nearly every platform known to man, even toasters.

I'm surprised that more embedded devices don't run some sort of BSD because they wouldn't have to release code. The PS4's OS is FreeBSD, which they did release a lot of code in return, but they don't have to open source or release all their code (i.e. DRM and other "Security" based stuff) if they don't want to.

Re: Why don't companies use FreeBSD as much in production as Linux?

#13

Some reasons I could think: - It's easier and cheaper to find Linux sysadmins than BSD ones - There's more commercial software supported on Linux - There's more companies offering support for Linux - Linux is more portable than BSD - Linux is one of the standard server OS offered by providers, BSD isn't

- Linux is more portable than BSD - Linux is one of the standard server OS offered by providers, BSD isn't

that's the big one there. My favorite, Hetzner (not only mine, they have a ginormous amount of dedis) offers BSD but a) not all servers are compatible and for older servers you can't even know whether they are without booting into Linux first b) it's much more of a hassle like installing Linux gives you a ready-to-go system while the BSD install needs tweaking with sysctl and network both.

Re: Why don't companies use FreeBSD as much in production as Linux?

#14
I used to run everything on FreeBSD. It's a great operating system and incredibly stable and I loved every minute of sysadminning a FreeBSD box. Honestly, what changed was Ubuntu. Being able to have a fairly robust server on the cheap and maintain it fairly well with just a few apt-get commands was a huge game changer.

Admittedly I haven't tried running FBSD since 4/5 timeframe and I'm sure quite a bit has changed since then, but I used to spend hours trying to patch and compile upgrades to software. The ports system that they used at the time (and might still use for all I know) was great for installing stuff, but if something didn't exist in ports or was a few version behind, you were compiling and installing from source.

aptitude has 99.99% of everything I've ever needed to install and manage and some of the newer package management systems like npm and the like cover everything else. What used to be hours each week of administration work has become minutes a month. It might be less secure, it might be slightly less robust, but overall I don't even think about systems administration anymore and (to me) that's such a huge savings in time that it's just not worth trying to go back.

And as emersonrsantos mentioned, I can almost guarantee that every hosting provider has Ubuntu in some form or another. If I need to move to a new host, I can have the system set up and be in business in probably less than an hour. What used to take a few full-time sysadmins has now been replaced by a handful of devops guys that not only manage the systems, but also help my engineers automate and improve our development workflow and pipelines. And, as he also mentioned, I can throw a rock and hit a Linux guy. Finding a FreeBSD expert is nearly impossible and they always cost a lot more.

But, it was my first unix and I've got a lot of love in my heart for the BSD way of doing things. (NetBSD and OpenBSD are other fond loves of mine). I ran a hosting company in the early 00s that was powered entirely by OpenBSD off cheap commodity hardware. And NetBSD runs on everything, which is also a pretty cool plus.

These days, I'm content knowing that my kickass Mac desktops owe their existence to the OS I grew up loving.

Re: Why don't companies use FreeBSD as much in production as Linux?

#16
post #8

If they should use BSD, wouldn't OpenBSD actually be better? (Default to security)

I use OpenBSD for quite a few services, but end up using FreeBSD for my file servers (OpenZFS). If the progress on multiple CPU usage and virtualization continues on OpenBSD, the only real thing holding me back from getting rid of FreeBSD is the filesystem. I am looking at the progress of HAMMER2 on DragonFlyBSD to see if it is a good fit.

Re: Why don't companies use FreeBSD as much in production as Linux?

#17
These days mostly because of the network effect.

People both get more value from Linux and add more value to it by using it and writing software for it. Take docker or nix for example, huge value for Linux and not so much for systems, where they don't work or aren't first class citizens.

Re: Why don't companies use FreeBSD as much in production as Linux?

#18
I have vendors that require a certain OS. Often, its not even "Linux", its "Red Hat Enterprise version 6.x". If you've ever dealt with an Enterprise Software Vendor, you know the added level of fun of using something other than the strict requirements given. Red Hat is the new Windows for government vendors I've had to deal with.

Re: Why don't companies use FreeBSD as much in production as Linux?

#19
post #14

I used to run everything on FreeBSD. It's a great operating system and incredibly stable and I loved every minute of sysadminning a FreeBSD box. Honestly, what changed was Ubuntu. Being able to have a fairly robust server on the cheap and maintain it fairly well with just a few apt-get commands was a huge game changer. Admittedly I haven't tried running FBSD since 4/5 timeframe and I'm sure quite a bit has changed si…

Ports for building customized binary packages was a really nice solution to building a customized operating environment 10-15 years ago. It's still a good solution, but not so much better than what I get on Fedora or Ubuntu provide these days to justify letting devs and admins retrain themselves on FreeBSD during onboarding.
Post reply on HN