From owner-freebsd-questions@FreeBSD.ORG Mon May 23 20:56:04 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5847F16A41C for ; Mon, 23 May 2005 20:56:04 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr14.xs4all.nl (smtp-vbr14.xs4all.nl [194.109.24.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id A817943D48 for ; Mon, 23 May 2005 20:56:03 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr14.xs4all.nl (8.12.11/8.12.11) with ESMTP id j4NKu11D064323; Mon, 23 May 2005 22:56:01 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 17759617A; Mon, 23 May 2005 22:56:01 +0200 (CEST) Date: Mon, 23 May 2005 22:56:01 +0200 From: Roland Smith To: Benjamin Keating Message-ID: <20050523205601.GA11447@slackbox.xs4all.nl> Mail-Followup-To: Benjamin Keating , freebsd-questions@freebsd.org References: <781e2bc0050523111214a8ff5@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sm4nu43k4a2Rpi4c" Content-Disposition: inline In-Reply-To: <781e2bc0050523111214a8ff5@mail.gmail.com> User-Agent: Mutt/1.4.2.1i X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Tuning Hard Disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2005 20:56:04 -0000 --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--