From owner-freebsd-questions@FreeBSD.ORG Mon May 23 21:47:23 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 581C916A41C for ; Mon, 23 May 2005 21:47:23 +0000 (GMT) (envelope-from motionsiren@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB1AB43D1F for ; Mon, 23 May 2005 21:47:22 +0000 (GMT) (envelope-from motionsiren@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so2134881wra for ; Mon, 23 May 2005 14:47:22 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=N5AfTOFHes9v+YiFs60xswPF7eCDYRpvUMX90+w8JKMdi+nOQ7QPT9jFn+7cSjIULAGP/exaTd9OoaCXLGwJ2cmKBCBlnE+ncYqItm0SGvBXLNLo9f5uaE+g9BEu4w5DUeDTmMadCfQDnK6y4+MLez5+vik/sWYdMlaT0s6dmLU= Received: by 10.54.50.46 with SMTP id x46mr3810916wrx; Mon, 23 May 2005 14:47:21 -0700 (PDT) Received: by 10.54.71.9 with HTTP; Mon, 23 May 2005 14:47:21 -0700 (PDT) Message-ID: <781e2bc0050523144733827b78@mail.gmail.com> Date: Mon, 23 May 2005 14:47:21 -0700 From: Benjamin Keating To: freebsd-questions@freebsd.org, rsmith@xs4all.nl In-Reply-To: <20050523205601.GA11447@slackbox.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <781e2bc0050523111214a8ff5@mail.gmail.com> <20050523205601.GA11447@slackbox.xs4all.nl> Cc: Subject: Re: Tuning Hard Disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Benjamin Keating List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2005 21:47:23 -0000 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 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 >