From owner-freebsd-stable@FreeBSD.ORG Wed Jun 11 18:03:09 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 000BF1065682 for ; Wed, 11 Jun 2008 18:03:08 +0000 (UTC) (envelope-from bsdlist@cogeco.ca) Received: from fep5.cogeco.net (smtp.cogeco.net [216.221.81.25]) by mx1.freebsd.org (Postfix) with ESMTP id CCB888FC0A for ; Wed, 11 Jun 2008 18:03:08 +0000 (UTC) (envelope-from bsdlist@cogeco.ca) Received: from elehost-can.cogeco.ca (d36-192-94.home1.cgocable.net [24.36.192.94]) by fep5.cogeco.net (Postfix) with ESMTP id A899C1E9E for ; Wed, 11 Jun 2008 13:32:11 -0400 (EDT) X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Wed, 11 Jun 2008 13:32:42 -0400 To: freebsd-stable@freebsd.org From: Paul Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Message-Id: <20080611173211.A899C1E9E@fep5.cogeco.net> Subject: Areca Raid 6 ARC-1231 Raid 6 Slow LS Listing Performance on large directory X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2008 18:03:09 -0000 Hello, I have a RAID-6 Partition with the Areca ARC-1231 card on a S5000PAL Intel system with 6 disks as part of the raid volume. The system has been set up as Write-back cache and the raid card has a 2 GIG memory cache on it. It is installed on Freebsd 7.0 STABLE with SCHED_ULE enabled. I have a folder with a lot of small and big files in it that total 3009 files. In the user system we have 2200 users in the password file. 1) When I do a ls -lh on the raid 6 array with 6 disks in the array it takes aver 16 seconds before it starts to display anything on the screen. 2) While running a tar command on another shell, the time goes to 28 seconds for the same list to start showing. 3) When I do a ls (with no other options) it starts to list right away. 4) When I do a ls -ln it displays right away as well pointing to the slowdown being the mapping of the users in the db lookup. I have the same directory with the same number of files on a Raid 5 SCSI partition on Freebsd 4.X and it only takes 2 seconds to start displaying the list with the command ls -lh. Any ideas why it takes so long for this on Freebsd 7.0 stable? The partition this folder is on it /dev/da0s1f with a total size of 1.7T and a usage of 63G Any suggestions or help on this would be greatly appreciated. Thanks, Paul