Re: Waking dma cxt=2
Brought to you by:
aeb,
bencollins
From: Mark <to...@to...> - 2000-12-06 10:50:19
|
Yipe! Ive never tried using hdparm that way... Looks like DMA isnt being used. I assume this is the problem. I have tried turning dma on using hdparm, but hdparm -t -T shows the same results as when DMA was off... slowness. Can you confirm for me that this is in fact the problem? Also, where can I look to make DMA used? Linux is configured ok, i have checked that out... I don't believe that my BIOS has any settings for DMA... I am using my on-board IDE controller, it is build into an Asus HOT-591 motherboard. Think i should try an off-board IDE controller? PS: I just did hdparm -d 1 /dev/hdc and now the drive reports to be using DMA, but the output from the read tests are just as slow, so i have to assume that it only thinks it is using DMA. Thanks, Mark BEFORE DMA TURNED ON: /dev/hdc: multcount = 0 (off) I/O support = 0 (default 16-bit) unmaskirq = 0 (off) using_dma = 0 (off) keepsettings = 0 (off) nowerr = 0 (off) readonly = 0 (off) readahead = 8 (on) geometry = 5606/255/63, sectors = 90069840, start = 0 /dev/hdc: Timing buffer-cache reads: 128 MB in 3.13 seconds = 40.89 MB/sec Timing buffered disk reads: 64 MB in 25.11 seconds = 2.55 MB/sec AFTER DMA TURNED ON: /dev/hdc: multcount = 0 (off) I/O support = 0 (default 16-bit) unmaskirq = 0 (off) using_dma = 1 (on) keepsettings = 0 (off) nowerr = 0 (off) readonly = 0 (off) readahead = 8 (on) geometry = 5606/255/63, sectors = 90069840, start = 0 /dev/hdc: Timing buffer-cache reads: 128 MB in 3.68 seconds = 34.78 MB/sec Timing buffered disk reads: 64 MB in 23.08 seconds = 2.77 MB/sec On Wed, 6 Dec 2000, Nabil Sayegh wrote: > Could you post the output of: > > hdparm /dev/hdX > hdparm -t -T /dev/hdX > > cu > -- > Nabil Sayegh > |