* worst via_sata performance
@ 2004-04-01 1:57 Jan Killius
2004-04-01 6:13 ` Jeff Garzik
0 siblings, 1 reply; 3+ messages in thread
From: Jan Killius @ 2004-04-01 1:57 UTC (permalink / raw)
To: linux-ide
Hello,
I have some problems with the via_sata driver. The performance is really bad.
I'm getting about 20Mb/s which is really slow compared with the generic ide
driver(50 MB/s). Is there any way to speed up it a bit? I use the two discs
together with the drive mapper for raid0 but the performance is bad and not
constant it's stuttering at disc writing to the raid device. Here are some
system information.
Mainboard: asus k8v se
kernel: 2.6.5-rc3-mm3 with 2.6.5-rc3-libata2
dmesg:
libata version 1.02 loaded.
sata_via version 0.20
sata_via(0000:00:0f.0): routed to hard irq line 10
ata1: SATA max UDMA/133 cmd 0xE800 ctl 0xE402 bmdma 0xD400 irq 10
ata2: SATA max UDMA/133 cmd 0xE000 ctl 0xD802 bmdma 0xD408 irq 10
ata1: dev 0 cfg 49:2f00 82:74eb 83:7fea 84:4023 85:74e9 86:3e02 87:4023
88:203f
ata1: dev 0 ATA, max UDMA/100, 321672960 sectors (lba48)
ata1: dev 0 configured for UDMA/100
scsi0 : sata_via
ata2: dev 0 cfg 49:2f00 82:74eb 83:7fea 84:4023 85:74e9 86:3e02 87:4023
88:203f
ata2: dev 0 ATA, max UDMA/100, 321672960 sectors (lba48)
ata2: dev 0 configured for UDMA/100
scsi1 : sata_via
Vendor: ATA Model: HDS722516VLSA80 Rev: 1.02
Type: Direct-Access ANSI SCSI revision: 05
ata1: dev 0 max request 32MB (lba48)
Vendor: ATA Model: HDS722516VLSA80 Rev: 1.02
Type: Direct-Access ANSI SCSI revision: 05
ata2: dev 0 max request 32MB (lba48)
SCSI device sda: 321672960 512-byte hdwr sectors (164697 MB)
SCSI device sda: drive cache: write through
sda: sda1 < > sda2
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sdb: 321672960 512-byte hdwr sectors (164697 MB)
SCSI device sdb: drive cache: write through
sdb: unknown partition table
Attached scsi disk sdb at scsi1, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
Attached scsi generic sg1 at scsi1, channel 0, id 0, lun 0, type 0
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: worst via_sata performance
2004-04-01 1:57 worst via_sata performance Jan Killius
@ 2004-04-01 6:13 ` Jeff Garzik
2004-04-01 9:33 ` Jan Killius
0 siblings, 1 reply; 3+ messages in thread
From: Jeff Garzik @ 2004-04-01 6:13 UTC (permalink / raw)
To: Jan Killius; +Cc: linux-ide
Jan Killius wrote:
> Hello,
> I have some problems with the via_sata driver. The performance is really bad.
> I'm getting about 20Mb/s which is really slow compared with the generic ide
> driver(50 MB/s). Is there any way to speed up it a bit? I use the two discs
> together with the drive mapper for raid0 but the performance is bad and not
> constant it's stuttering at disc writing to the raid device. Here are some
> system information.
>
>
> Mainboard: asus k8v se
> kernel: 2.6.5-rc3-mm3 with 2.6.5-rc3-libata2
> dmesg:
> libata version 1.02 loaded.
> sata_via version 0.20
> sata_via(0000:00:0f.0): routed to hard irq line 10
> ata1: SATA max UDMA/133 cmd 0xE800 ctl 0xE402 bmdma 0xD400 irq 10
> ata2: SATA max UDMA/133 cmd 0xE000 ctl 0xD802 bmdma 0xD408 irq 10
> ata1: dev 0 cfg 49:2f00 82:74eb 83:7fea 84:4023 85:74e9 86:3e02 87:4023
> 88:203f
> ata1: dev 0 ATA, max UDMA/100, 321672960 sectors (lba48)
> ata1: dev 0 configured for UDMA/100
> scsi0 : sata_via
> ata2: dev 0 cfg 49:2f00 82:74eb 83:7fea 84:4023 85:74e9 86:3e02 87:4023
> 88:203f
> ata2: dev 0 ATA, max UDMA/100, 321672960 sectors (lba48)
> ata2: dev 0 configured for UDMA/100
> scsi1 : sata_via
> Vendor: ATA Model: HDS722516VLSA80 Rev: 1.02
> Type: Direct-Access ANSI SCSI revision: 05
> ata1: dev 0 max request 32MB (lba48)
> Vendor: ATA Model: HDS722516VLSA80 Rev: 1.02
> Type: Direct-Access ANSI SCSI revision: 05
> ata2: dev 0 max request 32MB (lba48)
Do things change if you back out the "speed up SATA" patch?
Also, device information from hdparm, when using the IDE generic driver,
would be useful.
Is this in 32-bit or 64-bit mode?
Jeff
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: worst via_sata performance
2004-04-01 6:13 ` Jeff Garzik
@ 2004-04-01 9:33 ` Jan Killius
0 siblings, 0 replies; 3+ messages in thread
From: Jan Killius @ 2004-04-01 9:33 UTC (permalink / raw)
To: Jeff Garzik; +Cc: linux-ide
with 2.6.5-rc3-mm3 I only getting 28.19 MB/sec with generic ide don't now why
and I can only select a dma up to udma2 which is really slow.
>
> Do things change if you back out the "speed up SATA" patch?
no not really.
>
> Also, device information from hdparm, when using the IDE generic driver,
> would be useful.
dmesg:
ide: Assuming 66MHz system bus speed for PIO modes
VIA8237SATA: IDE controller at PCI slot 0000:00:0f.0
VIA8237SATA: chipset revision 128
VIA8237SATA: 100% native mode on irq 20
ide2: BM-DMA at 0xd400-0xd407, BIOS settings: hde:pio, hdf:pio
ide3: BM-DMA at 0xd408-0xd40f, BIOS settings: hdg:pio, hdh:pio
hde: HDS722516VLSA80, ATA DISK drive
Using cfq io scheduler
ide2 at 0xe800-0xe807,0xe402 on irq 20
hdg: HDS722516VLSA80, ATA DISK drive
ide3 at 0xe000-0xe007,0xd802 on irq 20
hde: max request size: 1024KiB
hde: 321672960 sectors (164696 MB) w/7938KiB Cache, CHS=20023/255/63
hde: hde1 < > hde2
hdg: max request size: 1024KiB
hdg: 321672960 sectors (164696 MB) w/7938KiB Cache, CHS=20023/255/63
hdg: unknown partition table
hdparm:
/dev/hdg:
multcount = 16 (on)
IO_support = 3 (32-bit w/sync)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 20023/255/63, sectors = 321672960, start = 0
Model=HDS722516VLSA80, FwRev=V34OA60A, SerialNo=VNRD9FC4C81WDM
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=DualPortCache, BuffSize=7938kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
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
AdvancedPM=yes: disabled (255) WriteCache=enabled
Drive conforms to: ATA/ATAPI-6 T13 1410D revision 3a:
* signifies the current active mode
>
> Is this in 32-bit or 64-bit mode?
yes it's a 64 bit system
>
> Jeff
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-04-01 9:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-01 1:57 worst via_sata performance Jan Killius
2004-04-01 6:13 ` Jeff Garzik
2004-04-01 9:33 ` Jan Killius
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).