[ltp] general performance question on R51

Nick Lidakis linux-thinkpad@linux-thinkpad.org
Tue, 2 Aug 2005 19:02:48 -0400


On 8/1/05, Takis Diakoumis <linux@executequery.org> wrote:
> ok, this could be it.
> running hdparm i get:
>=20
> /dev/hda:
>  multcount    =3D  0 (off)
>  IO_support   =3D  0 (default 16-bit)
>  unmaskirq    =3D  0 (off)
>  using_dma    =3D  0 (off)
>  keepsettings =3D  0 (off)
>  readonly     =3D  0 (off)
>  readahead    =3D 256 (on)
>  geometry     =3D 65535/16/63, sectors =3D 117210240, start =3D 0
>=20
> so dma is off and all other settings a safe defaults.
>=20
> i tried tweaking this to no avail. attempting to switch on dma i get:
> /dev/hda:
>  setting using_dma to 1 (on)
>  HDIO_SET_DMA failed: Operation not permitted
>  using_dma    =3D  0 (off)
>=20
> i know i need the correct controller compiled into the kernel. lspci
> reports:
> 0000:00:1f.1 IDE interface: Intel Corp. 82801DBM (ICH4) Ultra ATA
> Storage Controller (rev 01)
>=20
> i'm not sure which controller this is in the kernel config and what i
> may have missed.
>=20
> can anyone shed some light on this - perhaps some values from .config or
> optimal hdparm settings???
>=20
> thanks
> Takis
>=20
>=20

Just pick the Intel driver in the kernel config under IDE chipsets (it
supports all, if not most, of the Intel IDE drivers), and make sure
you are root when running the hdparm command.