FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 03-23-2009, 04:36 PM
root
 
Default Bug#520928: linux-image-2.6.26-1-686: PIIX4 /dev/hda performance regression (10x times, DMA dissabled)

Package: linux-image-2.6.26-1-686
Version: 2.6.26-13lenny2
Severity: important


I have 450NX server board (two cpu Xeon II 450MHz). My ide controler is PIIX4.

I found that after update to lenny's 2.6.26-1-xen-686 IDE performance droped
to just 1.50MB/s (hdparm -t). With 2.6.18-6-xen-686 I had 21.54 MB/s.
(Tested both in -xen-686 and -686, in signle user). Performance
of scsi disc's doesn't changed.

I found this messages in dmesg (2.6.26-1-xen-686):
[ 3.662184] SCSI subsystem initialized
[ 3.734253] Uniform Multi-Platform E-IDE driver
[ 3.734253] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[ 3.829917] usbcore: registered new interface driver usbfs
[ 3.830286] usbcore: registered new interface driver hub
[ 3.845788] usbcore: registered new device driver usb
[ 3.886790] ACPI: PCI Interrupt 0000:01:03.0[A] -> GSI 57 (level, low) -> IRQ 57
[ 3.888465] sym0: <896> rev 0x1 at pci 0000:01:03.0 irq 57
[ 3.904795] sym0: No NVRAM, ID 7, Fast-40, LVD, parity checking
[ 3.912491] sym0: SCSI BUS has been reset.
[ 3.912721] scsi0 : sym-2.2.3
[ 3.916707] ACPI: PCI Interrupt 0000:01:03.1[b] -> GSI 56 (level, low) -> IRQ 56
[ 3.916873] sym1: <896> rev 0x1 at pci 0000:01:03.1 irq 56
[ 3.919506] sym1: No NVRAM, ID 7, Fast-40, LVD, parity checking
[ 3.923506] sym1: SCSI BUS has been reset.
[ 3.925391] scsi1 : sym-2.2.3
[ 3.926118] ACPI: PCI Interrupt 0000:00:08.0[A] -> GSI 58 (level, low) -> IRQ 58
[ 3.927288] sym2: <810a> rev 0x23 at pci 0000:00:08.0 irq 58
[ 3.928041] USB Universal Host Controller Interface driver v3.0
[ 3.931996] sym2: No NVRAM, ID 7, Fast-10, SE, parity checking
[ 3.938010] sym2: SCSI BUS has been reset.
[ 3.938028] scsi2 : sym-2.2.3
[ 3.939923] ACPI: PCI Interrupt 0000:00:0c.2[D] -> GSI 54 (level, low) -> IRQ 54
[ 3.939923] uhci_hcd 0000:00:0c.2: UHCI Host Controller
[ 3.940073] uhci_hcd 0000:00:0c.2: new USB bus registered, assigned bus number 1
[ 3.940426] uhci_hcd 0000:00:0c.2: irq 54, io base 0x00002c00
[ 3.941228] usb usb1: configuration #1 chosen from 1 choice
[ 3.941577] hub 1-0:1.0: USB hub found
[ 3.941833] hub 1-0:1.0: 2 ports detected
[ 4.041535] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[ 4.041760] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.041962] usb usb1: Product: UHCI Host Controller
[ 4.042144] usb usb1: Manufacturer: Linux 2.6.26-1-xen-686 uhci_hcd
[ 4.042329] usb usb1: SerialNumber: 0000:00:0c.2
[ 4.054227] piix: 450NX errata present, disabling IDE DMA.
[ 4.054433] piix: A BIOS update may resolve this.
[ 4.056035] PIIX4: IDE controller (0x8086:0x7111 rev 0x01) at PCI slot 0000:00:0c.1
[ 4.056051] PIIX4: not 100% native mode: will probe irqs later
[ 4.056051] PIIX4: IDE port disabled
[ 4.056051] ide0: BM-DMA at 0x2c20-0x2c27
[ 4.056757] Probing IDE interface ide0...
[ 4.349476] hda: IBM-DTLA-307030, ATA DISK drive
[ 5.021402] hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
[ 5.021674] hda: no DMA mode selected
[ 5.021888] hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
[ 5.022174] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[ 5.022815] PIIX4: IDE controller (0x8086:0x84ca rev 0x03) at PCI slot 0000:00:10.0
[ 5.023074] PIIX4: device not capable of full native PCI mode
[ 5.023259] PIIX4: device disabled (BIOS)
[ 5.044348] No dock devices found.
[ 5.284367] libata version 3.00 loaded.
[ 5.384457] Floppy drive(s): fd0 is 1.44M
[ 5.384457] floppy0: Unable to grab DMA2 for the floppy driver
[ 5.428944] udev: renamed network interface eth1 to eth2
[ 5.865766] hda: max request size: 128KiB
[ 5.887987] hda: 60036480 sectors (30738 MB) w/1916KiB Cache, CHS=59560/16/63
[ 5.888481] hda: cache flushes not supported
[ 5.888869] hda: hda1 hda3
[ 8.413933] floppy0: no floppy controllers found
[ 8.731608] scsi 2:0:6:0: Direct-Access IBM DDRS-39130 S97B PQ: 0 ANSI: 2
[ 8.731856] target2:0:6: tagged command queuing enabled, command queue depth 16.
[ 8.732094] target2:0:6: Beginning Domain Validation
[ 8.732747] target2:0:6: asynchronous
[ 8.735657] kjournald starting. Commit interval 5 seconds
[ 8.739266] EXT3-fs: mounted filesystem with ordered data mode.
[ 8.751259] target2:0:6: FAST-10 SCSI 10.0 MB/s ST (100 ns, offset 8)
[ 8.763646] target2:0:6: Domain Validation skipping write tests
[ 8.763863] target2:0:6: Ending Domain Validation
[ 8.911419] scsi 0:0:6:0: Processor ESG-SHV SCA HSBP M6 0.61 PQ: 0 ANSI: 2
[ 8.911709] target0:0:6: Beginning Domain Validation
[ 9.140531] target0:0:6: asynchronous
[ 9.143055] sym0: unexpected disconnect
[ 9.143352] target0:0:6: Domain Validation Initial Inquiry Failed
[ 9.143366] target0:0:6: Ending Domain Validation
[ 13.284272] udevd version 125 started
[ 14.530680] scsi 0:0:6:0: Attached scsi generic sg0 type 3
[ 14.530837] scsi 2:0:6:0: Attached scsi generic sg1 type 0
[ 14.706049] Driver 'sd' needs updating - please use bus_type methods
[ 14.754751] sd 2:0:6:0: [sda] 17850000 512-byte hardware sectors (9139 MB)
[ 14.806751] sd 2:0:6:0: [sda] Write Protect is off
[ 14.806987] sd 2:0:6:0: [sda] Mode Sense: b9 00 00 08
[ 14.839284] sd 2:0:6:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 14.887947] sd 2:0:6:0: [sda] 17850000 512-byte hardware sectors (9139 MB)
[ 14.943212] sd 2:0:6:0: [sda] Write Protect is off
[ 14.943464] sd 2:0:6:0: [sda] Mode Sense: b9 00 00 08
[ 14.976129] sd 2:0:6:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 14.976413] sda: sda1 sda2 sda3
[ 15.007224] sd 2:0:6:0: [sda] Attached SCSI disk
[ 17.260491] piix4_smbus 0000:00:0c.3: Found 0000:00:0c.3 device


