Archive of UserLand's first discussion group, started October 5, 1998.

Re: How to respond with dignity?

Author:Eric Kidd
Posted:5/14/1999; 8:28:48 AM
Topic:How to respond with dignity?
Msg #:6219 (In response to 6211)
Prev/Next:6218 / 6220

I think you end up with artificial efficiency if you try to make a server perform well under benchmark tests.

Yes. The GCC team at Cygnus has a very firm rule: they will never modify GCC just to look better on a particular benchmark.

Similarly, the Apache group believes that they're optimizing for real world use. But if the real world has changed, and people are running $50,000 Quad Xeon servers with four 100Mbit Ethernet cards, then the Apache folks need to spend less time optimizing for clusters of million hit-a-day sites and more time optimizing for single 3,000 hit-per-second sites.

To be fair, the ZDNet tests did discover a serious flaw in Apache. It's called the "Thundering Herd" effect. They set the machines up to run about 200 copies of Apache (which is how Apache works on this scale), and all the copies waited on the same socket. Apparently, when a connection came in, all 200 copies would wake up, and the kernel would put 199 of them back to sleep immediately. This is obviously stupid, but nobody had ever noticed this problem in the real world.

Linus and the other kernel hackers are working on a fix, obviously. They'll release something soon.

Somehow IIS was able to breeze thru all those benchmarks, but still Unix is the OS of choice for large-scale systems serving millions of users.

Well, we want to study the numbers carefully. If ZDNet has discovered genuine performance problems, we should admit that we lost, and fix the problems in question. NT's kernel threads used to be much faster than Linux's kernel threads on certain benchmarks, and close study of where Linux lost discovered some genuine problems. Linux is cool, and all that, but it obviously can't win every single benchmark on every single hardware configuration.

But my larger question remains: Should we play the whole benchmark game at all? We could spend all day digging up examples where Linux outperformed NT (Oracle, file sharing with NT clients) and Microsoft could look for counter-examples (SpecWeb, file sharing with Windows 98 clients). The Linux kernel hackers could tune Linux for each of the benchmarks, and Microsoft could implement more registry entries.

But does this actually help real users? Linux has always concentrated on what people care about. Would it help anybody here for Linux to have better SpecWeb numbers? This is an honest question. If you need Linux to run faster at a specific task, please say so.

Cheers, Eric


There are responses to this message:


This page was archived on 6/13/2001; 4:50:09 PM.

© Copyright 1998-2001 UserLand Software, Inc.