From owner-freebsd-stable Tue Oct 2 22:57:34 2001 Delivered-To: freebsd-stable@freebsd.org Received: from zaltana.hermans.ca (h24-65-98-182.ed.shawcable.net [24.65.98.182]) by hub.freebsd.org (Postfix) with ESMTP id 9109737B403 for ; Tue, 2 Oct 2001 22:57:29 -0700 (PDT) Received: from jhermansw2k (jhermans.inside [192.168.28.100]) by zaltana.hermans.ca (Postfix) with ESMTP id 865DE1A2820; Tue, 2 Oct 2001 23:57:27 -0600 (MDT) From: "Jamie Hermans" To: Cc: "'Pete French'" Subject: RE: dirpref speedup with Compaq RAID controller Date: Tue, 2 Oct 2001 23:57:58 -0600 Organization: hermans.ca Message-ID: <000101c14bd0$5a8b8ba0$641ca8c0@jhermansw2k> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > -----Original Message----- > From: owner-freebsd-stable@FreeBSD.ORG > Sent: Tuesday, October 2, 2001 4:31 pm > To: freebsd-stable@FreeBSD.ORG > Subject: dirpref speedup with Compaq RAID controller > > As someone requested timings from RAID systems for old/new > dirpref code: > > System has as the main disc (i.e. boot, /, /usr etc) as pair > of SCSI UW drives connected to a Compaq SMART-2SL controller. > Configuration is RAID 0, and I think the stripe size is 64k > or so - whatever the conttroller thinks is suitable for UNIX > anyway. I recreated my /usr/src tree using tar/untar into a > directory next to it so I could compare operations. The disc > has softupdates enabled on it. > > Doing a 'du -s' is 2.1 times faster on the new tree. > Doing an 'rm -r' is 2.9 times faster on the new tree. > > {snip} > > -pete. > Just to throw my results into the hat... * CPU's Pentium/P54C (167.01-MHz 586-class CPU) (FreeBSD/SMP) * Compaq SMART-2/P array controller, 3 x 4.3GB SCSI drives in RAID 0 * /dev/idad0s1e on /usr (ufs, local, soft-updates) * Filesystem Size Used Avail Capacity Mounted on /dev/idad0s1e 11G 951M 9.2G 9% /usr shutdown now umount /usr dump ... time rm -rf /usr/ports = 5m21s (before) newfs -U /dev/idad0s1e mount /usr && cd /usr restore ... time rm -rf /usr/ports = 1m29s (after) -- Jamie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message