public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Strange IDE performance change in 2.6.1-rc1 (again)
@ 2004-01-02 16:02 Paolo Ornati
  2004-01-02 18:08 ` Ed Sweetman
  0 siblings, 1 reply; 38+ messages in thread
From: Paolo Ornati @ 2004-01-02 16:02 UTC (permalink / raw)
  To: linux-kernel; +Cc: William Lee Irwin III, Ed Sweetman

[-- Attachment #1: Type: text/plain, Size: 2331 bytes --]

As I have already said I have noticed a strange IDE performance change 
upgrading from 2.6.0 to 2.6.1-rc1.

Now I have more data (and a graph) to show: the test is done using
"hdparm -t dev/hda" at various readahead (form 0 to 512).

o SCRIPT

#!/bin/bash

MIN=0
MAX=512

ra=$MIN
while test $ra -le $MAX; do
    hdparm -a $ra /dev/hda > /dev/null;
    echo -n $ra$'\t';
    s1=`hdparm -t /dev/hda | grep 'Timing' | cut -d'=' -f2| cut -d' ' -f2`;
    s2=`hdparm -t /dev/hda | grep 'Timing' | cut -d'=' -f2| cut -d' ' -f2`;
    s=`echo "scale=2; ($s1+$s2)/2" | bc`;
    echo $s;
    ra=$(($ra+16));
done


o RESULTS for 2.6.0  (readahead / speed)

0	13.30
16	13.52
32	13.76
48	31.81
64	31.83
80	31.90
96	31.86
112	31.82
128	31.89
144	31.93
160	31.89
176	31.86
192	31.93
208	31.91
224	31.87
240	31.18
256	26.41
272	27.52
288	31.74
304	27.29
320	27.23
336	25.44
352	27.59
368	27.32
384	31.84
400	28.03
416	28.07
432	20.46
448	28.59
464	28.63
480	23.95
496	27.21
512	22.38


o RESULTS for 2.6.1-rc1  (readahead / speed)

0	13.34
16	25.86
32	26.27
48	24.81
64	26.26
80	24.88
96	27.09
112	24.88
128	26.31
144	24.79
160	26.31
176	24.51
192	25.86
208	24.35
224	26.48
240	24.82
256	26.38
272	24.60
288	31.15
304	24.61
320	26.69
336	24.54
352	26.23
368	24.87
384	25.91
400	25.74
416	26.45
432	23.61
448	26.44
464	24.36
480	26.80
496	24.60
512	26.49


The graph is attached. (x = readahead && y = MB/s)

The kernel config for 2.6.0 is attached (for 2.6.1-rc1 I have just used 
"make oldconfig").

INFO on my HD:

/dev/hda:

 Model=WDC WD200BB-53AUA1, FwRev=18.20D18, SerialNo=WD-WMA6Y1501425
 Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
 RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=40
 BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=39102336
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 *udma4 udma5
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: device does not report version:  1 2 3 4 5

INFO on my IDE controller:

00:04.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus 
Master IDE (rev 10)


Comments are welcomed.

Bye,

-- 
	Paolo Ornati
	Linux v2.4.23







[-- Attachment #2: graph.png --]
[-- Type: image/png, Size: 5870 bytes --]

[-- Attachment #3: config-2.6.0.gz --]
[-- Type: application/x-gzip, Size: 3611 bytes --]

^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2004-03-29 15:45 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-02 16:02 Strange IDE performance change in 2.6.1-rc1 (again) Paolo Ornati
2004-01-02 18:08 ` Ed Sweetman
2004-01-02 21:04   ` Paolo Ornati
2004-01-02 21:27     ` Valdis.Kletnieks
2004-01-03 10:20       ` Paolo Ornati
2004-01-02 21:32     ` Mike Fedyk
2004-01-02 22:34       ` Martin Josefsson
2004-01-03 11:13         ` Paolo Ornati
2004-01-03 22:40           ` Andrew Morton
2004-01-04 14:30             ` Paolo Ornati
2004-01-05 23:19               ` Ram Pai
2004-01-07 14:59                 ` Paolo Ornati
2004-01-07 19:23                   ` Ram Pai
2004-01-07 20:12                     ` Paolo Ornati
2004-01-07 23:57                       ` Andrew Morton
2004-01-08  7:31                         ` Ram Pai
2004-01-09  1:05                         ` Ram Pai
2004-01-09  1:17                           ` Andrew Morton
2004-01-09 19:15                             ` Ram Pai
2004-01-09 19:44                               ` Andrew Morton
2004-01-10 14:48                               ` Paolo Ornati
2004-01-10 16:00                                 ` Ed Sweetman
2004-01-10 16:19                                   ` Ed Sweetman
2004-01-10 17:29                                     ` Paolo Ornati
2004-01-10 17:29                                   ` Paolo Ornati
2004-03-29 15:45               ` Ram Pai
2004-01-04 17:15             ` Buffer and Page cache coherent? was: " Mike Fedyk
2004-01-04 22:10               ` Andrew Morton
2004-01-04 23:22                 ` Mike Fedyk
2004-01-04 23:32                   ` Andrew Morton
2004-01-04 23:45                     ` Mike Fedyk
2004-01-05  0:23                       ` Andrew Morton
2004-01-03 10:20       ` Paolo Ornati
2004-01-03  3:33     ` Tobias Diedrich
2004-01-03  4:15       ` Valdis.Kletnieks
2004-01-03 13:39         ` Tobias Diedrich
2004-01-03 20:56           ` Tobias Diedrich
2004-01-04  3:02         ` jw schultz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox