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

Re: [Xen-users] very slow disk access



On 2/26/2011 3:33 AM, Fajar A. Nugraha wrote:
On Sat, Feb 26, 2011 at 3:33 PM, Randy Katz<rkatz@xxxxxxxxxxxxxxxxxxxxx>  wrote:
ps - I did:

# lspci | grep -y sata
00:1f.2 RAID bus controller: Intel Corporation 82801 SATA RAID Controller
(rev 02)
Try

grep AHCI /boot/config-*
lsmod | egrep "piix|hci"
hdparm -i /dev/sd?
dmesg | grep DMA

ok, thanks, here goes:

# grep AHCI /boot/config-2.6.18-194.*
/boot/config-2.6.18-194.32.1.el5:CONFIG_SATA_AHCI=m
/boot/config-2.6.18-194.32.1.el5xen:CONFIG_SATA_AHCI=m
/boot/config-2.6.18-194.el5:CONFIG_SATA_AHCI=m

# lsmod | egrep "piix|hci"
ahci                   69705  7
libata                209361  1 ahci
uhci_hcd               57689  0
ohci_hcd               56437  0
ehci_hcd               66253  0

# hdparm -i /dev/sda

/dev/sda:

Model=ST31500341AS , FwRev=CC1H , SerialNo= 9VS1P3C6
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=unknown, BuffSize=0kB, MaxMultSect=16, MultSect=?16?
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
 IORDY=on/off, tPIO={min:120,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
 AdvancedPM=no WriteCache=enabled
Drive conforms to: unknown: ATA/ATAPI-4 ATA/ATAPI-5 ATA/ATAPI-6 ATA/ATAPI-7

 * signifies the current active mode
# hdparm -i /dev/sdb

/dev/sdb:

Model=ST31500341AS , FwRev=CC1H , SerialNo= 9VS1CBWX
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=unknown, BuffSize=0kB, MaxMultSect=16, MultSect=?16?
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
 IORDY=on/off, tPIO={min:120,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
 AdvancedPM=no WriteCache=enabled
Drive conforms to: unknown: ATA/ATAPI-4 ATA/ATAPI-5 ATA/ATAPI-6 ATA/ATAPI-7

 * signifies the current active mode

# dmesg | grep DMA
  DMA zone: 1917411 pages, LIFO batch:31
PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
ata1: SATA max UDMA/133 abar m2048@0xff970000 port 0xff970100 irq 253
ata2: SATA max UDMA/133 abar m2048@0xff970000 port 0xff970180 irq 253
ata3: SATA max UDMA/133 abar m2048@0xff970000 port 0xff970200 irq 253
ata6: SATA max UDMA/133 abar m2048@0xff970000 port 0xff970380 irq 253
ata1.00: ATA-8: ST31500341AS, CC1H, max UDMA/133
ata1.00: configured for UDMA/133
ata2.00: ATA-8: ST31500341AS, CC1H, max UDMA/133
ata2.00: configured for UDMA/133


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.