[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#520928: PIIX performance regression still present in lenny's 2.6.26*



Why this bug was marked
"No longer marked as found in versions 2.6.26-13lenny2. "
?

I have newest lenny kernel and problem is stil present.
(It is annoying, but becuase I have most of data on scsi disks,
IDE performance isn't very important currently beyond booting system)

root@noisy:~# hdparm -tT /dev/hda

/dev/hda:
 Timing cached reads:     2 MB in  3.25 seconds = 630.59 kB/sec
 Timing buffered disk reads:    2 MB in  3.43 seconds = 597.07 kB/sec

root@noisy:~# hdparm -tT /dev/hda

/dev/hda:
 Timing cached reads:    24 MB in  2.02 seconds =  11.89 MB/sec
 Timing buffered disk reads:    4 MB in  3.56 seconds =   1.12 MB/sec

root@noisy:~# hdparm -tT /dev/hda

/dev/hda:
 Timing cached reads:    16 MB in  2.06 seconds =   7.78 MB/sec
 Timing buffered disk reads:    4 MB in  3.14 seconds =   1.27 MB/sec
root@noisy:~# hdparm --direct -tT /dev/hda

/dev/hda:
 Timing O_DIRECT cached reads:     4 MB in  2.87 seconds =   1.39 MB/sec
 Timing O_DIRECT disk reads:    6 MB in  4.36 seconds =   1.38 MB/sec
root@noisy:~# hdparm --direct -tT /dev/hda

/dev/hda:
 Timing O_DIRECT cached reads:     4 MB in  2.74 seconds =   1.46 MB/sec
 Timing O_DIRECT disk reads:    6 MB in  4.37 seconds =   1.37 MB/sec

#


As one can see it is even worse than it was (my previous reports given about 1.5 MB/s buffered disk read).


root@noisy:~# hdparm -d /dev/hda

/dev/hda:
 using_dma     =  0 (off)

root@noisy:~# hdparm -d1 /dev/hda

/dev/hda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Input/output error
 using_dma     =  0 (off)

# dmesg | tail
[6545265.490382] hda: no DMA mode selected
[6545265.490485] hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
#


root@noisy:~# dpkg -l | grep linux-image
ii  linux-image-2.6-686                     2.6.26+17+lenny1         Linux 2.6 image on PPro/Celeron/PII/PIII/P4
ii  linux-image-2.6-686-smp                 2.6.18+6etch3            Linux 2.6 image on PPro/Celeron/PII/PIII/P4 
ii  linux-image-2.6-xen-686                 2.6.26+17+lenny1         Linux 2.6 image on i686, oldstyle Xen suppor
ii  linux-image-2.6.18-6-686                2.6.18.dfsg.1-23etch1    Linux 2.6.18 image on PPro/Celeron/PII/PIII/
ii  linux-image-2.6.18-6-xen-686            2.6.18.dfsg.1-23etch1    Linux 2.6.18 image on i686
ii  linux-image-2.6.18-6-xen-vserver-686    2.6.18.dfsg.1-23etch1    Linux 2.6.18 image on i686
ii  linux-image-2.6.26-1-686                2.6.26-13lenny2          Linux 2.6.26 image on PPro/Celeron/PII/PIII/
ii  linux-image-2.6.26-1-xen-686            2.6.26-13lenny2          Linux 2.6.26 image on i686, oldstyle Xen sup
ii  linux-image-2.6.26-2-686                2.6.26-26lenny1          Linux 2.6.26 image on PPro/Celeron/PII/PIII/
ii  linux-image-2.6.26-2-xen-686            2.6.26-26lenny1          Linux 2.6.26 image on i686, oldstyle Xen sup
root@noisy:~# uname -a
Linux noisy 2.6.26-2-xen-686 #1 SMP Mon Aug 30 10:02:38 UTC 2010 i686 GNU/Linux



root@noisy:~# hdparm -iI /dev/hda

/dev/hda:

 Model=IBM-DTLA-307030, FwRev=XXXXXXXXX, SerialNo=XXXXXXXXX
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=40
 BuffType=DualPortCache, BuffSize=1916kB, MaxMultSect=16, MultSect=off
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=60036480
 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:  ATA/ATAPI-2,3,4,5

 * signifies the current active mode


ATA device, with non-removable media
powers-up in standby; SET FEATURES subcmd spins-up.
	Model Number:       IBM-DTLA-307030                         
	Serial Number:      XXXXXXXXXXX
	Firmware Revision:  TXXXXXXXXX
Standards:
	Used: ATA/ATAPI-5 T13 1321D revision 1 
	Supported: 5 4 3 & some of 6
Configuration:
	Logical max current
	cylinders1 6383 16383
	heads 16 16
	sectors/track 63 63
	--
	CHS current addressable sectors:   16514064
	LBA    user addressable sectors:   60036480
	device size with M = 1024*1024:       29314 MBytes
	device size with M = 1000*1000:       30738 MBytes (30 GB)
Capabilities:
	LBA, IORDY(can be disabled)
	bytes avail on r/w long: 40	Queue depth: 32
	Standby timer values: spec'd by Standard, no device specific minimum
	R/W multiple sector transfer: Max = 16	Current = 0
	Advanced power management level: disabled
	Recommended acoustic management value: 128, current value: 254
	DMA: mdma0 mdma1 *mdma2 udma0 udma1 udma2 udma3 udma4 udma5 
	     Cycle time: min=120ns recommended=120ns
	PIO: pio0 pio1 pio2 pio3 pio4 
	     Cycle time: no flow control=240ns  IORDY flow control=120ns
Commands/features:
	Enabled	Supported:
	   *	SMART feature set
	    	Security Mode feature set
	   *	Power Management feature set
	   *	Write cache
	   *	Look-ahead
	    	Release interrupt
	   *	Host Protected Area feature set
	   *	WRITE_BUFFER command
	   *	READ_BUFFER command
	   *	NOP cmd
	   *	READ/WRITE_DMA_QUEUED
	    	Advanced Power Management feature set
	    	Power-Up In Standby feature set
	    	SET_FEATURES required to spinup after power up
	    	Address Offset Reserved Area Boot
	    	SET_MAX security extension
	    	Automatic Acoustic Management feature set
Security: 
	Master password revision code = 65534
		supported
	not	enabled
	not	locked
	not	frozen
	not	expired: security count
	not	supported: enhanced erase
	26min for SECURITY ERASE UNIT. 
HW reset results:
	CBLID- above Vih
	Device num = 0 determined by the jumper
Checksum: correct
root@noisy:~# 

Relevant part of dmesg

[    0.000000] Linux version 2.6.26-2-xen-686 (Debian 2.6.26-25) (dannf@debian.org) (gcc version 4.1.3 20080704 (
prerelease) (Debian 4.1.2-25)) #1 SMP Mon Aug 30 10:02:38 UTC 2010
...
[    3.670702] SCSI subsystem initialized
...
[    3.779661] Uniform Multi-Platform E-IDE driver
[    3.779882] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[    3.826060] piix: 450NX errata present, disabling IDE DMA.
[    3.826060] piix: A BIOS update may resolve this.
[    3.826338] PIIX4: IDE controller (0x8086:0x7111 rev 0x01) at  PCI slot 0000:00:0c.1
[    3.826421] PIIX4: not 100% native mode: will probe irqs later
[    3.826629] PIIX4: IDE port disabled
[    3.826828]     ide0: BM-DMA at 0x2c20-0x2c27
[    3.827081] Probing IDE interface ide0...
...
[    4.119428] hda: IBM-DTLA-307030, ATA DISK drive
[    4.796760] hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
[    4.797030] hda: no DMA mode selected
[    4.797244] hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
...
[    4.811725] PIIX4: IDE controller (0x8086:0x84ca rev 0x03) at  PCI slot 0000:00:10.0
[    4.812005] PIIX4: device not capable of full native PCI mode
[    4.812209] PIIX4: device disabled (BIOS)
...
[    5.202827] libata version 3.00 loaded.
...
[    5.877421] hda: max request size: 128KiB
[    5.905570] hda: 60036480 sectors (30738 MB) w/1916KiB Cache, CHS=59560/16/63
[    5.906121] hda: cache flushes not supported
[    5.906606]  hda: hda1 hda3
...


I can try kernel from squeeze.
I installed 2.6.32-5-686-xen from squeeze (and few dependencies),
but will it work with xen 3.2-1 ?




Regards,
Witek.

-- 
Witold Baryluk

Attachment: signature.asc
Description: Digital signature


Reply to: