Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×
BSD Operating Systems

FreeBSD, Stealthy Open Source Project 291

zam4ever writes "Sean Michael Kerner has written an article on how FreeBSD has become a Stealth-Growth Open Source Project with various reasons outlined for FreeBSD's growth over the last years."
This discussion has been archived. No new comments can be posted.

FreeBSD, Stealthy Open Source Project

Comments Filter:
  • Re:Odd... (Score:1, Informative)

    by Anonymous Coward on Monday June 14, 2004 @08:17AM (#9418694)
    I bet Netcraft doesn't rely on those uptime statistics, but rather polls and does OS fingerprinting.
  • Re:Odd... (Score:4, Informative)

    by KennethSundby ( 723521 ) <sundby&kennethism,org> on Monday June 14, 2004 @08:21AM (#9418712) Homepage Journal
    FreeBSD is used on over 95 of the top 100 servers (greatest average uptime)
    While that is true, it is not because they have the greatest uptime. They merely have the best uptime-code =) (I am not advocating either over the other.)
  • by B747SP ( 179471 ) <slashdot@selfabusedelephant.com> on Monday June 14, 2004 @08:23AM (#9418723)
    There was a write up on slashdot a while back, don't remember enough to search it, but someone did a bunch of tests on a range of *nix OSes and, interestingly, *BSD got pretty well pasted (by a flavour of Linux) in some of the tests. That surprised me, because Linux is not something that I've ever regarded as being reliable, stable, or up to taking a beating (though my regard (or lack thereof) for Linux is probably more religous than factual - I've been a Daemon worshipper since the beginning of time).

    The tests were more 'tests' than 'real world'... create a million files and delete them, generate a million big numbers, shuffle great gobs of stuff around in memory, spawn/fork a million processes, etc, etc, etc. The BSDs took a shocking beating.

    On the other hand, the BSDs, and FreeBSD in particular shows up in a *lot* of large and heavy duty installations, so maybe the tests weren't representative of the real world?

  • Re:Odd... (Score:3, Informative)

    by supersnail ( 106701 ) on Monday June 14, 2004 @08:42AM (#9418808)
    "but rather polls and does OS fingerpinting"

    Netcraft queries uptime on servers periodicaly and uses fingerprinting to identify the OS.

  • by Anonymous Coward on Monday June 14, 2004 @08:44AM (#9418822)
    It is not "based" on FreeBSD. It incorporates much of FreeBSD here and there, (and NetBSD as well). It's atleast more "based" on mach than
    FreeBSD. And no, Netcraft reports OSX as .. OSX.
  • Enterprise Load (Score:5, Informative)

    by anacleto ( 786742 ) on Monday June 14, 2004 @08:56AM (#9418885)
    I have several corporate systems consisting of Sun E10k hosts, Linux, and FreeBSD systems. In my experience, FreeBSD performs very well under heavy load, on par with Solaris and slightly better than Linux. Not that I'm downing Linux; Each OS has strengths and weaknesses, but the author seemed to indicate that FreeBSD was not suitable for corporate use and I believe that it is.
  • Re:FreeBSD is Undead (Score:1, Informative)

    by Secrity ( 742221 ) on Monday June 14, 2004 @08:59AM (#9418906)
    Some just don't talk much about using FreeBSD. I myself admin boxes for a large ISP that runs Solaris on enterprise production boxes. I run FreeBSD on several non-enterprise production servers. I have also tried several Linux distros and run some of them to test dialer support and I still don't like Linux for some reason. FreeBSD is more stable for one thing, and the ports system runs rings around the various Linux package systems. I find it frustrating when an RPM package refuses to install because I have a library or other dependancy that is a LATER version than the one that the package wants. Ports just seems to iron all that crap out for me.
  • by thue ( 121682 ) on Monday June 14, 2004 @08:59AM (#9418909) Homepage
    I assume you are talking about this: Benchmarking BSD and Linux [bulk.fefe.de] from this slashdot story [slashdot.org]. Linux 2.6 is the clear winner in all almost all tests.

    (The trick for finding it was to use google instead of slashdot search. This search [google.com] found it at once.)
  • by Anonymous Coward on Monday June 14, 2004 @09:13AM (#9418986)
    The trick for finding it was to use google instead of slashdot search.

    I wouldn't think that's a ``trick.'' Slashdot search has proven itself to be entirely useless for any purpose.
  • by rsidd ( 6328 ) on Monday June 14, 2004 @09:15AM (#9419000)
    Where Linux does badly is in "out of memory" situations. I doubt a load average of 7 will, by itself, kill any system, but I've seen Linux boxes become unusable because of memory leaks -- hard reboot required, or equally bad, eventually some random processes get killed that bring the machine back up but all those processes have to be restarted by hand. Ditto if all those processes contributing to the load average of 7 required a huge chunk of memory. FreeBSD shines in this situation. If you configure enough swap space, it will usually get through somehow, if not, it will kill the offending process but not butcher the system.
  • by cpghost ( 719344 ) on Monday June 14, 2004 @09:27AM (#9419102) Homepage

    it uses a much more monolithic kernel than Linux, making it lose some flexibility

    Wrong. FreeBSD uses KLD modules just as extensively as Linux.

    You wouldn't really want to use FreeBSD for an embedded system

    I'm using FreeBSD on Soekris [soekris.com] net4801 boxes as router/postfix/imap/http/... low-power ADSL appliance.

  • by TheRaven64 ( 641858 ) on Monday June 14, 2004 @09:29AM (#9419126) Journal
    Troll. FreeBSD has Java support [freebsd.org]. I think you still have to download the source from Sun and put it into /usr/ports/distfiles before you can install the port due to licensing restrictions, but it does work.

    I don't believe (although I could well be wrong. Please correct me if I am) that it uses the new KSE in the 5.x branch, so it's still slower than on other platforms for multithreaded things.

  • by the chao goes mu ( 700713 ) on Monday June 14, 2004 @09:35AM (#9419179)
    My experience from load testing a few years ago was that linux's biggest problem was properly closing/destroying sockets after they were no longer needed. BSD cleaned up very quickly even with thousands of connections, while Linux (Red Hat 8 Beta) and Solaris 2.6 had serious problems and ran out of fd's after a while.
  • by harikiri ( 211017 ) on Monday June 14, 2004 @09:38AM (#9419211)
    Nvidia has FreeBSD drivers available [nvidia.com]. However for ATI drivers, there still remains a need for people to visit the Linux Driver feedback page [ati.com] and ask for FreeBSD support.

    As both a FreeBSD user and Gentoo user, I think the best description would be that Gentoo is BSD for Linux users. As a humourous aside, some friends have also started describing Gentoo as "ricenix: 2Fast2Optimized". ;-)

    Gentoo is laid out fairly logically (no idea if it follows the Linux Standards Base [linuxbase.org] though). The main benefit is the total control you gain over your installation - much like you gain with BSD (hence, BSD for Linux users). Though it is achieved through the remarkable Portage [gentoo.org] package management system, vs FreeBSD which is a wholly maintained o/s, with a very large [freebsd.org] "ports" system.

    The only thing that keeps me from using FreeBSD on my workstation is that I do play some games on Linux, and write software [mod3.net] to support game playing on a local Australian gaming network. For those that don't need the fluff that's supported on Linux (games being a primary example), almost everything else is available under FreeBSD. But to save you extra work, Gentoo is probably the way to go (easy to manage once installed through portage).

  • by LizardKing ( 5245 ) on Monday June 14, 2004 @09:40AM (#9419225)

    I had high hopes that Apple would contribute back to the community, but I don't think that has materialized like I had hoped.

    Mac OS X uses the Mach kernel with a FreeBSD layer above it. This means that much of Apples work on the Mach kernel is irrelevant to FreeBSD. Mach is a microkernel, which was of course derived from BSD Unix, but it was forked so long ago that few similarities remain.

    As far as stability and consistancey goes, only Debian-Stable approaches BSD

    The BSD's also benefit from being a complete system, not a kernel with various userland stuff slapped together into 1001 distributions. This means that users running the development versions are using the same userland as the developers, and bugs can be shaken out far quicker.

    Chris

  • by cpghost ( 719344 ) on Monday June 14, 2004 @09:54AM (#9419358) Homepage

    It's not about how small the kernel image gets, but how much RAM it typically uses. The net4801 is a rather powerful box with 128 MB RAM. You can easily fit a FreeBSD base system on a 512 MB CF card and operate without the need for swap. A stripped down kernel would take approx. 2.5 MB diskspace, but you can tune it down to nearly 800k if you really must. BTW, you can put a small Linux system on that box just the same. It just happens hat I used 5.2.1 because it supports PXE booting and network install out of the box.

  • by ckd ( 72611 ) on Monday June 14, 2004 @10:01AM (#9419411) Homepage

    The article ignores the biggest obstacle that *BSD faced in its early days, which gave Linux a big head start: the AT&T lawsuit.

    The FUD was flying and unlike today's situation with the SCO attacks, the open source model was not well known, and the idea of a free *BSD was not as established as Linux is today. The suit was eventually taken care of (AT&T had violated UCB's license terms, heh, heh) but the damage to *BSD's momentum was done, and Linux had taken a mindshare lead.

  • by mzs ( 595629 ) on Monday June 14, 2004 @02:38PM (#9422316)
    Here is a choice quote:

    This mmap graph is the only part of the whole benchmark suite where FreeBSD did not perform top notch. If the FreeBSD people fix this one dark spot, they will share the top space with Linux 2.6.

    Also if you notice the The socket benchmark, FreeBSD was optimized for when a process allocates in excess of 3500 sockets. Also in Measuring HTTP request latency you can see that there is optimization for when there have been in excess of 4000 requests. These types of clever optimizations are what sets FreeBSD apart.

    Also keep in mind that absolute magnitude is not what is really important in these test results. The idea is that if your software scales well, you just get enough hardware to handle what you expect as worst case. The nice thing is that FreeBSD has some optimizations that are directed for scaling even better under some particular high load cases.

    I would not say from these tests that FreeBSD performed much worse than Linux. In fact mmap syscalls are not actually used much except for mapping in dynamic libraries on many server type loads.

  • by Brandybuck ( 704397 ) on Monday June 14, 2004 @03:06PM (#9422614) Homepage Journal
    That quote seems to imply that FreeBSD does not have a POSIX thread library. This is simply not true, and has not been true for years.
  • by r00t ( 33219 ) on Monday June 14, 2004 @04:15PM (#9423232) Journal
    The names match. The code never did. Alan Cox once
    asked Berkeley to use the BSD code under the GPL
    and was turned down. Thus, the BSD code could not
    be used.

    It's obvious if you look at the old code. BSD has
    a VAX heratage, where pages were 512 bytes and
    memory was costly. Thus BSD used the mbuf, with a
    linked list of little memory blocks. Linux used the
    skbuf, which involved a nice linear chunk of memory
    for better performance on a PC.

  • by cpeterso ( 19082 ) on Monday June 14, 2004 @04:30PM (#9423346) Homepage

    Mac OS X uses the Mach kernel with a FreeBSD layer above it. This means that much of Apples work on the Mach kernel is irrelevant to FreeBSD. Mach is a microkernel, which was of course derived from BSD Unix, but it was forked so long ago that few similarities remain.

    Technically, Mac OS X's "xnu" kernel is not a microkernel with a BSD server process. The BSD emulation runs within the kernel address space for better performance.
  • grandparent post:
    As far as stability and consistancey goes, only Debian-Stable approaches BSD

    parent post:
    The BSD's also benefit from being a complete system, not a kernel with various userland stuff slapped together into 1001 distributions. This means that users running the development versions are using the same userland as the developers, and bugs can be shaken out far quicker.

    It's odd that you'd point that out as a difference from Debian-Stable, since that's exactly what the Debian project, especially the stable distribution, does.
  • Re:Odd... (Score:2, Informative)

    by jjgm ( 663044 ) on Thursday June 17, 2004 @06:25PM (#9457506)
    Official, Sun-approved BSD Java is available right now [freebsdfoundation.org].

"When the going gets tough, the tough get empirical." -- Jon Carroll

Working...