From owner-freebsd-questions@FreeBSD.ORG Wed Jun 28 16:01:25 2006 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 6702E16A403 for ; Wed, 28 Jun 2006 16:01:25 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5F4F43D79 for ; Wed, 28 Jun 2006 16:01:16 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout1.cac.washington.edu (8.13.6+UW06.06/8.13.6+UW06.03) with ESMTP id k5SG1FYu019616 for ; Wed, 28 Jun 2006 09:01:15 -0700 X-Auth-Received: from [128.208.7.49] (pinocchio.dyn.cs.washington.edu [128.208.7.49]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.6+UW06.06/8.13.6+UW06.03) with ESMTP id k5SG1FMW014979 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 28 Jun 2006 09:01:15 -0700 Mime-Version: 1.0 (Apple Message framework v750) In-Reply-To: <20060628155129.2108C43D78@mx1.FreeBSD.org> References: <20060628155129.2108C43D78@mx1.FreeBSD.org> X-Gpgmail-State: !signed Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <55A9FE08-614D-488F-B0F3-CE9FB6CBE26A@u.washington.edu> Content-Transfer-Encoding: 7bit From: Garrett Cooper Date: Wed, 28 Jun 2006 09:04:46 -0700 To: FreeBSD Questions X-Mailer: Apple Mail (2.750) X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0' Subject: Re: busy disks - a lot of write activities on / part 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: Wed, 28 Jun 2006 16:01:25 -0000 On Jun 28, 2006, at 8:51 AM, Tamouh H. wrote: > > I'm diagnosing a slow hard disk issues , trying to determine where > the bottleneck in all of this. The system is FreeBSD 5.4 with SCSI > U320 drives in RAID-5 on Adaptec 2130SLP Controller. > > I'm noticing the / boot partition has the most activities for > writes/Busy and was wondering if anyone can shed some lights on > this and what can possibly be done to speed up the drives. > > doing 'gstat' shows: > > dT: 0.510 flag_I 500000us sizeof 240 i -1 > L(q) ops/s r/s kBps ms/r w/s kBps ms/w %busy Name > 0 0 0 0 0.0 0 0 0.0 0.0| acd0 > 1 141 6 259 6.6 135 1466 121.0 94.3| aacd0 > 0 0 0 0 0.0 0 0 0.0 0.0| aacd1 > 0 0 0 0 0.0 0 0 0.0 0.0| acd0t01 > 1 141 6 259 6.7 135 1466 121.0 94.5| aacd0s1 > 0 0 0 0 0.0 0 0 0.0 0.0| aacd1s1 > 1 61 0 0 0.0 61 549 16.6 101.2| > aacd0s1a > 0 0 0 0 0.0 0 0 0.0 0.0| > aacd0s1b > 0 0 0 0 0.0 0 0 0.0 0.0| > aacd0s1c > 0 73 0 0 0.0 73 906 205.1 48.6| > aacd0s1d > 0 4 2 4 7.9 2 12 242.6 49.1| > aacd0s1e > 0 4 4 255 6.1 0 0 0.0 2.4| > aacd0s1f > 0 0 0 0 0.0 0 0 0.0 0.0| > aacd1s1c > 0 0 0 0 0.0 0 0 0.0 0.0| > aacd1s1d > 0 0 0 0 0.0 0 0 0.0 0.0| > aacd1s1e > > This is df: > > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/aacd0s1a 809998 59430 685770 8% / > devfs 1 1 0 100% /dev > /dev/aacd1s1e 1722888 14892 1570166 1% /tmp > /dev/aacd0s1f 209955742 62440662 130718622 32% /home > /dev/aacd0s1d 35921132 6151076 26896366 19% /usr > /dev/aacd0s1e 22270798 3480300 17008836 17% /var > devfs 1 1 0 100% /var/named/dev > procfs 4 4 0 100% /proc > /dev/aacd1s1d 137099908 70149522 55982394 56% /backup > > Any info on matter of disks performance is much appreciated. > > Thx, > > Tamouh Hakmi Try compiling and installing lsof in ports. That may help in determining what files are open so then you can trace the files back to any given processes that may still have the files open, so then you can determine the bottlenecks better. -Garrett