I put my eyes on /etc/rc.d/* and found hdparm doing some magic; then I tried
to fiddle with its params and came to this: the problem lied in fs readahead
(hdparm -a xxx). Tried various numbers:
fs readahead throughput in 2.5.66 throughput in 2.4.21-pre6
-----------------------------------------------------------------
0 11.94 MB/sec 40.00 MB/sec
8 12.01 MB/sec 38.79 MB/sec
16 12.04 MB/sec 40.25 MB/sec
24 15.22 MB/sec 39.51 MB/sec
32 15.17 MB/sec 40.00 MB/sec
40 15.20 MB/sec 39.02 MB/sec
48 15.26 MB/sec 40.00 MB/sec
56 17.60 MB/sec 40.25 MB/sec
64 16.03 MB/sec 40.00 MB/sec
64 15.95 MB/sec 40.25 MB/sec
72 17.32 MB/sec 40.00 MB/sec
80 18.34 MB/sec 40.25 MB/sec
88 18.72 MB/sec 40.25 MB/sec
96 16.04 MB/sec 39.26 MB/sec
104 16.68 MB/sec 40.25 MB/sec
112 18.25 MB/sec 39.02 MB/sec
120 18.42 MB/sec 40.00 MB/sec
128 19.17 MB/sec 39.26 MB/sec
136 26.67 MB/sec 40.00 MB/sec
144 39.31 MB/sec 39.51 MB/sec
152 39.58 MB/sec 39.75 MB/sec
160 39.68 MB/sec 40.25 MB/sec
168 39.98 MB/sec 40.25 MB/sec
176 39.85 MB/sec 40.51 MB/sec
184 40.18 MB/sec 40.00 MB/sec
So I disabled setting fs readahead (the default values are O.K.). Seems
like setting fs readahead doesn't make any change on 2.4 kernels.
Cheers,
Vita
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/