View previous topic :: View next topic |
Author |
Message |
Thowil n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Apr 2003 Posts: 23 Location: Germany/KO
|
Posted: Mon Aug 09, 2004 11:03 pm Post subject: via vt8237 - high cpu load despite dma |
|
|
I have a strange(?) problem using a gigabyte 7vt600p-rz mobo (kt600) with athlon-xp 2800+ and a segate sata drive installed (besides that sata-hd there is a dvd-recorder and another pata-hd installed).
I managed to install gentoo on the sata-drive and it seems to work fine but I notice high cpu load then copying files on both hds. I tried libsata and the via82xxx ide modules with similar results. DMA is enabled on every drive (according to hdparm, if sata is not done via libsata) and I get quite good throughputs, but despite dma beeing active cpu load is at nearly 100%.
Here is what hdparm says:
Code: |
/dev/hda:
Timing buffered disk reads: 64 MB in 3.00 seconds = 21.31 MB/sec
/dev/hde:
Timing buffered disk reads: 168 MB in 3.01 seconds = 55.73 MB/sec
hdparm -i /dev/hda
/dev/hda:
Model=WDC WD205AA, FwRev=05.05B05, SerialNo=WD-WMA0W2092072
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=40
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=40076975
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 udma3 *udma4
AdvancedPM=no WriteCache=enabled
Drive conforms to: device does not report version: 1 2 3 4
* signifies the current active mode
/dev/hde:
Model=ST3120026AS, FwRev=3.18, SerialNo=5JT2J1RK
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=unknown, BuffSize=8192kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=234441648
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=no WriteCache=enabled
Drive conforms to: ATA/ATAPI-6 T13 1410D revision 2:
* signifies the current active mode
|
This problem is very annoying because for example as soon as the kernel has to swap, it is impossible do do anything anymore. This even effectively keeps me from simply burning a cd (which is quite frustrating with a XP-2800+ ).
So, has anyone managed to get the kt600/via8237 working with normal load?
I really need help on this one, just can't get it working...
Thx, Thomas
btw: i tried gentoo-dev-sources-2.5.6-r1 & 2.6.7 / mm-sources-2.6.8-rc2 without success. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
unz l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/2030686309479fb518c8476.jpg)
Joined: 28 Jul 2004 Posts: 819 Location: Roma, Italia
|
Posted: Tue Aug 10, 2004 12:28 am Post subject: |
|
|
check your PCI ... i got :
PCI: Setting latency timer of device 0000:00:11.5 to 64
and hdparm gives me
Code: | hdparm -t -T /dev/hdg /dev/hda /dev/hde
/dev/hdg:
Timing buffer-cache reads: 1176 MB in 2.01 seconds = 585.75 MB/sec
Timing buffered disk reads: 148 MB in 3.03 seconds = 48.79 MB/sec
/dev/hda:
Timing buffer-cache reads: 1132 MB in 2.01 seconds = 564.40 MB/sec
Timing buffered disk reads: 170 MB in 3.03 seconds = 56.11 MB/sec
/dev/hde:
Timing buffer-cache reads: 1028 MB in 2.05 seconds = 502.52 MB/sec
Timing buffered disk reads: 120 MB in 3.04 seconds = 39.43 MB/sec
|
yes it isn't a SATA raid but after changing pci latency i really lowered my cpu cycles
SATA support is spreading in all new kernels, stay tuned probably soon will be a more efficient driver _________________ Ma che c'hai là? Sulla spalla!!!! http://lascimmia.it/ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mike4148 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 09 Sep 2003 Posts: 641
|
Posted: Tue Aug 10, 2004 1:01 am Post subject: |
|
|
How do the following compare:
1. Copying a large file from the SATA disk to itself
2. Copying a large file from the PATA disk to itself
3. Copying a large file from the SATA disk to the PATA disk
4. Copying a large file from the PATA disk to the SATA disk
I'm just curious; I haven't run into any similar problems. I'm currently running gentoo-dev-sources 2.6.7-r9 AMD64 using the libata VT8237 driver and a WD Raptor drive. I've also used the Raptor alongside a PATA disk under earlier kernel sources running x86 without problems. I've got an MSI K8T Master2 FAR mainboard with the VT8237 chip. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Thowil n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Apr 2003 Posts: 23 Location: Germany/KO
|
Posted: Tue Aug 10, 2004 1:22 am Post subject: |
|
|
Ok, kinda fixed the problem
Didn't double check the cd-burning issue with kernel-2.6.5, just saw that the cpu load was high while copying files and didn't want to waste another cd.
I misinterpreted gkrellms loadmeter, the high load shown seems to be i/o-wait! It's confusing, because the cpu is actually kind off idle while waiting for the drives and can spend some time with other processes...
I guess the kernels >2.6.5 broke some other thing for my system, so that the swapping/cd-burning/... - issue occurs. I'm going to stick with 2.6.5 for a while and see if the problem still will be there in 2.6.8.
Thx for your advices! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|