Re: 2.4.8-pre1 and dbench -20% throughput

Andrew Morton
2001-07-29T01:41:50Z

Daniel Phillips wrote:
>
> Oh, by the way, my suspicions about the flakiness of dbench as a
> benchmark were confirmed: under X, having been running various memory
> hungry applications for a while, dbench on vanilla 2.4.7 turned in a 7%
> better performance (with a distinctly different process termination
> pattern) than in text mode after a clean reboot.

Be very wary of optimising for dbench.

It's a good stress tester, but I don't think it's a good indicator of how
well an fs or the VM is performing. It does much more writing than a
normal workload mix. It generates oceans of metadata.

It would be very useful to have a standardised and very carefully
chosen set of tests which we could use for evaluating fs and kernel
performance. I'm not aware of anything suitable, really. It would
have to be a whole bunch of datapoints sprinkled throughout a
multidimesional space. That's what we do at present, but it's ad-hoc.

> Maybe somebody can explain to me why there is sometimes a long wait
> between the "+" a process prints when it exits and the "*" printed in
> the parent's loop on waitpid(0, &status, 0). And similarly, why all
> the "*"'s are always printed together.

Heaven knows. Seems that sometimes one client makes much more
progress than others. When that happens, other clients coast
along on its coattails and they start exitting waaay earlier
than they normally do. The overall runtime can vary by a factor
of two between identical invokations.

The fact that a kernel change causes a decrease in dbench throughput
is by no means a reliable indication that is was a bad change. More
information needed.

-