WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] very slow disk access

To: "Fajar A. Nugraha" <list@xxxxxxxxx>
Subject: Re: [Xen-users] very slow disk access
From: Randy Katz <rkatz@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 26 Feb 2011 08:20:38 -0800
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 26 Feb 2011 08:21:41 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTined01AoVRBcFoZfLrbbyReU=L+VrNXacD3pvV7@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4D68B0C3.5020702@xxxxxxxxxxxxxxxxxxxxx> <4D68BABF.20900@xxxxxxxxxxxxxxxxxxxxx> <AANLkTined01AoVRBcFoZfLrbbyReU=L+VrNXacD3pvV7@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7
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