Olle Eriksson wrote: > On Wednesday 19 October 2005 18.12, Basajaun wrote: > > Somewhere else a guy with similar problems got a response asking if DMA > > was enabled, but my "dmesg | grep -i dma" shows: > > > > DMA zone: 4096 pages, LIFO batch:1 > > ata1: SATA max UDMA/133 cmd 0x1F0 ctl 0x3F6 bmdma 0xFFA0 irq 14 > > ata1: dev 0 ATA, max UDMA/133, 398297088 sectors: lba48 > > ata1: dev 0 configured for UDMA/133 > > > > is it fine? > > Use the tool hdparm to find out if DMA is enabled. I am not sure how to > interpret the information from dmesg, but this has always worked for me. > > olle:~/movies$ sudo hdparm /dev/hda > > /dev/hda: > multcount = 0 (off) > IO_support = 0 (default 16-bit) > unmaskirq = 0 (off) > using_dma = 1 (on) > keepsettings = 0 (off) > readonly = 0 (off) > readahead = 256 (on) > geometry = 65535/16/63, sectors = 80418240, start = 0 > > Kind regards > > -- > Olle Eriksson > [EMAIL PROTECTED] | http://www.olle-eriksson.com
hdparm is bogus for SATA disks, or so I read. For me: root: hpdarm /dev/sda /dev/sda: IO_support = 0 (default 16-bit) readonly = 0 (off) readahead = 256 (on) geometry = 24792/255/63, sectors = 398297088, start = 0 root: hdparm -tT /dev/sda /dev/sda: Timing cached reads: 3720 MB in 2.00 seconds = 1860.28 MB/sec HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device Timing buffered disk reads: 176 MB in 3.02 seconds = 58.23 MB/sec HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device root: hdparm -d1 /dev/sda /dev/sda: setting using_dma to 1 (on) HDIO_SET_DMA failed: Inappropriate ioctl for device My problem should not be disk I/O, should it? Is 58MB/s too low a buffered disk reading speed? Basajaun -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]