root@noisy:~# lsmod | grep piix
i2c_piix4 7984 0
i2c_core 20564 1 i2c_piix4
piix 7336 0 [permanent]
ide_core 98248 4 ide_cd_mod,ide_disk,piix,ide_pci_generic


So it looks like there is some blacklist (in piix modules) for this server board,
and kernel uses generic (and non-dma) module for ide. But with 2.6.18-686 it was working.
Additionally I probably have newset BIOS possible.

Mayby this is because of broken write cache flushing?



-- Package-specific info:

-- System Information:
Debian Release: 5.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-xen-686 (SMP w/1 CPU core)
Locale: LANG=, LC_CTYPE= (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-image-2.6.26-1-686 depends on:
ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy
ii initramfs-tools [linux-initra 0.92o tools for generating an initramfs
ii module-init-tools 3.4-1 tools for managing Linux kernel mo

Versions of packages linux-image-2.6.26-1-686 recommends:
pn libc6-i686 <none> (no description available)

Versions of packages linux-image-2.6.26-1-686 suggests:
ii grub 0.97-47lenny2 GRand Unified Bootloader (Legacy v
pn linux-doc-2.6.26 <none> (no description available)

-- debconf information:
linux-image-2.6.26-1-686/preinst/abort-overwrite-2.6.26-1-686:
shared/kernel-image/really-run-bootloader: true
linux-image-2.6.26-1-686/preinst/bootloader-initrd-2.6.26-1-686: true
linux-image-2.6.26-1-686/prerm/would-invalidate-boot-loader-2.6.26-1-686: true
linux-image-2.6.26-1-686/postinst/bootloader-error-2.6.26-1-686:
linux-image-2.6.26-1-686/preinst/elilo-initrd-2.6.26-1-686: true
linux-image-2.6.26-1-686/postinst/old-dir-initrd-link-2.6.26-1-686: true
linux-image-2.6.26-1-686/postinst/kimage-is-a-directory:
linux-image-2.6.26-1-686/postinst/depmod-error-initrd-2.6.26-1-686: false
linux-image-2.6.26-1-686/prerm/removing-running-kernel-2.6.26-1-686: true
linux-image-2.6.26-1-686/postinst/create-kimage-link-2.6.26-1-686: true
linux-image-2.6.26-1-686/preinst/lilo-initrd-2.6.26-1-686: true
linux-image-2.6.26-1-686/postinst/old-initrd-link-2.6.26-1-686: true
linux-image-2.6.26-1-686/preinst/overwriting-modules-2.6.26-1-686: true
linux-image-2.6.26-1-686/postinst/depmod-error-2.6.26-1-686: false
linux-image-2.6.26-1-686/postinst/bootloader-test-error-2.6.26-1-686:
linux-image-2.6.26-1-686/preinst/failed-to-move-modules-2.6.26-1-686:
linux-image-2.6.26-1-686/postinst/old-system-map-link-2.6.26-1-686: true
linux-image-2.6.26-1-686/preinst/initrd-2.6.26-1-686:
linux-image-2.6.26-1-686/preinst/abort-install-2.6.26-1-686:
linux-image-2.6.26-1-686/preinst/lilo-has-ramdisk:



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-22-2011, 11:47 PM
"Witold Baryluk"
 
Default Bug#520928: linux-image-2.6.26-1-686: PIIX4 /dev/hda performance regression (10x times, DMA dissabled)

Hi.

I tested for a week kernel 2.6.32-5-686-xen on xen 4.0 from squeeze.

Essentially perfromance is still very bad. It is slightly better (about 2-2.5 MB/s,
instead of 1.5 MB/s), but still makes this useless). One still cannot even enforce
using DMA.


--
Witold Baryluk
 

Thread Tools




All times are GMT. The time now is 09:10 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org