NT vs. Linux: Again
Jeff Molloy writes "The results are here
link " It's a
shame Linux didn't win, but it looks like the tests show where Linux might
have some deficiencies. Overall, it looks better than the original test, though.
← Back to Stories (view on slashdot.org)
If you can't help program then go out and test all this new stuff and send in bug reports. Let's have Linux set the standard again. It seems like, acording to the article, it was this way once and we lost it because Microsoft has pushed the bar a little higher and we lagged behind.
Unfortunatly, I'm wasn't referring to anything so fancy. More just being sarcastic, because the throughput difference between Apache and IIS is hardly ever going to be the deciding factor.
(In the largest NT/IIS setup I've seen, there were three actual web servers. They were 'clustered' only on the switch level. The assumption was that one of servers would be down at any given point in time. A desktop box was running software which checked if IIS was running, and if it had died, attempted to restart the service. If that failed, it rebooted the box.)
--
Business. Numbers. Money. People. Computer World.
At the end of the day, the smart companies have only two questions about IS technology:
1: Can I do more with this?
2: Can I do the same job cheaper with this?
All the other numbers are indirect data, trash talk. Management--especially smart management, doesn't directly care about MIPS, MTBF, or benchmark numbers. They care about the two questions above, and care about the other numbers indirectly because those numbers tend to be good predictors of the answers to the real questions. In this business, when almost everything is potential, these early indicators are very important, because you can't get good answers to the top two questions.
You have the same thing in sports. You can measure free-throw percentage, height, weight, slugging averate, save percentage, and a host of other details. But at the end of the day, only one question matters into it: How often do you win? All the rest are trash-talk numbers--good predictors, but not the bottom line.
In sports and business, you have to have those trash-talk numbers for people to give you a chance. If you weigh a trim 175lb, nobody in their right mind is going to make a nose tackle out of you--you won't get the chance to show the coach that you can topple the 325lb center. If a product has enough benchmarks damning it, the vendor will pull support and recoup its losses.
This is why Linux can ignore the trash-talk and go straight to increasing capabilities and lowering costs. Linux isn't a business; vendors cannot cut all support. Nobody has the power to tell Linux that it cannot enter the IS world. It can't get cut, and can only get discontinued if every Linux geek in Creation decides to spontaneously drop it. Red Hat and Caldera can go belly-up, Torvalds and Cox could be swallowed up in earthquakes, and Linux will keep on existing.
So long as Linux exists, it can win. With the development advantages it has, it can win well. It needs a foothold in some IS shops; it's getting that, or has already gotten that.
If Linux wins, it is going to start by revolutionizing an IS department. Some big gun like AOL will see the potential and let it start taking over the infrastructure. It will work. Forget the runtime, forget the performance, it will do the job for cheaper. In the business world, such success gets copied. People look at the company that pulls this off, ask how they do it, and see a room full of Linux boxen.
The IT budget will convince more smart managers than any amount of benchmarking will.
PR is still relevant, but only in the short term. Good or bad PR can accelerate or slow the rate of Linux installation. In the long term, however, the success of Linux will have nothing to do with the benchmark numbers and have everything to do with the budget numbers. If Linux can do the job cheaper, it will win. If it can't, it will remain a hobby OS.
But the good news is that, unlike a corporate product, short term effects cannot destroy the long term picture. Linux will have all the time it needs to fit into the corporate structure to its best abilities.
--The basis of all love is respect
Wow... It's taking Microsoft, 4CPU's, 4Gb of RAM, high performance RAID controllers, quad NICs and a team of MS's top software engineers dedicated to tuning the system to beat Linux.
:)
Who in real life will have this kind of hardware and get that kind of support from Microsoft?
Boy are Microsoft in trouble!
Deleted
Whilst the test have highlighted some 'limitations' of Linux in a lab, and whilst this looks bad for Linux, and is something that we the Open Source Community should address seriously if we wish to gain widespread acceptance in the business world, it really fails to represent reality. My company is using a Dual P90 as it's main webserver, not a quad P500. If we got 1000 hits a second on our webpages we would probably die of heart failure. I saw a report that suggested that even the Charles Shwab e-trade site only gets aprox. 642 hits a second. Looking at it one way, the test showed that Linux for $0 is perfectly capable of performing the same job as NT for $1500 (once you add in mail etc..). Whilst NT might be faster in _HUGE_ volume tests, in the real world, there is probably little or no difference except in the area of stability.
However... for very small organisations, I run an ftp server, web server internal DNS, NIS, SMB (there is one Win95 machine) etc... for a small network comprised almost entirely of old 486s w/16MB mem, and 400MB HDs, Linux is the _only_ choice. NT wouldnt run on these machines and 95 isnt pretty! My home LAN which cost me less than $300 for 6 machines hub cables and all, plus $1600 for my main system (which I bought new and is now rather an outdated P166 w/8.4GHD+3.5GHD 64MB RAM) (7 machines in total). It performs great for my needs. If I were a small business, I think that I would have to think twice or three times before outlaying large sums of money to M$ for a system that was so over my needs, instead of using a system that would cost me so little.
Linux offers computing 'solutions' where NT offers computing 'problems'.
Bang/$, Linux will always win. Cost of upgrade since Linux 1.x software and all... $0
Cost of upgrade since DOS for M$ softward and all?...
anyone care to speculate?
Do we need to improve Linux' high end performance just for the sake of benchmarks? possibly not, but It wouldnt hurt.
Everyone is living in a personal delusion, just some are more delusional than others.
I don't know if this helps, but I've been able to trace a couple "solid lock" NT problems to SCSI cabling problems. One of these was on a new Dell server that shipped with a loose cable. NT doesn't seem to handle SCSI issues very well.
--
Business. Numbers. Money. People. Computer World.
It's so nice of Microsoft to pay for this apache advertising. Just as a point of reference, 1800 hits/sec is the same as 155,520,000 hits/day. I think that it's safe to say that noone in the world gets more than 150 million hits per day of static content. Wait, there's a better way:
1800 hits/sec * average 2k/hit * 8192 kbits/kbyte = 29,491,200 bits/sec, or 29.5 MBits/sec. What's that now, a T3 line? I know that a T1 line is 1.5 MBits/sec. Ok, so apache on one of these boxes can fille the equivalent of 19.6 T1 lines by itself. If (a bit more realistically, how many 2k files get those types of hits) those are just 10k files (let's not get into pictures), that's 147.5 MBits/sec, more than filling a T3 line, IIRC, and definitely filling up aapr. 98.3 T1 lines.
What's the problem with Linux/Apache, now?
May I suggest, if you can afford this sort of bandwidth, that you buy one of those 32CPU sun E10000 servers and call it a day? (or a server farm of linux boxes, since you're serving up static files.)
Oh, if you're serving up >1800 files per second of 2k files, who are you?
Oh, one more thing. If this is all on an intranet, you'll still need Gigabit ethernet if you're serving up the 10k+ files, so the sun box still applies to you.
They laughed at Einstein. They laughed at the Wright Brothers. But they also laughed at Bozo the Clown. -- C. Sagan
All of your stuff is completely relative.
Price/Performance
It's all related to how much you pay your admins and how well they administer your system. This isn't a function of the OS. Yes, Linux costs less out of the box, but an NT admin is going to have a harder time (and thus charge more) to set it up than he is an NT system. If a business currently has functioning NT systems and competent NT sysadmins, why should they switch to Linux?
Clustering
How many small businesses who are choosing between Linux and NT need to, want to, or care about the ability to cluster? People who care about this benchmark are not the same people who need to run clusters.
Other Hardware Configurations
How much would it cost for a company to build a Linux-happy system? Most systems built today (and the systems that we want Linux to run on) are built for Microsoft. You'd need a custom-built, custom-designed solution to truly grab all of Linux's power, and that costs money, either in man-hours or purchasing power. The results of this test would've been far more atypical if they had built both machines finely tuned for Linux. At least this time around, they weren't blatantly geared towards Microsoft.
Security
Security, I'd say, is 75% system administration and 25% OS. Linux has its security problems as well, most of which can be plugged up with effective network management. Many of NT's can, too. MS may be a lot more apathetic to security concerns, but they don't run the systems, they sell them. I don't consider Linux or NT any more secure than the other.
Stability
Stability can be completely a function of management. I've heard stories of Linux systems stay up for months or years. Guess what, I've heard the same stories about NT as well. I've also heard stories about unstable Linux systems. I've seen no long term studies done on system stability, so everything I hear about stability I file away under anecdotal evidence, not hard verifiable data.
Change real world needs
What's good for the goose is good for the gander. I don't see how this benefits Linux. Change the system and, whoa, Linux might perform worse under that setup. It happens to both types of OSes, and before you say, "It happens to Linux less!" find some hard data, not stories.
The Future
Past trends do not determine future performance. I doubt Linux will keep up its 212%/year growth and Linus has already said that upgrades aren't going to be as drastic as 2.0 to 2.2. Don't assume that Linux will advance in the next three years as it has in the past three years.
Perhaps, while you are creating your new law, you would take the time to spell "Beowulf" correctly? I usually avoid spelling corrections (although lord that's difficult some days) but if you're going to call someone a "dumbass" and a "moron" then perhaps you should be concerned with how you appear as well.
This spelling flame contains no tyops :)
Your right to not believe: Americans United for Separation of Church and
It is no surprise to see an AC posting such an article. I think that it was just a couple of days ago when I saw some of the stuff that was posted on Mindcrafts site (linked to by /.) where people were bad-mouthing them because of the tests. It is posts like this that give the Linux community a bad name. It is one thing to call a foul, but it is another to act like a immature jerk and start bad mouthing a test that was conducted in a much more controlled environment. I think that ZD would have learned from Mindcrafts mistakes and corrected (most) of them. They are people too, and they DO make mistakes. Linux is not perfect, yes it is better than anything that has come out of Redmond...but it still has some maturation. Not unlike some of the people who post here. A true sign of maturity within the Linux Community would be to accept the loss _GRACEFULLY_ and go out and build a better OS. Then the next time that there is a test we can go out and show eveyone who is best instead of sitting on the sidelines pointing our fingers at the referees. Take the loss, no matter how hard that it is, and make what you feel so strongly about BETTER. Bitching about it ain't gonna build a better OS.
--------------------------------------------
Please give your mod points to others, Im at the cap. They will appreciate it more
Although Linux doesn't have a PR agency, there's still the same kind of spin happening in this thread. Which (among the 2+ responses) is "MS has sacrificed stability/quality for performance". Lots of discussion about bypassing the HAL, super-secret internal MS interfaces, etc...
But we need to be careful. If you'll note, the article notes that Samba won in the earlier SMB tests tests because there was a performance hit in NT due to the transaction log. Which is a stability / robustness feature that Linux simply lacks, and would be better off having if availability and fault-tolerance are the primary design goal.
We're treading on dangerous ground... PR is like a game of chess, and the community needs to be careful about spouting out this kind of spin which can quickly become a rallying point and then proven foolish if it isn't well-though through.
You're economic argument doesn't "scale" beyond small business however.
Here's why -- Any company with more than a few hundred seats has a site licence contract with Microsoft. The cost is much more dependant on client seats then number of servers. This is to cover the client OSes and MS Office.
The cost of extending the contract to add a few additional NT servers to the mix is miniscule. Compare this to the cost of hiring capable Unix admins, and for any medium sized business, you're not saving any money with Linux.
--
Business. Numbers. Money. People. Computer World.
> What is this, stream of consciousness writing?
It's entirely possible some people speak English as a second language.
I've finally had it: until slashdot gets article moderation, I am not coming back.
Maybe you didn't read the graph right. That's a 1-processor NT box that tied the 4-processor linux box.
Ouch.
I've finally had it: until slashdot gets article moderation, I am not coming back.
Yes, Kurt, you hit the nail on the head.
/.'ers who could take Linux and Apache and merge Apache into kernel space, compromise everything else, and personally release an OS/Web Server combination that could easily beat NT in Webbench. The same goes for Linux/Samba. What they would have created is an O/S with dedicated application functionality.
There are probably a hundred (a thousand?)
If Micros~1 really wants to beat Linux in general purpose operating system performance, they need to take this approach with *all* other applications. Start by integrating BackOffice, the rest of IIS, IE, Office (why restrict this brilliant strategy to server-only apps? MS should surely strive for the fastest desktop also) and their other in-house applications into the kernel. Then they will FLY!
Of course, *some* of this is actually good from an engineering perspective. Common functions that are essential to the performance of standard and widely used services -- and can be significantly improved by moving them into kernel space -- may justify this approach. Large chunks of application-specific functionality, however, will weigh down non-users of those apps and compromise stability for those who do use it.
Realisticly, what I think MS has done here is create a "benchmark special". They have picked two high-profile applications and integrated them into the kernel a little too intimately so they can claim that NT in general is faster than Linux. The actual usefulness, of the web server speed up anyway, is questionable. Do *any* sites actually serve that many static pages? And, how many of those sites can afford the instability that such approaches bring?
Sorry, Microsoft. What you have created is an NT/Web server/file server combination that is faster than Linux in those same areas. That does not make NT the faster operating system -- and it most certainly doesn't make it the better operating system. Meanwhile, you have pointed out what are now high-profile areas of minor weakness in Linux performance. Those will be fixed -- and fixed correctly. Thanks.
Geeky modern art T-shirts
From CMP's "Information Week" June 21, 1999:
"When every minute of downtime can mean millions of dollars in lost revenue, companies generally rely on applications that run on OS/390, Tandem NonStop Kernel, Digital OpenVMS, or Unix operating systems. But Windows NT is increasingly being deployed... so IT managers must find ways to increase the availability of their NT environments. To do it, they're adopting products and services that promise to provide extra protection..."
" 'Any system with lag time is unacceptable for running the application' says William Harris, NT Administrator for the Ohio Utilities. 'Money wasn't even a big deal. I's rather get quality and reliability and availability'. The organization...paid $75,000 to implement the (third party protection) system.
Translation (for those who need it): Management is telling IT they have to transition to NT. IT says, in order to be stable, we have to add third party help. Management says: "Here's a blank check."
It goes on to say that Unix, w/o third party software or service achieves "availability in the 99.9% range, as opposed to 97% for NT."
Now, what's the difference to a business between 97% and 99.9%?
IBM's NetFinity Availability Program guarantees 99.9 w/ NT. Cost: $220,000.
HP Mission Critical guarantees 99.9 with NT for a mere $300,000.
Imagine going to your boss and saying "Hey, how'd you like to save $300,000?"
JL Culp
Business Technology Consultant
Chair, LPSC
They should be afraid. As a rock climber I once knew said (and probably quoted from someone else) "If you're not afraid, you're not alive."
Linux should be afraid. Fear is the perfect motivator. Does it suck being afraid all the time? Perhaps. But it keeps the mountain climber on the mountain, and keeps your users from being afraid of falling behind (for whatever reason they need to move ahead).
I've finally had it: until slashdot gets article moderation, I am not coming back.
> Wonder what would happen to the NT's stats if you opened up a copy of IE or Netscape and started browsing the net with it.
Where I work, it's a firing offense to use the servers for your personal use, like web browsing. Most other companies take a similarly dim view of such activities.
I've finally had it: until slashdot gets article moderation, I am not coming back.
Where I work, they spend more money buying sandwiches for meetings than you would pay for an NT server license.
Not everyone works out of their bedroom.
I've finally had it: until slashdot gets article moderation, I am not coming back.
> Give me a break. If you need them, today, then put them in. Otherwise use something else. The world is full of armchair quarterbacks.
"Linux: Do it your damn self, and stop bothering us."
I've finally had it: until slashdot gets article moderation, I am not coming back.
Please to be pointing out the PhD theses written by any of them?
I've finally had it: until slashdot gets article moderation, I am not coming back.
ok, here's my $0.02 on Windows 2k (and, fyi, I run Linux most of the time).
:-)
(First and foremost, these are just my impressions of Win2k...not cut in stone by any means)
First, my computer is a p200 mxx, 64 megs, ~1 gig NTFS, ~2 gigs ext2. W2K found all my devices and configured then almost perfectly. The only thing it didn't get was my Voodoo 2, but I can run GL Quake in Linux
The system runs faster than NT 4 ever did. Some of you may than scoff NT 4's performance, but let me say this: I started using Linux because NT 4 was too slow. W2K (approximately) matches the speed of Linux in performing tasks (starting WP vs starting Word97). There's only one other nice change. It hasn't BSoD'd yet. Its stable and quick.
Now, for all you Linux zealots: problems w/ win2k.
Its a beta. I understand that. But it really shouldn't stop being able to look up things via DNS. Its an infrequent problem, but its annoying.
Next, it does kinda take over for you too much. I was surpirsed after a while of using W2k that my application icons in the start menu had disappeared...Windows had a cheerful message telling me that it had optimized my Start menu. I really would have prefered if I could have asked it to do that for me, but ah well. Next, I used to run NT in 1600x1200 perfectly. W2k seems to have trouble drawing at that resolution...I had to revert to 1280x1024 (fyi, its a Matrox G200 SD, 8 meg - drivers come w/ Win2k).
Conclusion. If MS can clean up the problems, Win2k will be *very* nice. Although it can't run servers up the wazoo like Linux can (than again, NT Workstations was never designed to run servers, and therefore shouldn't be tested, IMNSHO), it runs well, far better than any previous MS OS.
Note to MS: Open up the source to NT/W2K. Open Source development of NT would speed up removal of bugs, and I would think that NT would probably speed up as a result. Plus, if the good of Linux and the good of NT could be mixed together into an GPL uber-OS, I would be happy...hell, I would even pay for it...
--------------------------
Maybe when you were working there, you thumbed through a ZD publication or two.
What do you know? They're full of ads for Intel and NT-based products. Big Super Suprise!
--
Business. Numbers. Money. People. Computer World.
Currently the VC++ from microsoft produces far superior x86 code than GCC. I'm surprized that
nobody has commented on this fact yet.
Although GCC is one of the most portable compilers, the RTL generation routines aren't well suited
to the register-poor x86 architecture. The main difference, however, is the code scheduler.
GCC doesn't do much P6 style optimization, where VC++ in conjuction with Vtune from intel is quite
an effective optimization tool for the x86...
It would interesting (but unfortunatly impossible task) to find out how much of the difference is
due to simply the difference in compilers...
Just my 2cents worth...
Isn't that kind of shortsighted?
Linux has many advantages over NT, including increased configurability, open source, GNU utilities, etc.
A few skewed benchmarks don't mean anything. There are benchmarks out there that show Linux beating Windows NT. Benchmarks don't mean that much when there are a lot of other benefits to a platform. It's kind of bad to base your decisions on one benchmark, when you have to consider everything else that you get with the system..
Fine. Why don't you design a benchmark that you think the free Unixes will do better at? I mean computer performance, not price performance. :-) One obvious thing that comes to mind is this risible Samba thing being replaced by NFS. Another is generating dynamic pages instead of static ones. But that's just the start. What else would prove interesting?
And what about running a variety of operating systems on the same hardware? What about BSD? What about Solaris for an x86?
NT's kernel was designed for symmetric multiprocessing from day 1. Every part of the kernel was written with thought given to whether or not it needed to be locked against another processor.
Linux, on the other hand, was originally written for single proc. As I understand it, they only recently started supporting SMP -- and then by having large granularity locks that keep multiple processors out of huge sections of the code at a time. (The article talked about Linux having a single lock around the whole TCP/IP stack!) To fix this, you basically have to go over every line of the code and only lock the things that need to be.
The interesting thing to me, is whether the Linux development model will support this well. Writing SMP code is much harder than single proc code. All those race conditions, deadlocks, and missed data contentions to worry about. People really have to understand what they're doing to get it right. Already there's complaints about the 2.2 kernels not being as stable as the earlier single big lock kernels.
Of course lock granularity doesn't explain the whole picture. NT still trounced Linux pretty badly in even the single proc case. There, I suspect it's just a matter of Microsoft having a greater number of highly qualified people working on the system than Linux does. Not that Linux doesn't have any highly qualified people, but rather that MS can get more of them. Paying people for their labor actually seems to work sometimes.
Posted by Jeremy Allison - Samba Team:
Good question, but as I wasn't there (I was invited, but declined as I was giving a talk at the Paris Linux Expo) I can only speculate.
I doubt it was the context switches, as in all the tests I've done on NetBench these are down in the noise. In this case it may have been the filesystem as it takes some tricks to ensure you are running with an optimal ext2 setup (and rememver there were NT kernel people there tuning the NTFS setup). But Ingo at RedHat has done quite a bit of work on this so I'm still hopeful for a 2.4. re-test.
Regards,
Jeremy Allison,
Samba Team.
How many different servers can you put onto one machine with NT? With Linux? What kind of performance do you get when you have a mail server, DNS server, Web server, etc. all on one machine on NT versus Linux?
These are all things to consider before dismissing Linux because of one benchmark.
---
This sig has been temporarily disconnected or is no longer in service
Benchmarks are good for one thing: Benchmarks.
Benchmarks are fine and great and all, but in all my personal experience changing servers from NT to Linux gave everyone a performence increase... I know this is mearly anecdotal evidence at best, but that's what has worked for me.
[Silly Analogy]
As for the samba tests.. it's something like this: Microsoft makes up a game. Microsoft doesn't tell you how to play the game. You try to learn the game... Microsoft beats you by a little.
[/Silly Analogy]
Of course, this test doesn't show reliability though.. how long could they each handle those loads? Just the (what hour?) time it took to run the test or 24x7 for 6 months....
Anyway, to incorparate everyone other post we'll see: Well, we'll get better.
for just a second...
"What fails to kill me makes me only stronger."
-F. Nietzsche
Thank you. Now quit crying and start coding.
That is all.
I think this feature explains, at least in part, NT's superiority in multiple-CPU raw service.
A side note to flamers: please, PLEASE don't treat these results as suspect or corrupt. I don't think they are. Don't think of them as a defeat, think of them, like ZD said, as a roadmap to show where Linux needs improvement.
I used to run these benchmarks, and worked with the people who wrote them. They were designed to work best on Intel hardware with NT and IIS. It was intentional, and to use a ZD benchmark in this type of comparison is laughable.
------------------------------
NT has put many services in kernelspace and has largely bypassed their HAL in favor of multimedia performance - especially video.
NT uses a multithreaded process model for IIS and SMB file-services that results in higher throughput but less stability. A single thread of the main process may die without completely destabilizing the server but if the main process dies then all child threads die.
Linux divorces the graphical user interface from the kernel thus ensuring stability (framebuffers are available for video enhancement though) and implements most services as userspace daemons.
Linux uses the forked process model to provide services to multiple users. This modem achieves stability in that if one process dies, the others continue as if nothing had happened. Both Apache and SAMBA operate in this way I believe.
NT has chosen performance over stability.
I believe that with kernel enhancements and profiling, any bottlenecks in the networking system can be eradicated causing Linux to perform much faster and possibly even beat NT in tests such as these.
Codifex Maximus ~ In search of... a shorter sig.
I don't know that Samba and Apache selected the forking model by choice. Not to long ago threads really didn't work under linux, so there was no choice. I had a similar experience while working on a video game called Golgotha. We *really* had to have threads, but they didn't exists or didn't work properly.
:)
The kernel has had fundamental support for them for a longer period of time, but a reliable thread safe libc (and libX11) did not surface until recently (the last year or so). Even now the distributions are struggling to get everything converted over to the new glibc.
Even though linux now has good thread support, gdb has trouble with them (last time I checked, which was a while back). Also, apache and samba are not linux-only products. The safest and most portable approach to take back then was to use a forking model.
Other than taking up an too much memory and thus causing swapping, I don't see why a threaded model would be any faster than forking model if pooling is used. Pooling keeps a fixed number of processes running all the time and dispatches request to them. When they finish they sleep and wait for the next request. This way you have the safety of a separate process space and you avoid the forking (as in you "forking piece of sheet") over head. You let each pooled process have a fixed lifetime in order to clean up any leaked memory. Some systems have libc leaks that can't be avoided, so this is important to long-term stability.
You might argue that a thread context switch is less expensive than a process context switch. Under NT (and 95), all threads are scheduled without regard to what process they belong to, so at most could skip some page table changes when going from one thread to the next. I doubt that is the case, because threads jump from ring3 to ring0 and back while executing system functions (ensuring they have different page tables). Also threads have a separate segment mapping for fs. A 3->0->3 context switch is accomplished by an interrupt in NT. One way to speed things up in linux might be to have a way to pool system request up in ring3 and then dispatch them all at once in ring0. NT did this with their GDI code. Doing this for all system calls wouldn't require a huge change in the kernel, but it would make user code harder to write as system calls have to be parallelized. GDI doesn't require any changes to user level code, because there are no return codes to worry about for graphic drawling operations. Xlib has the ability to que up commands as well. But that is not going to speed up apahche.
Another possible advantage to using a thread model is faster IPC. With something like Apache, there shouldn't be very much IPC going on except to dispatch a new request and possibly lock protect common files.
I have not looked at a single line of apache code, so I can't say for sure, but there seem to be a number of httpds running all the time, which would signify that it is using pooling. So why is it slower than the NT counterpart?
-- Virtual Windows Project
The only thing your post proves is that you don't have any operational experience with NT Server. The 16 color VGA or S3 driver running is not exactly "causing slowdowns" on your server. And if something is going to crash on that server, it's certainly not going to be the video driver (unless you have a hardware problem).
You're starting with the conclusion (NT has kernel graphics, Linux doesn't) and working backwards.
--
Business. Numbers. Money. People. Computer World.
But here is our chance to show the world [and MS] why Linux and other OSS projects are such a good idea. By quickly implimenting fixes to the problems brought to light by these test, we can prove how much better OSS is.
Proposal: Annual or semi-annual benchmarking of NT [or the current MS server platform] and Linux [and any other OS's that want to compete I suppose]. By doing similar tests regularly, we can show how efficient OSS can be at fixing current shortcomings [as if 24hr bugfixes aren't enough].
Just a thought. ;)
BTW: Sorry for the overuse of the "OSS" buzzword
I'd help with implimenting fixes myself, but I'm not exactly an expert coder [I don't think "Hello World" will help Linux beat NT]
Ender
If at first you DO succeed, try not to look astonished!
Nothing to see here
But I don't think that this means that speed for web serving should be any more important. Getting back at Microsoft is not a reason to improve Linux in my book. There is are many other fronts that Linux heading toward like the desktop, embedded devices, and hand helds. I can imagine that if Linux is tweeked for web serving more than normal that some test will find Linux useless for embedded devices or something else that is important.
Microsoft right now sees Linux as direct competition as a server. It will be nice to see Linux compete back but don't expect NT to stand still. There are other servers also. How does Linux compare to Mac OS X?
And no more excuses. Linux is not the fastest. Deal with it.
For now.
--
I agree completely.
NT is a 9-second Mustang that has something major break every couple of runs.
Linux is a Toyota Supra Turbo (my example) that can make it down the track in 11s, but also corner, stop, and go hundreds of runs without problems.
Part of NT's speed is from specialized hooks into the kernel for IIS, and SMB. They traded stability for performance.
Linux' design concentrates on stability, rather than speed. No specialized proprietary hooks into the kernel that add complexity. Not quite as fast on the track, but you don't have it blow up every couple passes.
For the price difference between NT and Linux, you can always spread the load over an additional machine to get the performance and keep the stability.
There is no question for good administrators what is more important. I choose stability and well-roundedness over the 9-sec. mustang any day...
"In the other corner, two cardboard boxes; one labeled 'Windows NT Server,' the other 'Microsoft IIS'..."
This all inspired by:
(Yeah yeah, apples to apples...)
-m
I work at a major computer manufacturer and my job is testing the stability of our enterprise storage solutions under different configurations. RH 6.0 Linux, NT 4 & 2000, NW 4.2 & 5, Solaris, etc.
I have done testing which shows that NT is less stable under heavy load (Heavy I/O for extended period, Linux has seen load averages well above 100 for extended periods without problems, NT quite often BSODs when the tests last at these levels last for extended periods) than Linux, even when using some 'beta' Linux drivers for our controllers.
This is not FUD, it is the truth.
It is ignorance, like what you are spreading, that is keeping Microsoft's pockets lined.
On the main page of their test, zdnet state: 'despite significant tuning improvements made on the Linux side, Windows NT 4.0 still beat Linux'..
They didn't, however mention the fact that they formatted the fileserving partitions into 4 separate partitions to improve WinNT's performance on the front page, did they?
Although I can accept that Windows NT might possibly be able to beat Linux, the wording of that reveiw doesn't make me particularly confident it was 100% un-biased.
On a completely off-topic note: while i was editing my preferences the number of comments on this story more than doubled, in about 5 minutes. wow.
This is a weird, amped-up benchmark most closely approximating a really small but insanely trafficky intranet. ;)
I certainly do not routinely see NT boxes performing in such a manner in the real world- and I think it's a very fair question whether even these crazy 4-way 4-ethernet-card monsters would stand up to real world conditions acceptably.
I understand one issue is latency- in other words, if it is faster for NT to serve 200 pages to one place and have another request sitting there for 20 seconds, it does it unhesitatingly to get the numbers measuring higher. Apache apparently is much more willing to pay attention to that one request sitting around getting old, and to balance out the load so that nobody gets too lagged. Of course, this is not being tested for.
This has nothing to do with MS having better people: it is almost entirely due to tradeoffs being made entirely in favor of benchmarks just to get to a place where they can produce numbers like this and have people saying, "I suspect it's just a matter of Microsoft having a greater number of highly qualified people working on the system". Never forget that the benchmarks are by their very nature an exceedingly narrow view of what the job really is. As such, the numbers become meaningless- not only meaningless in the sense of 'I don't care, I'm sick of rebooting the thing', but meaningless in the sense of producing realworld results that measure up to what the benches suggest. It strongly appears that NT servers are capable of flurries of extreme activity, but also lag pockets and serious unreliability issues- in other words, even if the machine has not crashed, your chances of getting guaranteed good response are not that great- the NT server is busy running around serving something it has cached to people in line after you, because doing that increases its benchmarks drastically. This consoles you not
> That is, Linux is LESS STABLE than microkernel architectures because a bad driver or module can't bring down the system. Linux performs better than microkernel systems.
Weeeelllllllll.... depends on the microkernel.
NT clains to be a microkernel, and from what I've read of the design docs, it kinda sorta is. But it loses on the device driver front, because a bad driver will bring down NT every time.
I've finally had it: until slashdot gets article moderation, I am not coming back.
... and next time the advantage will be mine.
You think that the Linux-kernel coders rolls over and play dead? I don't think so...
> Last message I read about it on klm says that performance has recently matched apache.
Any Apache developer will tell you that's nothing to brag about.
I've finally had it: until slashdot gets article moderation, I am not coming back.
I find these studies inadequate as data to inform a purchasing decision. While MS will claim that they have proven NT to be better than Linux for Web and file serving in the general case, I disagree. Here's why:
These studies do not address price/performance. P/P is one of the most important metrics in making a purchase decision; these studies measured only peak performance. That the prices of the Linux-based and NT configurations tested are not given indicates to me that Microsoft wishes price to be disregarded as a factor in purchasing decisions. To do so would be an irresponsible act for any purchaser. Consider that NT license fees increase dramatically with number of clients, while Linux's price is constant and lower than any NT option.
These studies do not address options such as clustering. Clustering is a common solution to the problem of constant high client load. It may well be a better solution (in P/P and in peak performance terms) than simply boosting processing power with multiple processors. It also has reliability advantages.
These studies are not generalizable to other hardware configurations. While MS will claim that they prove that "NT is faster than Linux" inherently, they do not. The HW configuration was selected for the first Mindcraft study, which has been proven to have been engineered to favor Microsoft. Hence the hardware configuration itself is suspect. An across-the-board comparison on various configurations, with P/P as well as peak performance measured, would be a more reasonable comparison of the virtues of the OSes themselves, and would also highlight particular combinations of HW and SW that are worthy of consideration for purchase.
These studies do not address security. The release version of MS IIS has outstanding security holes, including the recent one disclosed by eEye. This was a root compromise which took eight days for Microsoft to admit, and two more to fix. Microsoft classically avoids the subject of real-world security, preferring the proven-worthless tactic of security by obscurity. Security, of course, is a major consideration to be made in purchasing.
These studies do not address stability. Stability, like P/P, is an important metric for purchase decisions. It helps one determine how expensive a system will be to maintain -- one that requires regular resetting or reconfiguration in order to keep operating will cost in manpower; one which crashes a lot will cost in downtime. Downtime costs money in an enterprise situation, and hence should inform purchase decisions strongly.
These studies do not address changing real-world needs. A real server system is rarely left serving static Web pages forever. When needs change, performance will likely change as well. Building a system to meet a single, narrow-minded need is likely to lead to a dead end in terms of scalability.
These studies demonstrate nothing about the future. Based on past trends, one can expect the situation for Linux-based OSes to get better and better. The next version of Windows NT will likely offer decreased performance on the same hardware (due to increased resource consumption by the OS itself) whereas future versions of Linux will likely improve performance. Buying heavily into Windows NT leads one to platform lock-in which may damage one's ability to escape the expensive effects of bloat.
In short, I do not believe that MS has demonstrated that there are advantages to purchasing an NT system over a Linux-based system for real-world file and Web service. Wise system administrators, IS/IT managers, and CIOs should stick with the proven security responsiveness, stability, price/performance, and scalability of Unix-based systems, possibly including Linux-based systems, rather than betting the farm on the Johnny-come-lately Windows NT.
Talk about troll.
Ok. If you insist.
Replace Microsoft with Linux Torvalds.
Hello? Anyone home inside there pal? He doesn't make the GNU tools, nor Apache, or any of that. He makes the kernel. Go read before you open your mouth and say something stupid.
Linux doesn't run SMPs well does it?
NT isn't designed to be a super computer OS. It's a PC operating system, a general purpose OS. DUH.
It's a PC OS huh? CP/M was too correct? General purpose? Yeah right. I could list things that will not run on NT (win progs) but I won't make you look any dumber. You do good enough. DUH.
slashdot.org doesn't run IIS? uh..it's got nothing to do with microsoft..so what?
If you don't see the implication there you need help...
EBAY, Microsoft, Dell run IIS, and they have much bigger websites than slashdot.
Yeah, I never looked at Ebay, and hate Dell. As for the M$ site, every *every* HTTP request I send their servers returns 'Remote connection reset by peer' in Netscape. Nice server.
Microsoft don't grow engineers on trees, their engineers come fromvarious backgrounds (inlcuding unix). They have enough money to hire the best in the world, and they do.
Yeah, you'd think at a cerain point there's such a thing as ENOUGH money.. And when they hire a programmer, he may be creative, smart, innovative, all that crap. But he is no longer 'pure'. He prolly expects to get paid when he goes out with his wife for his 'service' (dinner, not sex).
You probably have your face stuck up somewhere dark to realise you can't comapre vi or emacs to Office 2000 and complain how large Office is etc. Office does MUCH more, and Microsoft's products simplyfy working, which is more than I can say for Linux/Unix.
All M$ products are overly bloated for one thing, and Office is no exception. Sure it does lots of kewl little things, but hell, I can make a picture that does lots of kewl things with two pencils and some resin (from a tree).
They simplify working by making everyone work the way THEY want them to. Nice company.
Sure, there are you guys out there who don't want things to be simple, you'd rather excercise your brains doing "hard" things like mounting NFS/SMB dirves by typing rather than doing it in a few clicks.
You go ahead and play with your mouse. We know you depend on that little thing. We however know, and will continue to, how to do things without a mouse. Guess who's gonna be using who's programs here?
I prefer to have the OS do as much as it can, while I get on with the real work. If by any chance, I need to do things manually, I go and do it.
Oh, Win does as much as it can. Mostly collecting files it doesn't need, eating your prefs/settings, and if you are really lucky it might eat a partition or two. Nice OS.
And what's your problem? Are you on medication?
Why, you got something good?
MS Write, MS Bob? So what? How about MS Windows, MS Office (Word, Excel, Access, Powerpoint etc), MS Visual Studio, MS J++ (if the best selling javaproduct), MS Exchange, MS SQL Server, MS Internet Explorer, MS IIS, MS COM (the most successful component model in the entire world), MS MTS, MS DTC..all pretty much defacto standards now...and that's only to mention a few.
Those are standards (well, the ones that are in that list) are only because of brute force and M$'s anticompetitive nature. How can you compete with 100 bucks in your pocket when they got a billion they'd just as soon stick up your ass as anything?
Unlike Linux users MS doesn't claim not to make mistakes, infact Gates even showed the video of Win98's BSOD last year, again this year at COMDEX.
So you compare Linux *USERS* to Microsoft's *PROGRAMMERS* eh? You think every Joe who uses Linux is a programmer? I pity you and your world.
That video is something I'd like to see again tho.. always good for a laugh. Although what's the point of reshowing a BSOD, truthfully? Who hasn't seen more than they can possibly count of them already? Kinda redundant if you ask me.
Happy clicking. I'll be off to play around with my Linux box, to change it's basic settings. Like to see NT (95/98/2K) do that. *chuckle*
that doesn't explain the HTTP perf diff though... Is IIS also in the kernel on NT?
Consider who you're talking about; I'd consider that while IIS itself probably isn't in the kernel, it access top-secret M$ stuff which is.
also, why can't we do a similar multi-threaded implementation on Linux?
I don't know. It probably is possible; it just hasn't been done yet. I'd consider these tests to be a sign that it needs doing.
Hm, if you look, there are two posts by this AC which are EXACTLY the same. There is an interesting thread on the first one. This one is um... redundant.
First thing.... These tests where much better but they still manage to miss the mark.
.htaccess files on commonly accessed files nested five directories deep. Not .htaccess file .htaccess files as possible. This
.htaccess file that is already slowing things down also has
:)
Ok, just in case anyone still thinks these tests are worth a shit. I'd like to clearify that this is pure and unadulterated shit. There now that the
childish remarks are through. I'll do some intelligent speaking.
First off, I don't doubt this to be shit from the get go. I'm an MCSE (my work paid for it) and I know the insane amount of system reasources it
takes to run a NT Server alone. Yes, I know how to properly configure an NT Server right down to the streamlining of the registry. Plus, we have
all been through the multiple restarts and memory that applications won't let go of after using it. Not to mention all the swapping and overhead
processing. Don't get me started with IIS 4.0.
There is a new bug found almost on a daily basis that spells doom for these servers. Plus, IIS 4.0 doesn't have near the amount of features and
configuration possiblities as Apache does. Next Apache needs someone who knows it inside and out to configure it. This is due to Apache's
extreme flexiablity.
Say that average joe smith sets up his Apache server and uses
uncommon with big sites where management is broken up. Well, for every request on the document Apache will check with each
per directory. So if this file is accessed 100 times. Apache will check 500 times for the rights to that file.
Because it will check the root to the next directory to the next. And merge the config files it finds along the way. Making Apache check 5 times
per document requested. But, on the up side if you need infinately specific rights to files. This is a god send that can be reduced by placing
commonly requested documents near the root of the (don't fork the directories too much)server. And using as few
is why you should try to place as much configuration as possible in the gobal configuration files and preferrably in the server configuration file. I'll
explain the last part of that last sentence next.
When Apache is looking into what the rights are for a requested file. It checks certain files in certain orders. And within those files it checks it
against the directives in the order they are placed in the config file. Meaning if that same
the most requested file in the directory near the bottom of the config file. It will take longer. Maybe not whole seconds longer. But, enough on
heavy sites to make an impact.
These are just two of the many configuration tips for Apache a person can pick up when they rtfm (Read The Fucking Manual)and even reading
the source.
And all the rest of the way IIS doesn't have as flexiable a rights system. Nor does it handle dynamic pages as well as Apache. Infact IIS 4.0 will
work fine if it isn't that compilcated a site, the pages are static, and the machine is so big it won't ever see a processor load near 100%.
Apache has that complete control rights system. It handles dynamic pages bueatifully. And doesn't freak when heavy loads hit. It will just keeps
chugging away.
As for file serving? I can't say. I'm not anywhere near an expert at samba. But, I do know that my Linux box boots faster, handles heavier loads
better, and memory management is bueatiful. And to make another remark.
RedHat should not be the version of Linux they are pitting against NT. Sorry, this isn't a direct RedHat sucks type deal. It's a use Slackware or
something and so you can minimize the system to do only what it is suppose to do. And recompile everything to be optimized with the systems
hardware. Maybe not even Slackware. Just something streamlined. Redhat is actually a great system for the home user. That's the way they
seem to be heading nowadays. And I applaud them for it. My it's now easy enough for my mother to use it.
Personally, once again you can look at the source of the tests and wonder why the outcome is the same. These companies are heavily dependent
on Microsoft products. And some have been funded by Microsoft. Mindcraft even did there tests in Microsoft's labs. Of course they aren't going
to say anything bad about Microsoft.
The real test should be here is X amount of dollars. Put, together the best system you can. Linux would kick the fucking shit out of MS. For the
amount of the software alone you could put together a Beawolf cluster that would crush any NT Enterprise 4-way SMP box. I know, I tried this
before when installing many NT systems to upgrade a hospitial. Personally, I won't go there if I'm shot. But, that Linux cluster is up to this very
day without a reboot performing critical storage and access control for CAT scan images. On the other hand the NT clusters (if you can call it
true clustering) are constantly having parts of them rebooted.
Whatever, don't believe this stuff. It's just FUD and the media looking for conflict.
Eros -- I know what every file on my box is there for..... Do you?
NT has preemptive multithreading, and IIS uses NT's threading to do it's work (including getting requests, and assigning them to a thread). You won't see a problem with what you're talking about. That's the whole point of threading, and why NT is faster than Linux. It doesn't matter how big a pipe a certain user has, NT will assign a 'timeslot' for that thread, then move onto the next, all threads will get equal priority.
It's more likely that Linux is guilty of what you say (certainly, we know that the ip stack of linux is guilty of this). And the performance of linux on SMPs shows how guilty it is of pending other tasks because of it's lack of threading (or use of).
I'm an administrator for a large (1000+ node) NT 4.0 SP3 network. I have direct responsibility for about 120 workstations and 2 servers. I can say from personal experience that NT is very unstable, and it doesn't even have anything to do with the GUI-kernel connection. Our main server, a BDC, file, and print server crashed about every two weeks for a year before we finally gave up and set the damn thing to reboot every night. The thing would be sitting there with its monitor off and users would start complaining that the file server was unavailable. We'd turn on the monitor and sure enough, the machine was locked solid - only a power down would reboot it. And when the machine comes back up all you can do is look at the log files to see about when it crashed. Other than that you get no debugging info at all.
By contrast, we have a Linux box running our very active intranet web site. We've had it up for 6 months and it has run flawlessly. Interestingly, I set up the Linux web server in the first place because I was tired of IIS failing for no apparent reason (the site had been hosted by IIS).
Oh, and the Linux box is an old P166 with 16MB RAM, the NT server is a brand new Dell Poweredge 2300 dual PII 350 with 128MB RAM, hardware RAID 5, 3 hot-swappable 9 GB cheetahs. All that reliability hardware wasted on an OS that can't stay up for two weeks!
It's certainly not for technical reasons that people choose NT over *nix.
Chris
simpkins@tilc.com
(The links to simpkins.org don't work - I'm moving to a new server.)