Byte: FreeBSD vs Linux Revisited
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.
"As usual, please take benchmarks with a grain of salt, caveat emptor, look before you leap, and so forth."
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.
Regardsless of what some reviewer comes up with, I have just found that they each do something specific. For servers, I would run FreeBSD. All of the daemons are ported, and the security is great. For my desktop, it's linux all the way. I think this is comparing apples to oranges.
Um, this is my sig.
the daemon's in the details, too.
(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.
If it is not on fire, it is a software problem.
This is good.
We should not be looking at whether Linux or BSD is better than the other. What we should be thinking about whether one will one be better than the other. All sides can agree that linux development has really taken off as of late and that the various BSDs have been in development much longer.
I wonder, with the growing popularity of the GPL, if the pace of Linux development can be kept up. I think that as products mature, it gets harder and harder to keep the speed of development the same.
Rather than focusing on where they are, we should be focusing on where they will be.
Not to flame or troll.... but......
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).
We just switched our email, file and http/servers to FreeBSD. Why? Mandrake had become a horrid mess of dependencies and package problems. Building from source (painstaking and too labor intensive for a one person admin team) had become frustrating. The machines were inherited and had never had any documentation and administrative control. I got three machines to replace them (white boxen) and started fishing for what OS to put on them. Initially, I thought, well, Mandrake8.1. I did a test install. Gigs and Gigs and Gigs of useless crap and a horrible package management system to boot. Selecting packages individually took time I didn't have. I knew I needed samba, sendmail, ftp and apache (sshd too). An admin in another department suggested Debian. But (let me put my flamesuit on), another guy said "if you are going to use Debian, why not just install FreeBSD." I did a test install. 1 hour later, I had samba cooking and talking to our Win2K DC. I was sold. This after using Linux for 6 years. I wouldn't say "I saw the light" but as far as clean and Unixy goes, it doesn't get any more so than FreeBSD. I am interested in hearing horror stories about FreeBSD, cuz so far I am very impressed.
Comparing it to Windows will be a moot point, since El Dorado is going to have a 40% larger code base than XP.
that ever happend to FreeBSD, was Linux. The best thing that ever happened to Linux, was FreeBSD. Instead of fighting in the mud with those other guys, both can compete on the higher ground of techinical merit. As long as both keep leap frogging each other, we are all better off.
"To those who are overly cautious, everything is impossible. "
What about the os for every thing. I wana see some benchmarks compairing a 8600 vax (runing netbsd) to this mans linux box.
...throw DOS in there. :)
SIGFEH
With all the media/capital hype surrounding linux right now, BSD doesn't stand a chance. Everywhere I go on the net I see linux cluster this, linux PDAs, linux games, linux servers, linux everything..
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.
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.
Sticking feathers up your butt does not make you a chicken - Tyler Durden
MAXUSERS was set to 20!!
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.
"To those who are overly cautious, everything is impossible. "
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?
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 _might_ count as a desktop varient of FreeBSD ...
The latest releases of mandrake and redhat 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
Ignore the "p2p is theft" trolls, they're just uninformed
Dear Moshe,
I have noticed that you no longer require 2.5 GB of RAM:
The machine came with 3 GB of RAM and two Xeon 900-MHz processors, but for this benchmark, I reduced the memory to 512 MB of RAM.
If this RAM is looking for a good home, I am willing to oblige.
Yours truely,
Sasha
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?
WikiAfterDark.com It's a sex wiki, go now!
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.
Is your company running tools written by ma
now, before we start, everyone remember that *BSD IS NOT DYING!
carry on.
Let's get drunk and delete production data!
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".
...throw DOS in there. :)
I think you meant to say FreeDOS.
(What's a "blue screen"?)
Remember "Bring 'em on"? *sigh
linuxtroll doubleplusungood verging crimethink linux 2.4 infallible VM problems imaginary
stop immediate currentaction
suggest doublepluswhack head
suggest RMS doublepluswhack head
People who use linux have their reasons. People who use BSD have their reasons. After so much hot air, any one who would be converted in either direction by a /. post was converted long ago.
Actually, I disagree.. Many people using Linux or BSD are doing so out of habit or prejudice.. The more coverage both OS's get (both in contrast and standing alone) the more likely it is that someone like me who has never used BSD will be able to make an *informed* decision to switch a few servers.
Never comparing them leads to tunnel vision. Even fighting about the pro's and con's is better than nothing.
I think tux is the shittiest mascot ever, while FreeBSD has that cool little devil dude (his name escapes me).
How can anyone take linux seriously if it's got such a pussy and unprofessional mascot? It just screams "one day gimp creation."
python -c "x='python -c %sx=%s; print x%%(chr(34),repr(x),chr(34))%s'; print x%(chr(34),repr(x),chr(34))"
Slackware has always had BSD-like cleanliness and simplicity. No shit to dig through in scripts and packages and etc. etc. etc., just a nice, efficient Unix-like feel. I started using Linux with Slackware and for years saw Linux as just another Unix, albeit a newer, flashier one. The first time I tried Red Hat (at 5.0) I was totally startled to find that most people were seeing Linux as a whole other operating system...
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.
STOP . AMERICA . NOW
I love BSD too but I have never heard of a BSD being "beta". 5.0 is not stable... although I am probably going to CVSup tonight and build it anyway :)
Because the BSD assumed a network connection, it could have on its distribution disk only enough smarts to begin, no need for everything to be available on disk.
I admire simplicity. If I were anything of a programmer, I'd help Debian fix their install.
Bob-
The Ludwig von Mises Institute. The reasoning individuals economics
Installing and running both freeBSD and two versions of Linux, learning what was different, how they laid out the file systems, where they liked to store things helped me emensely to understand unix systems in general, it was a major leap of understanding when it was all over.
They don't differ so much that someone who knows one can't just use and get by with man pages in the other.
Keep in mind I am not qualifed to make any technical judgements about "better" or "worse" implementations of anything, just the more obvious ways they differ in handling common tasks such as networking, users and groups, or dynamic libs.
So I suggest to find and learn what makes them different and you will gain greater insight into both, at least I think I did.
Wax on, wax off baby!
If the job is to get an 80 year old grandma (or anybody for that matter) who has never used a computer to start using a computer, then microsoft is a pretty good tool. At work I use FreeBSD, but my wife would have problems learning the beauty of sed or tweaking the horizontal refresh rates in her xf86config. Consequently Win2k is the right tool for our main computer at home. And no, it doesn't screw things up massively- it works great.
"The defense of freedom requires the advance of freedom" - George W Bush
I run a small apache server with mysql and php modules on a pentium 133 with 48mb memory. Which would perform the best for a small 100mb database being used to generate dynamic pages?
OK, the more important question these days is which OS (or even distribution) is better for colocated machines? I'm looking at it from the perspective that my machine would be many hundreds of miles away and I don't intend to go drive to sit at the console to do an upgrade. What would be my choices? I believe FreeBSD supposedly is strongly suited to that type of environment but it looks like Debian GNU/Linux also has strong points there as well.
vi versus emacs
I personally can't wait!
NO CARRIER
.. Yes ... the flame wars start again .. with a vengeance ..
The right tool for grandma is a Mac running classic MacOS.
Admittedly, Jobs has discarded this market with OS X.
Any response to a question like this is bound to upset someone. I'll /dev/null.
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.
For the average person, unless FreeBSD was far more inefficient than Linux or visa versa, they wouldn't care. To be honest I don't. Both OSs are, in my mind, just as good as one another. They both have their good points and their bad points. I use Linux myself but I'd have no problem using FreeBSD or NetBSD or OpenBSD. The only thing I dislike about the *BSDs is that they forked.
Ah well...
I don't like trolls and mod against me if you like, but I'd prefer if you'd reply.
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.
This sig is false.
not necessarily. if you read all the threads on that article, you see that the poster didn't go to too much effort before making that declaration. he couldn't saturate a 10MB/s locally, so he obviusly has some things configured wrong. instead of trying to tweak some settings, he blamed it on linux. freebsd out of the box must work great for his setup while debian didn't. i have debian on two boxes here and see nothing of the like; my transfer rates are fine.
Apparently, the bit about the TCP/IP stack is true. I intend on checking it out some time, but supposedly it's a lump of cruft. Not exactly as cleanly coded as the BSD one nor as efficient.
Please refute this, somebody.
I don't like trolls and mod against me if you like, but I'd prefer if you'd reply.
My mom surfs the web and checks her email. Maybe on a weird day she might spark up a word processor. Linux does all three of these things fine... I put it on her box and the support calls from here nearly stopped.
Linux is great (on the desktop) for gurus and complete newbies. For everyone between Windows is king of the destop.
apt-get install redhat please god - Me (take it easy, I love Debian)
Nothing stopping you, go ahead, do it! I've been running multi-boots for years. Nothing beats running each O/S you're interested in, and determining for yourself what suits you best. Running multi-boots are also very handy if you are running development versions of an O/S. If the new version really craps out, boot the stable version, do your repairs, and you're back in business.
"To those who are overly cautious, everything is impossible. "
If it's a Linksys AP, upgrade to the latest firmware. There was an encapsulation bug that their Windows driver ignores, but the FreeBSD driver adheres strictly to the RFC. Once I upgraded the firmware on my AP, everything started working fine.
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.
If you really want to get more performance, consider upgrading that aged box. Its going to make much more of a difference than swapping OSs.
Personally, I feel Chuck looks too much like Casper to be cool. Besides, how could Tux not be cool? Sarah Michelle Gellar tattooed it on her breast!
You die too easily.
If you're doing colo hundreds of miles away, it'd make sense to figure out how you want to do OOB management. We use HP servers and they have a great out of band management capability -- power off, on, restart and console-level keyboard and text mode display capabilities independant of the OS. Couple this with a modem and you should be able to handle anything short of a total reinstallation.
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.
Does he say which version of FreeBSD he used? I couldn't see it any references to it from browsing with lynx.
dave
I did my own test to compare the linux VM's on a couple different kernel versions. I booted the system into the test kernel, once loaded I ran 32 simaltaneous instances of mpg123. Using BSD process accounting (thanks tcsh!), I measured the elapsed time, kernel time, user time, major page faults, and minor page faults of each of the 32 processes. I then found the mean/stddev/min/max of these numbers.
:) The 2.4.8 kernel had a lot more page faults. But the vm might measure major/minor page faults differently, I don't know. Also, my kernel configs may have been slightly different but that shouldn't matter too much. If someone wants to do a more complete analysis let me know and I can give more details.
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.
Note that this is systems benchmark, not a VM one.
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
You can do journalling with RAID in FreeBSD 4.4. Just turn on soft-updates when you newfs on your RAID.
He compared with FreeBSD 4.3, while 4.4 has been out since September. In 4.4, softupdates are on by default b.t.w. (licensing problems have been solved).
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.
Okay, I'll showoff my ingnorance.... If softupdates is so good, why has Linux not used the same approach? (I.e. why is Linux adopting a jfs instead?)
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.
I'm just a newbie at kernel hacking, but I've always wanted to ask this:
If FreeBSD really has a much more stable TCP/IP stack and other 'cool' things, why can't linux build something with the same architecture (that's not even code theft, just idea borrowing).
Before anyone flames me on this: I just heard from some experienced hackers, on both the FreeBSD and the linux side, that some parts of the FreeBSD kernel are designed better.
It's all open source. Why can't we all just get along?
(And the same thing works the other way: FreeBSD users claim the lack of comptability with every piece of hardware is a small price to pay to use FreeBSD. Why can't linux drivers be ported to FreeBSD?)
I was actually thinking of trying to move the TCP/IP stack from FreeBSD to Linux myself, or at least get a close enough look at the differences between them, but looking at the code I realised I'm lacking the skills or mind stamina to comprehend linux's kernel code. Maybe some day...
My other
Please karmawhore with your own material if you have to.
Slackware is great for low-end and mid-end servers - and high-end servers if you can find the fsck-ing drivers.
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.
Stop the brainwash
One problem is that the more packages you have installed the better the chances of there being security issues to exploit.
For instance, I installed Mandrake 6.0 onto a school network a few years ago. I was fairly new to Linux at the time, and the senior admin helped me out a lot WRT security checks. For instance, did you know that (at least in mdk 6.0) all of the Gnome and KDE games ran as setuid root just so that they could write a system-wide high score? On top of that there were _many_ other setuidroot programs installed by default.. Sure that's fine for the average home user, but in a (somewhat hostile..) networked environment this is just asking for trouble. And yes.. these were installed by default..
However, I'm using Mdk as a server right now, and it's working quite well.. (though I have to restart the adsl service every few weeks.. rather annoying, but not enough for me to do anything about it..)
As always, any system can be made relatively secure, it just takes some effort. Some distro's trade off security for flexibility. Whatever..
I use Debian linux on my workstation, FreeBSD on my server, openbsd on my firewall and netbsd on my old sparcstation. If you have the hardware lying around, you really can use the right tools for the right job.. (and oh, I run Mac OS 9 on my Mac and I have a BeOS partition somewhere...). But then, I love operating systems, and I love toying around with them, including the obscure, like hurd, minix, plan9 and this thing called solaris..
If I look at the numbers, I see that the difference between the systems in benchmarks are rather small. In fact, it reminds me a bit of a presidential election in a not to distant past...
With such small differences, the only thing that matters is which systems gives you warm fuzzy feelings... (Oh! Apt-get! Oh! make world!) (but wait, what if both systems give me warm fuzzy feelings?)
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 that goes into details.
Regards,
Marc
hawk
that's right...it's just a comment....make a REAL POINT and I may have more to say....man, what's happened to discussion on /. ?
Republicans prefer more local control, less centralized decision-making. (Push a Republican far enough, he's a Libertarian.) It's the Democrats who want to run things from the top.
But for servers, I would never risk upgrading to a newer version of any OS. I always do a clean install on another machine and get everything operational and then swap drives, or copy it over, or whatever, depending on the server, how much downtime is acceptable and whatever.
For admins that are overworked, I'm sure Debian would be great.
Sticking feathers up your butt does not make you a chicken - Tyler Durden
I think the numbers could show the cost of synchronous filesystem mounts (even with softupdates) simply cannot keep up with the raw performance boost of allowing the kernel to lie to processes about the completion of disk writes. EXCEPT THAT THERE WAS NO DISK WRITING IN THIS BENCHMARK EXCEPT *MAYBE* WEB SERVER LOGGING.
I'm also not sure about the granularity of buffer cache objects and physical disk IO operations on each box. How were the kernels set up differently by default?
--- Nothing clever here: move along now...
In 4.4-RELEASE, LINT has maxusers = 10, while GENERIC has maxusers = 32. IIRC, the handbook says to use GENERIC as a baseline, but it does sound like he might have started with LINT - although I pity anyone who would spend that much time commenting out all the esoteric stuff in LINT.
-- Never hit a man with glasses. Hit him with a baseball bat.
fdisk /mbr ? p
then maybe you could reinstall FBSD...ohwell...you'll figure it out
of course..I meant that command & switch should be used from an msdos boot diskette...but again, I may be assuming that you know too much (no offense, just don't know what type of user you may be)
j/k
but trying em all out is a blast. Glad to see that some of us here try different systems, so at least we can bitch about differences with some information and experience to back it up.
On a side note, I usually try to run each for months, using different installations & configurations (even changing the hardware in the machine) just to see what everything does. Fun stuff.
I wouldn't say I'm part of the inner sanctum of any of the BSD realms, but as a user of both FreeBSD and OpenBSD, I have seen nothing but camaraderie. The different BSDs simply coexist; they are not in competition. And noone knows the difference? Come on, each BSD has a clearly stated focus, at which each excels handily.
-- Never hit a man with glasses. Hit him with a baseball bat.
I know that Linux hardware support is at least more comprehensive, which is why I use it on the desktop. I am preparing to configure a server, and was wondering if I should do FreeBSD. I have used it in the past, and am reasonably self-assured in many areas, but I have lingering questions about these aspects:
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.
XML is like violence. If it doesn't solve the problem, use more.
you'd have seen that a recent snapshot of 3.0 revealed the word "beta" if you did a uname -a
There are considerably _less_ debs than Ports.
--
My comments and opinions completely reflect those of anyone and anything I am remotely associated with.
Come on, what value is there in comparing OS development politics to the national political parties? It doesn't illuminate anything (the point of analogies one could say) and just serves to fixate a stereotype in the mind of the listener, or perpetuate a stereotype in the mind of the speaker.
Nothing to see here folks. Move on -- +5 be damned.
Unless you're the type who installs all the server apps to /usr/local from source, in which case you should be using BSD, because with slack you will be downloading and recompiling the source everytime there's a security problem or it otherwise needs updating.
I can't imagine running 50 slackware web servers and trying to update all of them because of a security problem. Debian and BSD do this all automagically.
BSD stands only to gain from linux' popularity.
Linux increases unix mindshare. More ppl familiar with unix = more bsd users.
Linux also helps commercial unices in this way as well, though it hurts them by stealing some big accounts (ouch).
I had a little trouble figuring out how to get the /boot partition ahead of the Windows one. I found a couple ways to do it. I originally did the Linux first and deleted everything except the /boot. I installed Windows then FreeBSD and finally Linux. The other way I tried was to install Windows first and move the partition with Partition Magic and then FreeBSD and Linux.
Using lilo to boot Linux and FreeBSD
Using Boot Easy to boot Linux and FreeBSD
After reading all of these responses I'm gonna go with linux. I've been going for all of the old computer parts that I can get and so now I'm gonna build a new one or um, old one but a computer none the less and now I'm gonn aput Linux on it. thanx for all of your input I'm goin Linux. :)
We seldom regret saying too little but often regret saying too much.
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.
I got this with: /var/lib/apt/lists/* | wc
grep '^Package:'
13583 27166 1416287
If someone knows if that's a right or wrong calculation, please correct me. I know the number of packages has really ballooned recently, but I didn't think it was quite that much. OTOH, I think it must have had a lot to do with the opening up of the new-maintainer process, which happened between the last stable release and now. A lot more new maintainers means a lot more new packages.
It will be interesting to see where things go.
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.
LedgerSMB: Open source Accounting/ERP
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.
Nowhere in my post did I say I corrupted the mbr. I have used linux for a long time. Let's get that out of the way.
I would like to know whether you know what lilo does? It's more than a utility that dumps a piece of code on the mbr. It lets you control everything about the multi OS booting process.
And that's what I'd like to know how to do that in FreeBSD. Not how to do it in MSDOS, Windows or Linux because I know how to do that already. It's a simple question. Sheesh.
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.
BSD isn't dying either. BSD doesn't gauge its success on taking the desktop over from Microsoft. BSD is over 20 years old and there are more people running BSD now than any time in its history. BSD has a "critical mass" so it will continue even if there are more than ten times as many Linux users. BSD's license is more flexible than the GPL. It is basically open source without the politics. Even if Linux was as good or better than BSD in every way (which it really isn't) BSD's license would guarantee that it would be prefered for some projects.
I e-mailed the fellow and he confirmed that both the MAXUSERS and kernel version listed in the article were misprints. He used 4.4-R and MAXUSERS was set at 200 (still too low for a high-volume server, IMO).
I'll put it this way: I've been using, and programming, at least in some capacity, computers since second grade. I'm now in my second year of a university computer science program. I'm picking up Linux pretty quickly, but there are a whole lot of things that you either have to be told once or screw up before you get it.
I admit I probably wouldn't qualify as an "experienced computer user" by the standards of the slashdot regulars, but I'd probably be pretty competitive even with the slashdot lurkers. There are an awful lot of us out there. My dad's first job out of college was programming. He's in another field now, but if Linux is too idiosyncratic for him, it's clearly not ready to be a "desktop operating system". Maybe my experiences to date have been an aberration.
WARNING: there is a trojan on your
I am the level of user that most people would call a newbie or Nub (for Non usable bodie) /. would not need nor use the documentation , and in fact would laugh at someone who does. I am not one of those people. The Red Hat was simpering , yet confusing at the same time. Technical information was given on the background and proccesses involved , without acctualy giving clear directions on how to get someinthg operational.
I recently needed a gateway for a network and went to an alternate to Windows since it was on my dime.
Having tried Red Hat and FreeBSD , I personly much prefer the FreeBSD.
many of youon
FreeBSD was clean , concise and technical, wihout needing to have extras thrown in to make the book bigger. I would not venture to say that one buld is better than the other , because I know I don't know enough to back it up. I will say that on my way t learning enough to tell the difference I'll be using FreeBSD for the best reason of all, It works for me.
I know nothing...It is Ok because I am from Barcelona!
I run both (slack-8/2.4.14 and FBSD 4.4) on my workstation. I find FreeBSD way easier to manage and generally have better performance, more pleasant to administer.
/ports section is IMHO one of the most elegant approaches to software packaging ("make compiling and installing from source as easy as installing a binary-only package under any other os would be").
... painfully). Redhat is comparable, with other tradeoffs not really worth detailing here. Ditto for Suse.
.deb created is easy and painless for the impatient.
... which is why choice is so marvelous and why I use both).
... a compliment of the highest order to both approaches.
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)
The Future of Human Evolution: Autonomy
I find it amazing that someone would set out to test for VM performance, and run the tests that he ran. Sendmail? Tweaked and (even more than usual) unreliable Sendmail? Someone is going to choose Linux over FreeBSD for a mail server because of this article. I serve email with qmail on FreeBSD with no softupdates and even the hard-disk cache turned off. Why? Because this is the most reliable mail configuration that I know of, and there are good reasons for all of it (but you have to RTFM to know why..) I can pull the plug amidst a flury of email and *know* that none of it is lost, and the machines can still move 100x more mail than they do. Tuning for max performance is the Linux way. Unreliable async filesystem operation is the norm in the Linux world. Getting max performance out of a system that doesn't compromise on corectness and reliablility is the BSD way. When you choose to turn on softupdates on your FreeBSD machine, you still know that you can punch the reset button at any time and your filesystem metadata will still make sense. In fact, under Linux, you can fsync() a file and still not be sure that the metadata is updated when the call returns. Humbug!
If you believe that you're a fuck up of the lowest order
Mentioning "superior package system" and "slackware" in the same sentence doesn't make any sense. The slackware package system is about as featureless as they come (it was meant to be). I'm not saying slackware sucks, just that it sucks for administering large numbers of machines. Which it does.
I'm just getting into it. Finding it fun. Nice complement to Mac OS-freeBSD-X.
vsurfer
Read the post, stupido. I don't *want* to synchronise my ports tree.