Byte: FreeBSD vs Linux Revisited 401
Beerwolff writes: "This time I have remembered the link to the Byte article that's a follow-up to two of Moshe Bar's previous articles comparing FreeBSD and Linux--This time with the new Linux VM. His Apache "results show that Linux is better at handling I/O cache than FreeBSD, and that FreeBSD is more efficient at building up and tearing down processes."" As usual, please take benchmarks with a grain of salt, caveat emptor, look before you leap, and so forth.
Especially Salted (Score:5, Interesting)
In particular, be sure to read the very bottom of the article:
Before you fire up your e-mail program to contest the results or suggest some neat trick to get even more out of either the Linux benchmark server or the FreeBSD server, remember what I said at the beginning of this review: This was not a scientific benchmark in a professional benchmarking lab. All results are only valid within my own environment and you are certainly bound to see a different result on your machines. The benchmark was only about finding out how well Linux handles stress loads compared to FreeBSD, and I do not claim that one OS is better than the other one.
These aren't scientific. These are the results one person sees - and also note that the various problems presented to the servers give different results. FreeBSD and Linux both had strengths and weaknesses even in his tests.
The right tool for the right job. (Score:4, Informative)
Re:The right tool for the right job. (Score:2, Interesting)
Re:The right tool for the right job. (Score:2, Informative)
What would be awesome would be a linux distrib that has the same ease of upgrading that is possible with freebsd. Basically my
Uh huh, and how is this different for ports? (Score:3, Informative)
Debian comes close to this but in a much different way that is very top heavy in terms of people assembling packages, etc.
Care to go into detail on this, and exactly how it is top heavy compared to people having to maintain ports or system source? That stuff doesn't magically appear and keep itself fixed.
FreeBSD people can talk all they want about how easy it is to keep their stuff up to date, but frankly, it doesn't compare to apt-get in the ease of use department, not to mention the speed department on my crappy p100 NAT box that takes *forever* to cvsup and recompile a shit load of source. Course, on a beefy box that is less of a problem.
I like FreeBSD, but after using Debian, I wonder why I ever tolerated spending so much time updating my OS, GNU/Linux, FreeBSD, or otherwise.
Re:Uh huh, and how is this different for ports? (Score:2)
Just do:
cvsup -g -L 2 /etc/cvsupfile; portupgrade -a
Re:The right tool for the right job. (Score:2)
I also am under the impression that there are considerably more debs than ports -- the Debian homepage says 3950 packages, but I don't know if that's in stable, testing, or sid. There starts to be combinatorial difficulties to maintaining a system when you get a really large number of packages. And Debian pulls it off (while the RPM based distributions don't).
If Debian works in this area, it's really a matter of social structures, not technical ones. FreeBSD has a very different structure, which provides good stability but not the inclusiveness of Debian.
Re:The right tool for the right job. (Score:2)
Re:The right tool for the right job. (Score:2)
Slackware.
Uh... If you had half a brain you would realize that CVS is not package management.
Bad to feed the trolls but what the hell.
Re:The right tool for the right job. (Score:2)
Can you explain the problems you've run into or give examples?
I've been doing okay with Ports by using "make package" on a master machine (though upgrading packages has been hit-or-miss), but there's no equivalent mechanism for the core OS.
What about exporting the
As a sysadmin, I'd really rather have official binary packages for most OS updates. And while I understand the reasoning behind the separation of the base OS from the add-on packages, it has proven to be very inconvenient in the field.
I guess what it comes down to is there is no 100% ideal solution for every single person. I'm glad we have a lot of choices. What keeps you running FreeBSD?
Re:off-topic: Re:The right tool for the right job. (Score:2)
Admittedly, Jobs has discarded this market with OS X.
I suppose you could say (Score:2, Interesting)
(shurg) Very nice and interesting article anyone else care to verify or dispute the findings?
And a serious question; does linux and bsd scale well across various architectures?
I suppose if people get riled up about any comparison maybe there should be a catagory such as "from the benchmark or skidmark dept."
Heh.
Almost the same (Score:2, Interesting)
This is good.
Re:Almost the same (Score:2)
When examining bids from contractors/subcontractors on construction projects, an important consideration is "how close are the bids?". When the bids are close, it means the bidders are reading the bid documents the same way. When they diverge greatly, it means there is a lot of confusion about the scope of work.
Similarly here, I think that seeing the performance of these two OS's tracking so closely might indicate a corresponding agreement about how to approach various OS problems.
But I really have no idea. Is this true? I don't know anything about the finer details of how these two systems operate. How similar are they, really?
Agreed, its down to installers and tools. (Score:3, Insightful)
For 99% of the people here, the low-capacity applications they are discussing are going to operate identically on both platforms. Unless you are running AOL, Yhaoo, or Hotmail, you are not a corner case. Use whatever you like, it is not going to make one lick of difference in performance or stability.
Installers (Score:2, Interesting)
How come Debian has such a PITA installer? Mandrake was nice, however, OpenBSD and FreeBSD have mega-top notch installers. Easy to use, easy to configure, just say "go".
I've tried Debian three or four times before giving up... 2 years ago... about a year ago and last week...
Downloading the ISO for FreeBSD 4.4 was the hardest thing I did with that. (Still can't quite get my Linksys WPC11 card to talk to my AP but that's a different issue).
Re:Installers (Score:2)
Re:Installers (Score:2)
Give slackware a try. It's a nice, simple little distribution and the installer's pretty easy too.
Re:Installers (Score:3, Interesting)
Windows: Usually works very well. When it doesn't, you're screwed.
Red Hat: I installed 5.1 a few years ago on a partition-rich windows machine. I got X working, but I don't think I had a window manager installed, or if so, I was not informed of this. Regardless, it was useless. I managed to mount my windows partitions. This was very useful, because it enabled me to copy my bashrc to a windows partition, so I could boot into windows and create an alias setting ls to equal ls --color. If you're wondering why I did such a strange thing, I ask you how you would do with vi if you had no experience and nobody looking over your shoulder. I had to use Norton AntiVirus to remove lilo because it broke the CD player under windows. I'd launch into it from windows, read some man pages, try to get X to work, and give up. Then I got a girlfriend, and uncooperative OSs lost importance. I even had Windows 95 mostly stable.
I tried 7.0 several months ago, and had great difficulty because I was limited to 2 635 MB hard drives (what was laying around). I had gnome-games. Yay. I tried Debian on the same machine, but as my internet connection was a PPPoE DSL, I could never get a connection for apt-get. I'm told it can be done, but I was never told HOW it can be done. I checked the HOWTOs and couldn't find anything.
Debian: A friend helped me install it a few weeks ago, and I didn't get around to hooking it up until a week ago, because I was bogged down with work requiring windows software, and didn't yet have a hub. Last week I hooked it up. I liked it a lot. I wanted an IM/ICQ client. I tried building GAIM from source. It had a GTK+ dependency. I got GTK+, which needed GLIB. I got GLIB, but since they hadn't updated their changelog from 1.2.7 to 1.2.9 I got the wrong version, so GTK+ wouldn't build. I tried getting the right one. The multiple versions made my system very happy. My friend suggested I just apt-get it. I had already tried this, and he explained that I needed to get it from the unstable tree. I modified my sources.list to get unstable. I ran apt-get install gaim. This broke X. I tried changing back to stable and reverting, but couldn't get it to work. I removed X. For some reason, dpkg took the liberty of REMOVING GCC and associated development tools in the process. My machine was now completely fucked. I ran the installer again. I forgot to configure my ethernet card, so I needed to run it again. This required changing my boot order to boot from CD-ROM. I couldn't do this, because something in the installer had apparently mangled my BIOS so it wouldn't read keystrokes until the OS started booting. I did a jumper reset of the BIOS and it installed just fine. There was just one hitch though. While configuring the X server, I couldn't get the mouse to work. I tried various protocols, various device names, but nothing would work. The answer was right in front of my face: the refresh rate was defaulted to 0. WHAT KIND OF IDIOT DEFAULTS A MOUSE REFRESH RATE TO 0? It took a few hours of staring at this to realize something I hadn't really noticed because I considered it's misadjustment to be outside the realm of rational action, as I still do.
If FreeBSD is as easy as I'm hearing, I may try that out the next time Debian self-destructs.
Windows and Linux both suck. The difference is that Linux sucks twice as fast and 10 times more reliably, and since you have the source, it's your fault.
Re:Installers (Score:2)
*wipes tears from eyes*. Oh God. That made my day.
I use Linux for everything, and it seems you've had some awful luck. I agree that Debian is nice in some ways, but comes with the crappiest default config files of them all.
Re:Installers (Score:2)
You've had some bad luck, but isn't that how we all learn? (Hint from experience: stick to -unstable, or stick to -stable. Don't switch between the two.) Anyhow, give it another try; I'd hate to see you fall at the first (admittedly not the first, and pretty major) hurdle. And try Slackware.
Re:Installers (Score:2)
Dselect is the devil, pure and simple. Unfortunately most Debian newbies, especially the ones that RTFM, get stuck in it's clutches. The best way to install Debian is to install the base system, and then skip over the dselect garbage and go straight to using apt.
Re:Installers (Score:2)
Quit out right away. Use apt-cache to search for packages (like apt-cache search icq). Pay particular attention to the task- packages (try dpkg -l 'task-*'), which will install a bunch of things at once (like everything you need for gcc, etc).
I'm sure there's tools I don't know about myself, but that's the problem with Debian -- great things exist and you just don't know about them (like apt-cache, which I only learned about a couple months ago, but it's a wonderful tool)
Re:Installers (Score:2)
I made the switch (Score:2, Redundant)
who cares? (Score:3)
Slackware is clean, extremely simple, can be easily installed without all the unnecessary shit. It can also be installed with gnome, kde and enlightenment for the desktop. Makes it easier using the same system for servers and desktops... As for package management, I just build everything myself from source. Once you learn enough about the different packages you use all the time, there's no easier way to admin a server(depending on many factors of course, YMMV and all that).
Never even tried Debian... I'm sure apt-get is nice, but I have no use for it.
Re:who cares? (Score:2)
I'm not putting down Slack. Just wondering... It was my first distribution and I remember going from a.out to elf on it by myself (with a guide). It was a great experience.
You forgot Slackware (Score:2)
Debian is for overworked admins. If you're in a relaxed environment, running Slackware will teach you a lot about *nix that package management systems hide from you.
Re:I made the switch (Score:2)
Debian testing or unstable is great on my laptop and desktop machines. FreeBSD is great on my servers. It's a win win situation.
Be sure to cvsup to 4.4-CURRENT and make a custom kernel and buildworld (just noting this for other people considering FreeBSD) and also if you use IDE drives edit
hw.ata.atapi_dma=1
hw.ata.ata_dma=1
to enable DMA (have to reboot too)...
I could go on about how FreeBSD is simply less work than Debian to admin for a server (when you want current releases of apache, samba, etc) but I'd be preaching to the masses. Lets just say that you owe it to yourself to try both Debian and FreeBSD and see which you like better. Only you can make the right choice based on your needs...
For me it was FreeBSD.
An example: I'm upgrading a server from FreeBSD 4.0-RELEASE-CLIENT-2. It's a bit convoluted to get up to 4.4-STABLE but it can be done with cvsup and make. That's part of the beauty of FreeBSD...
Re:I made the switch (Score:2)
Ahhh! Sorry, that should be 4.4-STABLE! My bad...
Re:I made the switch (Score:2)
On the subject of DMA I believe that ata write caching (hw.ata.wc) was disabled in 4.3, but re-enabled again in 4.4. Partially as a result of getting hammered in benchmarks. I'd leave it off. Honestly. Turn softupdates on (much easier to do when installing afresh), and leave write caching off.
Not scientific, but I do remember there being some potential difficulties with using hw.ata.wc=1 and softupdates together.
Dave
Re:I made the switch (Score:2)
Well we are talking servers here... I think buildworld takes about 1.5 - 2 hours on my lowly 550 Mhz Celeron (100 Mhz FSB). I'm not sure how long the kernel takes but it isn't too bad... The whole point here is that when you have a co-located server it is easy to upgrade without having to go burn an ISO. Or even if the server is at work and you are at home or in another location. It's just handy and practically essential no matter what it's l33tness rating is...
On the subject of DMA I believe that ata write caching (hw.ata.wc) was disabled in 4.3, but re-enabled again in 4.4. Partially as a result of getting hammered in benchmarks. I'd leave it off. Honestly. Turn softupdates on (much easier to do when installing afresh), and leave write caching off.
I have both softupdates and write caching on at the moment. I think I'll give it a good test run because the server in question is not in production. Everything seems to be cranking along ok...
Not scientific, but I do remember there being some potential difficulties with using hw.ata.wc=1 and softupdates together.
Supposedly this is fixed now but good thing to keep in mind...
Re:I made the switch (Score:2)
Simply put, be real careful and research it a bit before making the decision. It's a big perf. improvement but I hesitate to take the risk on a server.
Re:I made the switch (Score:2)
just building a custom kernel takes about 15 minutes on my bastion box... which is running 3.4, and is a P133.
buildworld is much, much bigger :)
Re:I made the switch (Score:2)
If Debian could get stable releases out the door every 6 months (or god, dear we imagine 3 months) I doubt we would be having this conversation. Two+ years for a stable release is a bit much... I'm not willing to run testing or unstable on servers. For me the FreeBSD way of doing things just fits better...
This is for servers. Desktops are another story...
Re:I made the switch (Score:2, Troll)
Re:I made the switch (Score:2)
God forbid that a linux user would want everything to work without having to configure anything. But seriously, how hard is it to select only the packages you want installed? Duh.
Re:I made the switch (Score:2)
I want my installer to only have the most minimal set of packages to install (kernel, shell, libs) and then let me add on the individual packages I need (compiler, tools, etc). I guarantee that would take a whole helluva lot less time than selecting the packages that I don't need.
Re:I made the switch (Score:2)
It's very hard. Select a package by mistake when all you're trying to do is read the description. So go unselect that package. No go find the 144 dependencies that got selected without telling you. Now go find all of their dependencies. All without going blind on their yellow/purple color scheme.
Re:I made the switch (Score:3, Insightful)
Read:
Those who want their operating system to work as it should when they install it.
Yes, there are arguments against running Mandrake (stability maybe) But not using it because it works doesn't make sense.
"Yea, I tried Mandrake, but it worked too good... I switched to [insert distro here] so that I could spend hours trying to get every piece of my hardware working correctly."
Re:I made the switch (Score:2)
and that's the reason you wouldn't recommend it? what sort of admin does a default install of anything? are you installing a mail server? a file server? database? DNS? you've always gotta do some customisation, and when you do, mandrake is no more bloated than any of the other distros.
Re:I made the switch (Score:2)
On a server (or on any machine in fact) you want to minimize the number of services running, suid binaries, and so on. But why should there be any problem having ordinary, non-suid files lying around the filesystem?
If your system security is adversely affected by having a copy of same-gnome installed then you have bigger problems than worrying about 'bloat'.
Re:I made the switch (Score:2)
I'm not so sure this is exactly a Mandrake problem, so much as an "idiot proof" installer problem. Which effectivly means the installer (and package manage) is making assumptions about how the system will be used. Which then end up clashing badly with how the machine actually is going to be used. You can find other examples of problem packaging. e.g. later versions of SuSE insiting on installing modem and ISDN tools on machines which only have ethernet cards.
Try Slackware 8 (Score:2, Insightful)
And with Slackware, you'll get the extra drivers and hardware up-to-dateness that Linux offers -- the one place where *BSD really suffers, especially for desktop or small server applications. That's my FreeBSD horror story... trying to install it on modern (Athlon+AGP graphics) hardware and on my Thinkpad.
Re:Try Slackware 8 (Score:2)
Re:I made the switch (Score:2)
The only mild annoyance (not horrible) I find with FreeBSD on white-box hardware is that device driver support for random hardware isn't as good as Linux; it appears that you were using well selected hardware (as everyone should be for production purposes!) rather than the cheapest thing you money could buy.
The BSD ports system is also kept more up to date than stable Debian packages.
Re:I made the switch (Score:2)
Slackware is more do-it-yourself than FreeBSD is, it seems to me. I don't know what the other BSDs are like -- maybe they are more like Slackware.
Building from source tarballs is okay, especially when you have a very limited set of functions and only a handful of user accounts. But if you want a richer environment and/or you want to have other users (who may not be entirely trusted), it seems like a lot of effort. A good packaging system -- be it binary or with source -- saves a ton of time.
I was just recently talking with someone who was firmly convinced that you couldn't do a decent job of administering a server without spending 10 hours a week on the server. I think he was stuck in the past -- at least for a simple server, dedicated to a few stable functions (like email or web hosting), it hardly takes any time at all to keep a good OS working. I think that guy just isn't familiar with modern OSes and distributions. Old school just isn't efficient.
Re:I made the switch (Score:2)
FreeBSD ports are precompiled, at least on the i386 platform. Not enough people use FreeBSD for Alpha to justify precompiling the ports for it.
The best thing... (Score:3, Insightful)
Re:The best thing... (Score:2, Interesting)
--MonMotha
BSD vs Linux (Score:2)
I think that Linux and FreeBSD will continue to help eachother. It does seem to be true that in some applications, FreeBSD is losing to Linux, but this is happening very slowly and could easily reverse itself. The real losers to Linux are proprietary UNIX operating systems like Solaris and AIX which now more than ever have to justify their value.
I have said before that I think that Linux will "shield" FreeBSD from the proprietary UNIX OS's. In fact many people I know in the Linux community are fascinated by FreeBSD and so Linux's rise may well benefit both AND result in more portable programming.
I'll tell you in Newspeak (Score:2, Funny)
stop immediate currentaction
suggest doublepluswhack head
suggest RMS doublepluswhack head
Just do it (Score:2)
For some perspective... (Score:2, Troll)
Linux Vs BSD (Score:2, Informative)
I'm waiting for the linux powered toilet brush, personally. I'd just hope that these people who are pumping their servers full of linux goodness don't do it just because the hype is there, they really need to get more information BOTH BSD & Linux, besides benchmarks with sendmail and what not.
Linux is not the only Microsoft alternative.
Re:Linux Vs BSD (Score:2, Insightful)
Holy bat guano (Score:5, Interesting)
Jeez, I won't even set it that low for my personal machine. For the purposes of this kind of benchmark, I would have at least started with 128. If you want to be fair in I/O benchmarks, have BOTH machines mount the filesystems asynch. If you're going to do a comparison, at least compare apples to apples. Softupdates rocks, but I still think async is going to be faster.
Re:Holy bat guano (Score:2)
I know, incredible isn't it, below what even the generic kernel ships with. But I think FreeBSD has some problems with MAXUSERS, in that nobody knows what the hell it's for. I believe that as of 4.4 all the parameters that were previously dependent on MAXUSERS are now boot time programmable. Although what they are and some ideal values is news to me. Guess I had better go do some more reading - tuning(5) IIRC.
Dave
Re:Holy bat guano (Score:2)
MAXUSERS is explained perfectly reasonably in the Handbook.
Also, the things in the kernel it tweaks have been user-rewritable for some time now.
Re:Holy bat guano (Score:2)
He probably just assumed that the settings in LINT were the default settings, and copied them over.
(unless he based his config off of LINT rather than GENERIC - but would that even boot? I've never tried it...)
Re:Holy bat guano (Score:2)
Re:Holy bat guano (Score:3, Informative)
Which explains the awful IO cache[sic] performance seen during this "benchmark". According to my math, the author set aside nearly 17K of RAM for mbufs. This will materially effect network and file IO performance. Honestly, I'm impressed the system actually stayed up under load with this stupid of a setting.
Oh.. and LINT has a maxusers setting on 10 (plus a comment about not using LINT to build a kernel). GENERIC's is 32. Considering what this guy's bio says and the end of the story, I have a hard time believing this is really is an honest mistake.
Bad benchmark anyway, because: (Score:2)
It is very clear from this article that this is a long-time Linux user who (being curious) wants to give FreeBSD a try. The difference in his expertise of Linux vs. FreeBSD shows.
Regarding I/O performance: As someone who is running both Slackware 8 and FreeBSD 4.4 on the same hardware, and being a benchmarking freak myself, I have to say that the result of his benchmark simply IS WRONG. This was (apart from a stupid MAXUSERS=20 setting) a one-sided benchmark, testing only a single program in a single (SMP) configuration.
FreeBSD is lagging in SMP lock granularity (which only affects certain programs) but any decent I/O benchmark shows that I/O of FreeBSD by far outperforms that of Linux (2.4.14): better bandwidth, response times and lower CPU usage.
There may always be some particular devices where the driver for either Linux or FreeBSD is particularly bad or good, but generally speaking when it comes to performance FreeBSD wins in almost all areas hands-down, and certainly for I/O.
Re:Q: softupdates vs. ext3 (Score:4, Insightful)
If journalling is so good, why has BSD not used the same approach?
Re:Q: softupdates vs. ext3 (Score:3, Insightful)
Re:Q: softupdates vs. ext3 (Score:2)
gigabit networking? (Score:3, Interesting)
The NICs were a mix of Alteon and Intel Gigabit for the clients.
If he's using the Gigaswitch I think he's using, it takes two Gigabit Fiber Modules that each provide two 1000BaseSX ports. He's ignoring the twenty-four 10/100 ports and running a network on the backbone, as it were.
Not that it matters to a magazine columnist who has a Proliant to play with, but this is a little more expensive than 1000BaseTX, isn't it?
FreeBSD and Linux will always complement ... (Score:4, Insightful)
Personally I would use FreeBSD for a server for the sheer fact that I can never crash it. For desktop uses I would definantelly use linux.
But both of them being free in the same world will always complement each other. The only thing holding FreeBSD back from the desktop is a pretty installer ...
though this [apple.com] _might_ count as a desktop varient of FreeBSD ...
The latest releases of mandrake [mandrakesoft.com] and redhat [redhat.com] are full of wonderful packages and resources that make linux more than a prime candidate for the desktop.
But Linux and FreeBSD will ALWAYS complement each other ...
SuperDuG
Re:FreeBSD and Linux will always complement ... (Score:2)
Given the current headaches about getting the development branch of Linux started, I am beginning to think that the advantages of the orderly world of FreeBSD development are rather bigger than I first presumed.
Re:FreeBSD and Linux will always complement ... (Score:2)
Re:FreeBSD and Linux will always complement ... (Score:2)
Genuis
Workstation use? (Score:3, Insightful)
As well as I like to see benchmarks, apache benchmarks none the less (seems kinda like the infamous Photoshop benchmarks for the average user), I'd like to see a comparison between *BSD and Linux on a desktop workstation. I've been happy using slackware for a while and would like to know the difference on a usability standpoint.
There are questions that are never answered for the average (above average for using some other platform than windows) user because of all the flame wars. How is compatability with software made for linux? Gaming support? Driver support? How do installs go? How much of a difference is there for setting up/configuring devices and other system preferences? These are things that I am interested as a perspective user and I am not that interested for this case about the differences between the BSD license and other free licenses which are important for some people. Is there a reason for me as a home non server user to switch to *BSD?
Re:Workstation use? (Score:5, Interesting)
Support of "important" hardware is about the same.
My USB printer and scanner function well in both, for example.
Support of more exotic hardware still is more problematic in FreeBSD: No 3D graphics on nvidia because nvidia's driver has not been ported to FBSD yet. My DVB-S (satellite card) is not supported in FBSD, in Linux I can use it to watch and digitally record programs. DV-video through Firewire doesn't work in FBSD. I don't know whether Linux does any better (I think so) because I switch to Windows to capture and process video.
For software (except 3D games as mentioned) FreeBSD has somewhat less native software, but almost everything (even including VMWare for Linux) runs extremely well under the Linux emulator, often even surpassing the speed when run natively under Linux (this is possible since technically it is not really emulation, but all Linux system calls have been added via a loadable kernel module).
Debian and FreeBSD very comparable (Score:3)
I use both FreeBSD and GNU/Linux (debian testing with some packages from unstable), and have used Redhat, Mandrake, and Suse in the past. All are excellent systems, with their own unique advantages and disadvantages. Your reference to the maintainability of FreeBSD is right on point, it is excellent, and the
Mandrake has the smoothest, easiest install, but is often plagued with bugs early on, and really isn't upgradable without reinstalling (I've tried
Debian, on the other hand, has a very dated install that is quite demanding, requiring the user to have a fairly high level of competence and familiarity with their hardware prior to installation. Nowhere near as easy as setting up any of the other three GNU/Linux distros mentioned, nor as easy as FreeBSD. However, it is amazingly simple to maintain and upgrade. I have literally installed ancient versions of the distro because those were the disks I had handy, pointed apt to a (much) newer testing or unstable release by editing two lines in one file (/etc/apt/sources.list for the curious), then running two commands at the command line, namely "apt-get update" (update the list of available packages) followed by "apt-get dist-upgrade."
This is like upgrading from Mandrake 7.0 to 7.2 or 8.0, or upgrading FreeBSD from 3.4 to 4.0 or 4.1. In two painless commands, which grab the latest packages from one of the numerous debian package servers and installs them. Never again installing from scratch, even for major upgrades. Security patches? While they make it into testing last of all (a really critical machine such as a firewall should really be running the staid but rock solid "stable" release, for which security patches come out within 24-48 hours, or better yet, some version of *BSD), pulling them down from unstable as source via "apt-get source [package] --compile" followed by a "dpkg -i [packagename].deb" of the
The point of all this rambling? FreeBSD is great. GNU/Linux comes in many flavors, all of which are generally compatible but each of which has its advantages and disadvantages. For maintainability, stability, and quality Debian is IMHO at the front and very comparable to FreeBSD (in some ways better, in some worse
Others value other aspects of their respectively favorite distributions of course, which again is what makes the freedom of choice we as Free Software users enjoy so marvelous. I toute my own favorite merely to point out that, if maintainability and managability are your primary concern (as they are mine), you may definitely wish to give Debian a gander. Install off the old "stable disks," point sources.list to testing or unstable (I typically point the deb lines at testing and the deb-src lines at unstable, but others have other strategies for finding their comfort zone vis a vis stability vs. bleeding edge fun), run a couple of commands and you're good to go.
That having been said, FreeBSD's source-based "ports" section is the only software distribution approach I've ever seen that in many ways I actually prefer to debian's approach (though the paradigms are in some ways apples and oranges to each other)
FreeBSD and 3d games (Score:4, Interesting)
The FreeBSD kernel is able to run Linux binaries, once you have installed the Linux emulation port (it adds a kernel module that is able to work with Linux ABI binaries plus stores a couple of system libs compiled for Linux - so it is rather a different operation mode than an emulation).
Quake3 Arena for example works under FreeBSD just fine.
Where there is a problem is the support of acclerated graphics drivers. Where such a driver is open source, it has been ported to FreeBSD (Matrox drivers, the rather slow nvidia driver for XFree86 3.3.x series, ..).
Where there is only a binary driver, and most unfortunately, this is the case for the fast nvidia drivers, this has yielded no results yet.
The problem is that while the nvidia binary driver might work in theory on all x86 plattforms, with just a different kernel interfacing (for which the source exists), in reality it does only run with certain Linux kernels. Here is a report [freebsd.org] that goes into details.
Regards,
Marc
Good to hear that Linux is catching up (Score:3, Funny)
I think these kind of concrete results are what can help Linux out in breaking into the enterprise market. God knows IBM is pouring all they've got into it, and now that we have a killer VM, we'll probably be seeing Linux a lot more in mission critical systems such as database servers. All in all this is great news on the kernel front.
As always, many props to Alan, Linus, et al. who make this kind of innovation possible.
here we go again (Score:3, Insightful)
carry on.
Stupid Media Trash (Score:4, Insightful)
Tell one person using OpenBSD that they should use Linux instead because the I/O cache is faster, and they'll tell you to GFY. Likewise if you tell a desktop Redhat 7.2 user that FreeBSD is going to suit him better because of process creation statistics.
It's just another stupid OS jihad that doesn't matter. People should take a lesson from Linus when people ask him what he thinks of the "competition".
Which is better for colo machines? (Score:2, Interesting)
Figure out your OOB management (Score:2)
Dunno what your colo environment is, but if you're buying a couple of U of rack space you could add one of those serial port management gizmos that does dialup and telnet access to a few serial port for greater flexibility.
That being said, I've had good luck with FreeBSD just doing makeworld and installworld remotely and rebooting without the machine going foobar on me. My drive is like 10 miles and the longest part of the journey is from the parking garage to the machine room, but I haven't had to make it but once due to a stuck management controller (fixed by BIOS upgrade) that required "F2" to continue booting but also locked out out of band management.
The key is being able to whack the box remotely without driving in. Unless you totally screw the OS to the point of reinstallation, most systems with OOB capabilities can get you going when the OS prevents a ssh-type connection.
Re:Figure out your OOB management (Score:2)
My opinion... take it or leave it. (Score:3, Interesting)
answer with the caveat that this is my opinion that developed over the
past three years following them both as well as other commercial OSs.
Those of you offended in any way by this, please cat flames >
That said -- the differences between FreeBSD and Linux can best be
understood in the context of American politics. There are essentially two
philosophies: Republican (FreeBSD) and Democrat (Linux).
The FreeBSD organization is a republican structure -- we have our say as
users, but the final decisions devolve to the core team who take the final
responsibility for their decisions. FreeBSD takes a conservative approach.
In other words, better things should work correctly at the expense of a
minorities desires, than to please all of the people all of the time and
have unexpected components of the OS breaking on a regular basis. We are
free to vote our approval or disapproval by changing our OS.
Linux is a democratic group. There is no single authority to accept final
responsibility except for Linus as it relates to the kernel. Linux adopted
early on a consensus approach (POSIX, etc.). In a sense, Linux is much
like current Democratic politics -- the mob pretty much rules. The end
result is that there is really no such thing as Linux -- there are
distributions that use the Linux kernel and from then on you have
essentially different operating systems. Slackware, for example, doesn't
look at all like Red Hat. Describing Linux is much like describing Mach.
(There isn't much - both are just micro kernels. _Anything_ can be
implemented over them.)
So as I see it, it comes down to this: vote for the philosophy that
appeals to you. I use FreeBSD because I rely on my machine for many other
uses besides tinkering with operating systems. FreeBSD doesn't change the
world on me every 6 months. Linux is in constant change. New things are
showing up all the time. If you like tinkering with operating systems and
having things that used to work break, Linux may be your answer. If you
don't know Unix -- pick one and get started. You'll learn how to pick the
best choice. No matter which one you pick, it will be infinitely better
that Micros**t anything.
Political Analogies (Score:2)
Another analogy I once suggested: the various *BSDs are like the myriad of leftist political groups: no one really knows what the difference between them is, but they really seem to like nothing better than fighting among themselves.
Re:My opinion... take it or leave it. (Score:2)
(There isn't much - both are just micro kernels. _Anything_ can be implemented over them.)
Mach is definitely a micro kernel, but Linux most certainly is not. Although it does have a few characteristics of a micro kernel, at the end of the day its still technically a monolithic kernel.
*Your* Opinion? (-1, Cut-And-Paste) (Score:4, Informative)
Please karmawhore with your own material if you have to.
good heavens! (Score:2)
hawk
Re:My opinion... take it or leave it. (Score:2, Informative)
Republicans and Democrats is more like comparing Windows 98 and Windows ME. Neither works worth a shit.
Linux is a kernel, FreeBSD is a distribution. You can compare the BSD kernel with linux, or FreeBSD with Debian or Mandrake, but you can't compare OpenBSD with linux, any more than you can compare W2K with linux (unless you're just comparing kernels).
This Byte article is comparing the bsd kernel with linux.
no, repub and demos are like windows flavors (Score:2, Funny)
Re:Except you have it backwards (Score:2)
Well, that's how it used to be until the Republicans morphed into the Jesus party, with all their war-on-drugs, prayer-in-schools, we-will-legislate-your-morals bullshit.
Not that Democratic party is any prize either. ;-P
more useless linux VM benchmarks (Score:2)
The mean elapsed time for the process and mean number of page faults are shown below: (I'd post all the number but the slash filter doesn't like the gratuituis white space)
kernel: 2.2.20 2.4.10 2.4.12 2.4.8
mean major page faults:
7833 7208 7285 8990
mean elapsed time:
88.62 86.81 86.52 88.44
so what's this show? not much
Anyway, in terms of number of page faults:
2.4.10 < 2.2.20 < 2.4.8
of course, YMMV.
Not a VM benchmark (Score:5, Insightful)
There are a lot more different things in the two
kernels, than the VM. And note, that the server was
SMP, an area where FreeBSD folks admit "Linux is a
year ahead". It may turn out in the end that
actually the FreeBSD VM performs better, making
able the Big Lock BSD kernel catch up with more
fine graned Linux .
-velco
Lies, damned lies, statistics
Some questions. (Score:2)
Software RAID-5: I see vinum, is that as good as or better than linux equiv? Are there more alternatives?
lvm: seems to be integrated with vinum, is it relatively easy to shrink and grow fses and make more fses in a vinum managed group?
nat/firewalling: I've heard very little about ipf and ipnat, how good are they at what they do? Do they do stateful firewalling? How intuitive are they to configure blocking/forwarding rules vs. iptables (note I consider iptables to be extremely intuitive)?
ipsec: I see that there is support for ipsec, does it interoperate with FreeS/WAN? (Must connect to a site and tunnel network traffic with a linux FreeS/WAN box at other end.)
I have a small linux box performing the firewalling/ipsec right now. I plan to upgrade and have volume management over a raid array, as well as apache, nfs, nis, samba (file serving and PDC), and want to maintain configurability while insuring stability. 2.4.x series of kernels have seemed to be a little too flaky in my usage for a high-availability solution, and FreeBSD seemed rock-solid when I used it.
Linux as server, BSD as desktop... (Score:2)
In the opposite of what any might have predicted, the BSD in Mac OS X is now a formidable desktop OS, despite BSD users constant assertions of its server prowess.
In spite of the wars (and heavy casualties) between genome and kde on Linux, increasing vendor support has pushed Linux far into the datacenter (Oracle 8i/9i, Linux on an IBM 390, the recent Compaq release of the Non-Stop Cluster code, etc.).
BSD has nowhere near the datacenter penetration, and Linux has nowhere near the desktop elegance.
This situation is perhaps diametrically opposed to what should be, but this is what the market, the developers, and the users have decided.
Don't like this state of affairs? Port ReiserFS and XFS to BSD. Get Mac OS X running on a Linux kernel.
Your clue, sir... (Score:2)
If you will examine www.dell.com/Oracle8i, you will find the Dell "Oracle Database Appliance." It is running SUSE.
You might also examine www.suse.com/us/press/press_releases/archive01/fas t_center.html
where you will learn that Oracle/SUSE exceeds Oracle/NT - were you going to argue that NO ONE runs Oracle on NT?
Don't know about Linux/390 yet; it's too early to tell.
Combine the best bits of both? (Score:3, Insightful)
FreeBSD rocks!! (But Linux doesn't suck. I use both. In fact, I say use whatever is best for the job, as long as it isn't Windows, because Windows sucks. (Bear with me for a moment--this is not flamebait, just part of the overall presentation of my comment.) Yeah, Windows might be useful at serving a purpose sometimes, as long as whatever it is doesn't need to actually function properly most of the time. But then, I was talking about FreeBSD and Linux, not Windows. Because Windows sucks.)
Building up and tearing down processes is indeed one of the strong points of FreeBSD. I vaguely recall reading about that somewhere in the documentation on the website or the CD or somewhere. I also recall reading about how some older version of FreeBSD had an obscure timing-based vulnerability in some section of the forking code because keeping it fast requires it to be complicated. (Actually, it's not that complicated. It's just in deciding which parts of the process are copied to the new process and which ones aren't. Under very specific circumstances, something that wasn't supposed to be copied was, or the other way around. I just don't remember. That's what happens when you try to comment on something you read a year (or more) ago. Of course, this vulnerability has long since been fixed. The point is, I don't claim that FreeBSD is perfect while Linux isn't--they both have their strong and weak points and like I said, use whichever one is best for whatever you're trying to accomplish. And above all, like any machine, a system running any kind of operating system needs to be well maintained, and that is a big part of security. While there may be bugs in whatever parts of whatever operating system, proper maintainence will nearly always ensure that the system is kept running and is not compromised. (Unless you're running Windows, which, like I said before, sucks, so even if you maintain it properly, I am required by blood oath to tell you that it will be compromised anyway, just to make Windows look bad, even if it isn't all that bad for home use by computer newbies who just want to check out some website or whatever.))
In the Linux compatibility section of the FreeBSD manual, the author claims that FreeBSD executes some parts of Linux programs faster than Linux. (I'm sure it executes other parts more slowly. This is what happens when you run programs designed for other software--you can use some of your features (or just circumstances) to your advantage while other things just don't work out quite as fast as you'd like.) It would be interesting to analyse FreeBSD and Linux, figure out which parts are best in both in terms of efficiency at running, say, desktop software, and modify both systems for better efficiency. Oh well. I got too much work to do. Maybe tomorrow.
Answer to the MAXUSERS dilemma (Score:2, Funny)
Re:How good are they? (Score:2)
Both are good, both are popular, and both should take the best from each other. What happens from now on will be interesting to see. The project with less developers may still produce something amazing that everyone wants to use.
I don't know much about NetBSD, but I several years ago it was described to me how easy it was to do a network install of the thing (insert floppy, fill in the IP address and a couple of other questions, then sit back and watch it install). A few distributions of linux have adopted the same idea. Most well written programs for linux will also compile on BSD - and probably the thing that influence users the most is the applications anyway.
Ultimately it's not a race and it never has been, it's a BMW vs Mercedes sort of argument (with Irix et al as a great big car carrying hovercraft - not so fast or airconditioned, but great if there are lots of people on board).
Re:What about mascots? (Score:2)
I've also noticed that he has a chubby, friendly serenity about him, as though he has achieved true enlightenment, and is waiting patiently for the rest of us to catch up. We can only assume from this that he is a reincarnation of the Buddha. Someday we shall learn the truth behind Tux's paradoxical koan, "There is no kernel." Once we understand, then the world will be reborn for each of us, and code shall flow like the rivers in springtime.
All homage to the penguin. Shalom.
Either (Score:2)
Re:Time to get the asbestos suit out .. (Score:4, Funny)
Is my threshold too high?