Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 May 2005 14:47:21 -0700
From:      Benjamin Keating <motionsiren@gmail.com>
To:        freebsd-questions@freebsd.org, rsmith@xs4all.nl
Subject:   Re: Tuning Hard Disks
Message-ID:  <781e2bc0050523144733827b78@mail.gmail.com>
In-Reply-To: <20050523205601.GA11447@slackbox.xs4all.nl>
References:  <781e2bc0050523111214a8ff5@mail.gmail.com> <20050523205601.GA11447@slackbox.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Thank you. This is exactly what I was looking for. How did you learn
about these tools? From the pages i've read (most of) the handbook, I
didn't see it mention them.

On 5/23/05, Roland Smith <rsmith@xs4all.nl> wrote:
> On Mon, May 23, 2005 at 11:12:59AM -0700, Benjamin Keating wrote:
> > Hey all,
> >
> > 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?
>=20
> Assuming you have ATA drives, do the following (as root)
>=20
> 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.
>=20
> You can see if DMA is enabled with 'sysctl hw.ata.ata_dma'.
>=20
> Roland
> --
> R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain tex=
t.
> public key: http://www.xs4all.nl/~rsmith/pubkey.txt
>=20
>=20
>



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