public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* IDE performance drop between 2.4.23 and 2.6.0
@ 2003-12-23 12:42 Jean-Luc Fontaine
  0 siblings, 0 replies; 13+ messages in thread
From: Jean-Luc Fontaine @ 2003-12-23 12:42 UTC (permalink / raw)
  To: linux-kernel

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:
  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

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
  hdb: IC35L040AVVN07-0, ATA DISK drive
  hdb: 80418240 sectors (41174 MB) w/1863KiB Cache, CHS=79780/16/63, 
UDMA(33)
on 2.6:
  VP_IDE: VIA vt82c586b (rev 41) IDE UDMA33 controller on pci0000:00:07.1
  hdb: IC35L040AVVN07-0, ATA DISK drive
  hdb: 80418240 sectors (41174 MB) w/1863KiB Cache, CHS=65535/16/63, 
UDMA(33)

hdparm -i output is identical between the 2 kernels and hdparm settings 
are identical as follows (except cylinders as above):

  Model=IC35L040AVVN07-0, FwRev=VA2OAG0A, SerialNo=VNP210B2RAP0TB
  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
  CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=80418240
  IORDY=on/off, tPIO={min:240,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=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

Could that make a difference?

Please let me know if you'd like me to run more tests, patch kernels, 
..., anything to regain the performance.


Many thanks in advance,

-- 
Jean-Luc Fontaine


^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: IDE performance drop between 2.4.23 and 2.6.0
@ 2003-12-24  9:27 Vid Strpic
  2003-12-24 15:17 ` Gene Heskett
  0 siblings, 1 reply; 13+ messages in thread
From: Vid Strpic @ 2003-12-24  9:27 UTC (permalink / raw)
  To: Jean-Luc Fontaine; +Cc: linux-kernel

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

On Tue, Dec 23, 2003 at 01:42:22PM +0100, Jean-Luc Fontaine wrote:
> 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:
>   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
> 
> Note the big drop of of 3 MB/sec on disk reads.

Consider yourself lucky :o)

I had a drop from 55Mb/s to around 35, 2.4.22->2.6.0-test&final.
Promise 20265, Seagate Barracuda 7.7200 80Gb, so nice ;)

-- 
           vms@bofhlet.net, IRC:*@Martin, /bin/zsh. C|N>K
Linux moria 2.6.0 #3 Thu Dec 18 14:21:52 CET 2003 i686
 10:24:23 up 17:28, 11 users,  load average: 0.50, 0.44, 0.41
A clear conscience is usually the sign of a bad memory.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: IDE performance drop between 2.4.23 and 2.6.0
@ 2003-12-25  5:20 Luis Miguel García
  0 siblings, 0 replies; 13+ messages in thread
From: Luis Miguel García @ 2003-12-25  5:20 UTC (permalink / raw)
  To: linux-kernel

I cannot compare 2.4 with 2.6, but I think this is not too much...

It's a nforce2 motherboard, paralel-ATA and Seagate Barracuda IV (or V, 
I cannot remember). AthlonXP-2500+.

Any of the IDE gurus can say something about this?

Thanks!!


/dev/hda:
 Timing buffer-cache reads:   1740 MB in  2.00 seconds = 868.83 MB/sec
 Timing buffered disk reads:   94 MB in  3.03 seconds =  31.03 MB/sec


bash-2.05b# hdparm /dev/hda

/dev/hda:
 multcount    = 16 (on)
 IO_support   =  1 (32-bit)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    = 256 (on)
 geometry     = 65535/16/63, sectors = 156301488, start = 0

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: IDE performance drop between 2.4.23 and 2.6.0
@ 2003-12-25 13:56 Luis Miguel García
  2003-12-25 14:35 ` Ed Sweetman
  0 siblings, 1 reply; 13+ messages in thread
From: Luis Miguel García @ 2003-12-25 13:56 UTC (permalink / raw)
  To: LINUX KERNEL MAILING LIST

Hello:

Any of you knows how to look at this results? They still seems very low 
for me. It's an AMD Athlon 2500+. Hard Disc Seagate Barracuda ATA V. 
Nforce-2 motherboard.

kernel 2.6.0-test11

Any tip? Or is this correct?

bonnie++

Version  1.03       ------Sequential Output------ --Sequential Input- 
--Random-
                    -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- 
--Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  
/sec %CP
txiki            2G 21270  87 32856  11 10533   3 10962  51 28744   5 
157.0   0
                    ------Sequential Create------ --------Random 
Create--------
                    -Create-- --Read--- -Delete-- -Create-- --Read--- 
-Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  
/sec %CP
                 16 21675  96 +++++ +++ 23523 100 23700  99 +++++ +++ 
13062  61
txiki,2G,21270,87,32856,11,10533,3,10962,51,28744,5,157.0,0,16,21675,96,+++++,++
+,23523,100,23700,99,+++++,+++,13062,61
bash-2.05b$

^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: IDE performance drop between 2.4.23 and 2.6.0
@ 2003-12-25 16:39 Max Payne
  2003-12-25 18:25 ` Jean-Luc Fontaine
  0 siblings, 1 reply; 13+ messages in thread
From: Max Payne @ 2003-12-25 16:39 UTC (permalink / raw)
  To: jfontain; +Cc: linux-kernel

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:

> 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:
>   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
> 
> 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
>   hdb: IC35L040AVVN07-0, ATA DISK drive
>   hdb: 80418240 sectors (41174 MB) w/1863KiB Cache,
CHS=79780/16/63, 
> UDMA(33)
> on 2.6:
>   VP_IDE: VIA vt82c586b (rev 41) IDE UDMA33 controller on
pci0000:00:07.1
>   hdb: IC35L040AVVN07-0, ATA DISK drive
>   hdb: 80418240 sectors (41174 MB) w/1863KiB Cache,
CHS=65535/16/63, 
> UDMA(33)
> 
> hdparm -i output is identical between the 2 kernels and
hdparm settings 
> are identical as follows (except cylinders as above):
> 
>   Model=IC35L040AVVN07-0, FwRev=VA2OAG0A,
SerialNo=VNP210B2RAP0TB
>   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
>   CurCHS=16383/16/63, CurSects=16514064, LBA=yes,
LBAsects=80418240
>   IORDY=on/off, tPIO={min:240,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=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
> 
> Could that make a difference?
> 
> Please let me know if you'd like me to run more tests,
patch kernels, 
> ..., anything to regain the performance.
> 
> 
> Many thanks in advance,
> 
> -- 
> Jean-Luc Fontaine



^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: IDE performance drop between 2.4.23 and 2.6.0
@ 2003-12-27 14:43 Jean-Luc Fontaine
  2003-12-27 17:40 ` Linus Torvalds
  0 siblings, 1 reply; 13+ messages in thread
From: Jean-Luc Fontaine @ 2003-12-27 14:43 UTC (permalink / raw)
  To: linux-kernel; +Cc: kernel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I solved the problem in a very strange way. Note that the (b) disk
performance only improves after readahead has been increased on another
(c) drive! (the (c) drive performance was also increased by to 2.4
levels but is not shown here). I could reliably repeat this behavior
after rebooting.

Can any IDE expert explain it?

# hdparm /dev/hdb
~ multcount    =  0 (off)
~ IO_support   =  1 (32-bit)
~ unmaskirq    =  1 (on)
~ using_dma    =  1 (on)
~ keepsettings =  0 (off)
~ readonly     =  0 (off)
~ readahead    = 256 (on)
~ geometry     = 65535/16/63, sectors = 80418240, start = 0
# hdparm -t /dev/hdb
~ Timing buffered disk reads:   34 MB in  3.09 seconds =  11.02 MB/sec
# hdparm -a 4096 /dev/hdb
/dev/hdb: readahead = 4096 (on)
# hdparm -t /dev/hdb
~ Timing buffered disk reads:   34 MB in  3.08 seconds =  11.04 MB/sec
# hdparm -a 4096 /dev/hdc
/dev/hdc: readahead = 4096 (on)
# hdparm -t /dev/hdb
~ Timing buffered disk reads:   46 MB in  3.12 seconds =  14.76 MB/sec



- --
Jean-Luc Fontaine  mailto:jfontain@free.fr  http://jfontain.free.fr/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/7ZqDkG/MMvcT1qQRAvLKAKC0t3Lsq+B4DBCAwQVadoXVkPxahACfZbfU
UBE4kGDSf6WpuMRtsuxSJCU=
=0u8i
-----END PGP SIGNATURE-----


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

end of thread, other threads:[~2003-12-27 19:54 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-23 12:42 IDE performance drop between 2.4.23 and 2.6.0 Jean-Luc Fontaine
  -- strict thread matches above, loose matches on Subject: below --
2003-12-24  9:27 Vid Strpic
2003-12-24 15:17 ` Gene Heskett
2003-12-24 17:24   ` Gordon Larsen
2003-12-25  5:20 Luis Miguel García
2003-12-25 13:56 Luis Miguel García
2003-12-25 14:35 ` Ed Sweetman
2003-12-25 20:35   ` Luis Miguel García
2003-12-25 16:39 Max Payne
2003-12-25 18:25 ` Jean-Luc Fontaine
2003-12-27 14:43 Jean-Luc Fontaine
2003-12-27 17:40 ` Linus Torvalds
2003-12-27 19:54   ` Jean-Luc Fontaine

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