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

Bug#520928: marked as done (linux-image-2.6.26-1-686: PIIX4 /dev/hda performance regression (10x times, DMA dissabled))



Your message dated Tue, 31 May 2011 06:01:30 +0100
with message-id <1306818090.4277.120.camel@localhost>
and subject line Re: linux-image-2.6.26-1-686: PIIX4 /dev/hda performance regression (10x times, DMA dissabled)
has caused the Debian Bug report #520928,
regarding linux-image-2.6.26-1-686: PIIX4 /dev/hda performance regression (10x times, DMA dissabled)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
520928: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520928
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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:



--- End Message ---
--- Begin Message ---
As explained previously, this behaviour is intentional and appears to be
necessary to avoid the risk of data loss.

If you believe that the condition for disabling DMA is incorrect, you
will have to discuss this with the upstream developers
(linux-ide@vger.kernel.org).  We will not change it in Debian unless it
is changed upstream.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply to: