Re: Benchmarking 2.2 and 2.4 using hdparm and dbench 1.1

Anton Blanchard (anton@linuxcare.com.au)
Fri, 5 Jan 2001 00:46:45 +1100


> 1) Why does the hdbench numbers go down for 2.4 (only) when 32 MB is used?
> I fail to see how that matters, especially for the '-T' test.

When I did some tests long ago, hdparm was hitting the buffer cache hash
table pretty hard in 2.4 compared to 2.2 because it is now smaller. However
as davem pointed out, most things don't do such things so resizing the hash
table just for this is a waste.

Since the hash is based on RAM, it may end up being big enough on the 128M
machine.

> 3) The 2.2 kernels outperform the 2.4 kernels for few clients (see
> especially the "dbench 1" numbers for the PII-128M. Oops!

dbench was sleeping up to 1 second between starting the clock and starting
the benchmark. This made small benchmarks (ie especially dbench 1) somewhat
variable. Grab the latest version from pserver.samba.org (if you havent
already).

> The reason for doing the benchmarks in the first place is that my 32MB P90
> at home really does perform noticeably worse with samba using 2.4 kernels
> than using 2.2 kernels, and that bugs me. I have no hard numbers for that
> machine (yet). If they will show anything extra, I will post them here.

What exactly are you seeing?

> Btw, has anyone else noticed samba slowdowns when going from 2.2 to 2.4?

I am seeing good results with 2.4 + samba 2.2 using tdb spinlocks.

Anton
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/