Re: Slow harddisk

Ng Pek Yong (npy@mailhost.net)
Thu, 9 May 2002 19:02:08 +0800 (SGT)


On Thu, 9 May 2002, DervishD wrote:

> Hi, Ng :))
>
> > I/O support = 3 (32-bit w/sync)
>
> Try w/o sync
>
> > using_dma = 0 (off)
>
> Enable dma
>
> This should increase the speed to normal levels.
>
> Raśl
>

It got worse ;)

(note: I can;t get dma to work; see below)

# hdparm -X69 -d1 -u1 -c1 -m16 /dev/hde

/dev/hde:
setting 32-bit I/O support flag to 1
setting multcount to 16
setting unmaskirq to 1 (on)
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
setting xfermode to 69 (UltraDMA mode5)
multcount = 16 (on)
I/O support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 0 (off)
[root@lal root]# hdparm -Tt /dev/hde

/dev/hde:
Timing buffer-cache reads: 128 MB in 2.12 seconds = 60.38 MB/sec
Timing buffered disk reads: 64 MB in 24.37 seconds = 2.63 MB/sec

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/