Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 May 2005 22:56:01 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        Benjamin Keating <motionsiren@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Tuning Hard Disks
Message-ID:  <20050523205601.GA11447@slackbox.xs4all.nl>
In-Reply-To: <781e2bc0050523111214a8ff5@mail.gmail.com>
References:  <781e2bc0050523111214a8ff5@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--sm4nu43k4a2Rpi4c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, May 23, 2005 at 11:12:59AM -0700, Benjamin Keating wrote:
> Hey all,
>=20
> I'd like to tweak my drives / view there current configurations. I get
> really slow xfers from two machine in the same, quite, LAN (both
> running FBSD 5.4 with good Intell Pro100 NICS). Im not sure if DMA is
> enabled or not so I'd like to start with figuring out what to use to
> view this info. Anything like hdparm?

Assuming you have ATA drives, do the following (as root)

run 'atacontrol list' to see which channel number the drive is on. Then
try 'atacontrol mode N', where N is the channel number. This wil give
you the current transfer mode of the drive. You can also use atacontrol
to set the mode. See the manual page.

You can see if DMA is enabled with 'sysctl hw.ata.ata_dma'.

Roland
--=20
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt

--sm4nu43k4a2Rpi4c
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCkkNhEnfvsMMhpyURAmTIAJ9SQvAK10jhQr/TZsUqrIKnKDpzYwCePZJm
qqAqK8KU8HijrFW5FPAzo/Q=
=Gh4t
-----END PGP SIGNATURE-----

--sm4nu43k4a2Rpi4c--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050523205601.GA11447>