[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [riminilug-general] Abilitare il DMA
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alle 21:03, lunedì 26 aprile 2004, Christian Zoffoli ha scritto:
> Samuele Battarra wrote:
> [cut]
>
> > samuele:/usr/src/linux# hdparm -d1 /dev/hda
> >
> > /dev/hda:
> > setting using_dma to 1 (on)
> > HDIO_SET_DMA failed: Operation not permitted
> > using_dma = 0 (off)
>
> devi farlo come root
>
> prova hdparm -d1 -W1 -c1 -m16 -X70 /dev/hda
>
> dovrebbe cambiare drasticamente
samuele:/home/samuele# hdparm -d1 -W1 -c1 -m16 -X70 /dev/hdb
/dev/hdb:
setting 32-bit IO_support flag to 1
setting multcount to 16
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
setting xfermode to 70 (UltraDMA mode6)
HDIO_DRIVE_CMD(setxfermode) failed: Input/output error
setting drive write-caching to 1 (on)
multcount = 16 (on)
IO_support = 1 (32-bit)
using_dma = 0 (off)
ho provato a ridurre il valore di -X, sono riuscito con -X68
samuele:/home/samuele# hdparm -d1 -W1 -c1 -m16 -X66 /dev/hdb
/dev/hdb:
setting 32-bit IO_support flag to 1
setting multcount to 16
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
setting xfermode to 66 (UltraDMA mode2)
setting drive write-caching to 1 (on)
multcount = 16 (on)
IO_support = 1 (32-bit)
using_dma = 0 (off)
ora sono passato a 4.78 MB/s per hdb e 6.58 MB/s per hda
ma quel using_dma continua a essere off
- --
Samuele Battarra
battarsa@xxxxxxxxxxxx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAjWKdG9b35LePWoMRAlE6AKDVo/OpJ/H5WiASH5NhvUD6YH50yQCgseIt
KmI/Ro2dc7ByIY0ZSwkHQLc=
=Lpb4
-----END PGP SIGNATURE-----