Slashdot Mirror


Why FreeBSD

An anonymous reader writes "The FreeBSD operating system is the unknown giant among free operating systems. Starting out from the 386BSD project, it is an extremely fast UNIX-like operating system mostly for the Intel chip and its clones. In many ways, FreeBSD has always been the operating system that GNU/Linux-based operating systems should have been. It runs on out-of-date Intel machines and 64-bit AMD chips, and it serves terabytes of files a day on some of the largest file servers on earth."

23 of 644 comments (clear)

  1. Why? by Doc+Squidly · · Score: 5, Insightful

    Simple, choice is good. As muck as I like Linux, I'm glad to see that there are viable, open alternative OS's.

    --
    I think I think, therefore I think I am.
    1. Re:Why? by Pharmboy · · Score: 3, Insightful

      If IBM thinks FreeBSD is so incredibly awesome, then why are they shipping all of their server equipment with Linux?

      I suspect there is a VERY good reason for this: GPL

      IBM has made it clear they want to be a hardware and services company, not an OS company. They won't even endorse a single distro of Linux, even tho they are arguably the largest contributor to GNU/GPL.

      So why Linux? BSD software can be closed sourced (Like OS/X's really goodies) but GPL can't. If IBM can't make a successful operating system (and they can't, even tho I loved os/2) then they want to push an operating system that no one can own. Not Microsoft, no one.

      If IBM helped create a killer FreeBSD derived system, MS could take the code, close the source up and call it "Windows Hasta la Vista" and market it, because the BSD license allows this. This is one of the downsides of the "unlimited" freedom of the BSD license.

      They can likely provide exceptional service for Linux (and Unix) systems because they helped write a good part of the code, and no one can close the source up on them.

      So they say "fuck it, lets help with GNU/Linux, no one can close it up, we will be the experts, our hardware will always run super fast with it because we will create our own kernel hacks for it. We can make it pretty much like Unix, without the hassles of licensing."

      --
      Tequila: It's not just for breakfast anymore!
  2. FreeBSD by JeiFuRi · · Score: 3, Insightful

    Don't ask why, ask why not.

    1. Re:FreeBSD by larkost · · Score: 5, Insightful

      I disagree with much of what you said:

      The Ports system is far superior to the rpm system. It actually tracks dependancies, and has a system to grab them for you. You are way off base on that statement.

      FreeBSD is a full OS. I have no idea what you mean by your statement.

      Yes, compiling from source does take a long time. Have you tried the pre-compiled package system? Same dependancy tracking but with pre-compiled binaries?

      FreeBSD has the best documentation of any of the unix-like OS's that I have found. The handbook covers lots of cases.

      FreeBSD also has softupdates... very much like Journaling. And that is on by default through the auto command in the installer.

      And I think you are missing the point of FreeBSD, it is a server OS... I think most of your complaints come from the fact that there is no GUI by default. This is because you don't usually sit on the console on FreeBSD servers.

    2. Re:FreeBSD by rubycodez · · Score: 5, Insightful

      since I love both, I'll jump right in and give plus and minus to both FreeBSD and your friendly Linux distro of choice:

      1. drivers: more devices supported in the Linux world
      2. install: bsd install still primative, and disk partitioning is weird especially for novice, and multiple boot can be hard to set up
      3. smp - scaling: 5.x freebsd is still having trouble with its spinlocks, and can still sieze up under heavy load (4.x version with giant lock doesn't have this problem). The core issue is that the freebsd folks don't seem to realize releasing locks in the same order they are applied makes things easy, while what they are doing can make trouble. This is why I use 4. in production.
      4. filesystem - ext3 and reiserfs can get into inconsistent unrecoverable state, pure and simple. XFS and maybe some other Linux filesystems don't have that problem.
      5. Linux GPL great for some things and horrible for others, BSD license ditto.
      6. startup scripts easier to understand in BSD, getting pretty hairy in some Linux distros. My favorite commercial distro SuSE and RedHat are really getting tangled.
      7. More Enterprise software available (and supported) on Linux, maybe not a big deal unless you're in big SAN environment or absolutely MUST use Oracle and such. I'm betting though you'll see more stuff popping up for Debian and friends now that Debian has bounded back into life.

  3. Flaimbait by DemENtoR · · Score: 5, Insightful

    "FreeBSD has always been the operating system that GNU/Linux-based operating systems should have been."
    Can it get anymore flaimbaitish than this. Ironicaly enought it comes from I.B.M developer works.

    P.S: Opinions are like assholes, everyone has one.

  4. News? by N3TW4LK3R · · Score: 3, Insightful

    Exactly how is this news?

    I've know that FreeBSD was much better than Linux for ages ;)

    Joking aside, FreeBSD is a bit hard to install and get working if you're using it as a workstation OS...
    I've been using it for 4 years now and it still took most of my free time in a period of 2 weeks to get it installed properly on my newly bought laptop (with all the details and little stuff, that is)
    Of course when I was done, it was very much worth it. I don't think any system is as robust and stable as FreeBSD.

    A huge "Thank You" to the developers!

  5. FreeBSD is free'er, MacOS X better for users by AHumbleOpinion · · Score: 4, Insightful

    freebsd is dying as is macos x and windows. The future is Linux. The future is Free.

    FreeBSD is free'er than Linux, or more accurately the BSD license is free'er than the GPL. That said, the less free GPL's restrictions are meant to be benevolent for certain users.

    Mac OS X's share is growing wildly. For some it is replacing Linux as their general purpose unix. Now some people have more specialized needs and Linux may be a better choice but many folks using Linux just need a general purpose unix box and are not into the politics and Mac OS X combines unix, a consumer GUI, FOS software, and off-the-shelf retail software very nicely.

  6. Goes both ways by plasticsquirrel · · Score: 5, Insightful

    One could also argue that Linux is what FreeBSD should have been, and cite the huge number of supercomputers using Linux, or the success of Linux on the mainframe. However, it would be nice if the poster realized that it's a pissing contest and both operating systems are impressive and have their uses, benefits, and drawbacks. Neither is what one "should have been". They both have their own, very different methodologies, so let's leave it at that.

    Not that it's news anyways...

    --
    Systemd: the PulseAudio of init systems
  7. There's a lot to like by confusion · · Score: 5, Insightful

    I've admin'd most every flavor of Unix at some point in my life and I really really like how FreeBSD is managed, from development to the ports tree.

    Now that there is a push to support binary updates, my last major complaint has been addressed.

    Anyone who has ever been stuck in the perl dependancy hell will absolutely love the ports tree - I really don't understand why there hasn't been more adoption of that concept in Linux.

    Also, I am suprised that Linux is the platform of choice for all of these appliances that companies are pumping out, like wireless routers, security devices, etc, when the BSD license is so much more attractive to business.

    The major stumbling block that FreeBSD has left is their development team. It seems like the way things are organized really creates a lot of opportunity for personality clashes.

    Jerry
    http://www.cyvin.org/

  8. Re:Linux And The BSDs by cheesybagel · · Score: 4, Insightful

    Neither FreeBSD, nor OpenBSD scale as well on large SMP systems as Linux. Period. OpenBSD may have more security features and FreeBSD may have its own strong point, but scalability sure as heck isn't one of them.

  9. Is release 5 stable yet? by bofar · · Score: 5, Insightful

    I work at a large internet organization that runs thousands of FreeBSD systems. When we need 64-bit though, we switch to Linux because it has a stable 64-bit distribution and FreeBSD does not. I've gone through all the kudo's about FreeBSD being stable, but are you using release 5? and are you using 64-bit? (and don't even get me started about threading support.)

  10. Re:Seriously. by ebuck · · Score: 5, Insightful

    Look, it's a giant troll posting thinly disguised as a news article!

    BSD is great, but it's not the only game in town. Suggesting that it is what Linux should have been is nothing more than troll bait.

  11. Re:FreeBSD is nice and clean by HyperChicken · · Score: 3, Insightful

    If you're looking for something close to the style of FreeBSD, but with the new and freshness of Linux, try Gentoo.

    Great idea, sir! Spend 6+ hours compiling something. Hooray!

    Then again, you could have just installed FreeBSD and saved yourself 5.5 hours.

    --
    Free of Flash! Free of Flash!
  12. Re:Silly Question by TeknoHog · · Score: 3, Insightful
    ...but why isn't this in the BSD section?

    I think it's because the BSD section is intended for BSD users, whereas this article is intended for non-BSD Unix users.

    --
    Escher was the first MC and Giger invented the HR department.
  13. Re:Linux And The BSDs by SA+Stevens · · Score: 4, Insightful

    Linux only scales well on said 'large SMP systems' where there has been a tremendous amount of hand-holding by the vendors of said hardware.

    I'm having good experiences running NetBSD on a quad CPU server here, but you didn't mention NetBSD...

    And I know that isn't necessarily a 'large SMP system.'

    Frankly, who *cares* what proprietary vendors are able to twist Linux into doing on their specific hardware? They could do the same thing with any OS they focused on.

  14. Bzzzt... by Phil+John · · Score: 3, Insightful

    ...not so fast there sparky, a common misconception.

    You are right in thinking that the true "guts" of the kernel is mach, however, it's only really used for the very very low level stuff and message passing, the rest of the system is provided by a BSD server for mach that takes care of 90% of the system duties. What apple have created is a bit of a bastard child of a microkernel and a monolithic kernel.

    --
    I am NaN
  15. Re:Linux And The BSDs by NutscrapeSucks · · Score: 3, Insightful

    Yes but there is the licenses issue. BSD style licenses vs the GPL. At least for companies to use the OS with there products.

    Just as a factual matter, Linux and GPL software have recieved about 10^6 more corporate support than BSD-licenced software in recent years. The GPL has proven to be a very corporate-friendly license because it allows copyright holders to share their code without giving away the 'exploitation rights'.

    Plus, I think you could argue that the big exception (Apple), was driven more by technical reasons than licensing ones. They started with an 1980s BSD-based OS, so FreeBSD code was a better fit. If OS X was a clean slate, who knows?

    --
    Whenever I hear the word 'Innovation', I reach for my pistol.
  16. Re:Linux And The BSDs by NutscrapeSucks · · Score: 3, Insightful

    I see no need to pit them against each other, as they both provide freedom and excellence to the user.

    FreeBSD has a bit of an identity crisis, they sorta see themselves as "Linux Junior", with a chip on their shoulders. Which is why every single pro-BSD article is basically a comparison to Linux.

    If you look at how Linux has been positioned and marketed, they've never felt the need to "eat their own" and convert FreeBSD users. At least not in the last 10 years.

    Linux has always been positioned for "world domination" -- first they convinced UNIX/RISC systems to convert, then scientific systems, then embedded systems, and now they are working on Windows systems. Whether it's Java/J2EE, or Oracle, or ERP, or StarOffice, Linux finds a way into a market. These are all new customers.

    Meanwhile FreeBSDers sit back and look at the load-average on their sendmail servers and then wonder why the world isn't knocking on their door . Rather than define themselves somehow, they respond by nipping at Linux's heels.

    --
    Whenever I hear the word 'Innovation', I reach for my pistol.
  17. Kernel performance by foonf · · Score: 4, Insightful

    If you want to seriously compare two open-source Unix-like systems, the only instrinsic difference is the kernel. Arguing that one system is better because of the default configuration of network services, the package system, the organization of the rc scripts, and so on, is a red herring, because there is no reason you can't take all of the userspace from one system and run it on top of the kernel from the other -- and there are projects which do this.

    In that light, these benchmarks are the most enlightening comparison I have seen to date. Some BSD users have attacked the methodology, but none of them has gone on to do alternative tests of their own, and the author has been very conscientious about addressing some of the criticism. The bottom line is that FreeBSD is, whichever version you choose, at best equal to Linux in low-level kernel performance, and usually slower.

    When you also take into account the greater ease of use of most common Linux distributions, broader hardware support, greater availability of commercial software (yes, you may be able to run it under FreeBSD's Linux emulation layer, but the vendor is unlikely to officially support that, which matters to large corporations), and better scalability, it really isn't suprising that most people considering a free Unix-like operating system choose some distribution of Linux.

    Undoubtedly for a long time, perhaps until the 2.4 kernel came out, FreeBSD probably was superior, and had a well-deserved reputation as a better choice for serious usage. For some purposes (there are some routing benchmarks that FreeBSD people always bring up, which I can't find right now) it may still be. But through some combination of the AT&T lawsuit, media coverage, and pure chance (licensing may also have played a part), the commercial support and developer mindshare swung decisively to the Linux kernel, and today it is clearly the best choice for most uses. We can wonder what would have happened if FreeBSD had won out instead -- the resulting kernel might very well be better than either Linux or FreeBSD is today -- but that doesn't change the facts about which is the better choice today.

    --

    "(Man) tries to live his own life as if he were telling a story. But you have to choose: live or tell." --Sartre
  18. Re:OpenBSD by TheRaven64 · · Score: 3, Insightful

    Security is a big point for OpenBSD, but I would consider the documentation and the ease of administration as being bigger points. OpenBSD has a very minimalist approach, which translates to being very simple to learn and run. It also has the policy that any commit to CVS that changes the user-visible behaviour of any part of the base system must also include an update to the man pages. FreeBSD doesn't do this - something that stung me when they changed the interface to Project Evil between 5.3 and 5.4.

    --
    I am TheRaven on Soylent News
  19. Why FreeBSD is not good for most businesses by Punk+Walrus · · Score: 4, Insightful
    I work in a former FreeBSD office. I say "former" because we are in the long process of uprooting a lot of FreeBSD architecture a previous admin forced upon us.

    I am not going to get into which OS "is better" because actual performance is not the issue here. If I had to rate what I saw, FreeBSD (4.1x) worked okay for the hardware it was put on, although it probably would have worked better on a "stock install" than the kludged clusterfuck that we deal with now.

    The background is this: a few years ago, the small company I worked for had two admins who were FreeBSD fanatics. They pressured the IT department to use FreeBSD because it was free, their Windows infrastructure was taxed, and they had just bought a whole lot of new hardware. The pressured FreeBSD over Redhat, and made an impressive demo. So the company started going to FreeBSD. The admins, who had impressive mod skills, "tuned and tweaked" FreeBSD to work under the specific loads of the various server functions.

    This would have been a good situation to be in, but then one of them got lazy, and updates got further and further behind. The other quit. The lazy one got fired. The other admins didn't know FreeBSD and barely knew Linux. Both of them eventually quit, too. I don't blame FreeBSD for the personnel problems, but this is leading to the main problem.

    The company searched for someone with FreeBSD experience. The few people they found were not the kind of people they were looking for (inexperienced, would not pass clearance, had poor work records), and now they were stuck with a rapidly aging system that wasn't supported by anyone who had a clue. The new admins they hired tried to match the previous admin's skills, but were spending so much time diagnosing crashes, they didn't have time to learn new FreeBSD skills via online sources, which are sparse, confused, unorganized, and unsupportive (don't flame me on this, because this is pretty much the opinion of the whole company). And finding corporate-level supported software and hardware to run on FreeBSD was next to impossible ("We don't support FreeBSD for our fiber channel cards," says a SAN company desperate for our business, "but we hear some guy in the Netherlands had a flaky beta driver that can see things as long as the partitions are less than 256 GB." then the Sourceforge project hasn't been updated since 2002, doesn't work on our kernel version, and the guy's website is 404...)

    So they decided to go with Redhat Linux. It just works. It worked faster than FreeBSD. It had an easy-to understand packaging and script-driven administration system, corporate support, and better yet: they could find LOTS people skilled in Redhat Linux in resumes. I was a particular gem because when the hired me I was an RHCT and had experience with OpenBSD and FreeBSD experience to boot. My first project was "Get us off FreeBSD!!!" by direct order. Yes, you could argue this is not a FreeBSD issue at all, but some management of people issue, and you would be right, and that is my exact point.

    If FreeBSD had a sensible corporate base, a well-thought out directory structure (I have boot scripts in /etc and /usr/local/etc... and have you ever had to diagnose which one broke?), better hardware/software vendor support, and a huge skills base, maybe with some certs... THEN we will see true competition with Linux in the corporate sector. Redhat is the type of company businesses want. They understand the support language Redhat speaks. And maybe I'll see stats that the Redhat kernel is bloated, runs 20% slower the what FreeBSD does on Apache pulls, or some fanatic going on about, "Oh yeah? What about PORTS, dumbass???" But you know what? If FreeBSD wants to be taken out of the hobbyist corner and shine in the corporate arena... it's got a lot of marketing work to do.

    1. Re:Why FreeBSD is not good for most businesses by argent · · Score: 5, Insightful

      The company searched for someone with FreeBSD experience.

      That was a mistake. They should have earched for someone with mainstream UNIX experience. Anyone who's familiar with any commercial UNIX... Solaris, AIX, HPUX, whatever... will find FreeBSD a familiar environment. The details are different, but the BSD environment is baked into the genes of every commercial UNIX out there.

      And there's lots of people who know UNIX who can pick up FreeBSD far far quicker than they can pick up Linux.

      For example...

      If FreeBSD had [...] a well-thought out directory structure (I have boot scripts in /etc and /usr/local/etc... and have you ever had to diagnose which one broke?),

      That is a well-thought-out directory structure. You have the operating system, a fixed core that's evolved only gradually over the past 15 years, and add-on packages. You upgrade the OS, your packages don't get touched. You upgrade a package, the OS doesn't get touched. And your oldschool SunOS guys? They'll have no problem diagnosing which one broke.

      I've used Red Hat versions since 2.1. Every major version has had a completely different structure. You don't have any border between the OS and add-ons, so when you go to upgrade you have to take all-or-nothing. Over the short term I can see the advantage of Red Hat's model, but over the long term you've got to start over again and again and again.