IDE performance drop between 2.4.23 and 2.6.0
Hi!
IO scheduler issue? Please try repeating your tests with 'elevator=deadline' at boot.
2003-12-23, k keltezéssel Jean-Luc Fontaine ezt írta:
Quoted 4 lines
Using hdparm -Tt
/dev/hdb:on 2.4:
Timing buffer-cache reads: 168 MB in 2.01 seconds =
83.58 MB/sec
Quoted 1 line
Timing buffered disk reads: 44 MB in 3.12 seconds =
14.10 MB/sec
Quoted 2 lines
on 2.6:
Timing buffer-cache reads: 172 MB in 2.02 seconds =
84.95 MB/sec
Quoted 1 line
Timing buffered disk reads: 34 MB in 3.08 seconds =
11.04 MB/sec
Quoted 7 lines
Note the big drop of of 3 MB/sec on disk reads.
dmesg (edited) gives:
on 2.4:
VP_IDE: VIA vt82c586b (rev 41) IDE UDMA33 controller on
pci00:07.1
Quoted 2 lines
hdb: IC35L040AVVN07-0, ATA DISK drive
hdb: 80418240 sectors (41174 MB) w/1863KiB Cache,
CHS=79780/16/63,
Quoted 3 lines
UDMA(33)
on 2.6:
VP_IDE: VIA vt82c586b (rev 41) IDE UDMA33 controller on
pci0000:00:07.1
Quoted 2 lines
hdb: IC35L040AVVN07-0, ATA DISK drive
hdb: 80418240 sectors (41174 MB) w/1863KiB Cache,
CHS=65535/16/63,
Quoted 3 lines
UDMA(33)
hdparm -i output is identical between the 2 kernels and
hdparm settings
Quoted 3 lines
are identical as follows (except cylinders as above):
Model=IC35L040AVVN07-0, FwRev=VA2OAG0A,
SerialNo=VNP210B2RAP0TB
Quoted 3 lines
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs } RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=52 BuffType=DualPortCache, BuffSize=1863kB, MaxMultSect=16,
MultSect=16
Quoted 1 line
CurCHS=16383/16/63, CurSects=16514064, LBA=yes,
LBAsects=80418240
Quoted 1 line
IORDY=on/off, tPIO={min:240,w/IORDY:120},
tDMA={min:120,rec:120}
Quoted 21 lines
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 *udma2 udma3 udma4 udma5 AdvancedPM=yes: disabled (255) WriteCache=enabled Drive conforms to: ATA/ATAPI-5 T13 1321D revision 1:multcount = 16 (on) IO_support = 1 (32-bit) unmaskirq = 1 (on) using_dma = 1 (on) keepsettings = 0 (off) readonly = 0 (off) readahead = 8 (on)geometry = 79780/16/63, sectors = 80418240, start = 0
I noticed a difference in dmesg:
on 2.4:
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
on 2.6:
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
Quoted 3 lines
Could that make a difference?
Please let me know if you'd like me to run more tests,
patch kernels,
Quoted 7 lines
..., anything to regain the performance.
Many thanks in advance,
Signature · 1 line
Jean-Luc Fontaine
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Max Payne wrote:
| IO scheduler issue? Please try repeating your tests with | 'elevator=deadline' at boot.
Thank you for your suggestion. I tried it but it made no improvement.
Jean-Luc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/6yuhkG/MMvcT1qQRAukuAKCysq9MoIQRmLqdpwR45pV/CeTfWQCfTZ/M uReMaFTKZu7mrzcgtsZ+Ds0=
=QQ7T
-----END PGP SIGNATURE-----
IDE performance drop between 2.4.23 and 2.6.0: fixed in 2.6.1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Using hdparm -Tt /dev/hdb:
on 2.4:
~ Timing buffer-cache reads: 168 MB in 2.01 seconds = 83.58 MB/sec ~ Timing buffered disk reads: 44 MB in 3.12 seconds = 14.10 MB/sec on 2.6.0: ~ Timing buffer-cache reads: 172 MB in 2.02 seconds = 84.95 MB/sec ~ Timing buffered disk reads: 34 MB in 3.08 seconds = 11.04 MB/sec on 2.6.1: ~ Timing buffer-cache reads: 172 MB in 2.01 seconds = 85.14 MB/sec ~ Timing buffered disk reads: 44 MB in 3.07 seconds = 14.35 MB/sec
and that straight after boot, without any tweaking from hdparm.
Great job: many thanks!
- --
Jean-Luc Fontaine
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE//96KkG/MMvcT1qQRAlxgAJ4hSX+ZmR9VxyfMDVxDiqiUxDHbHgCfWZK2 VVr7uDsdWt7lUKtdp+94+oE=
=09ZJ
-----END PGP SIGNATURE-----