From owner-freebsd-current@FreeBSD.ORG Fri Apr 9 13:22:38 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08B2516A4CE for ; Fri, 9 Apr 2004 13:22:38 -0700 (PDT) Received: from backmaster.cdsnet.net (backmaster.cdsnet.net [63.163.68.2]) by mx1.FreeBSD.org (Postfix) with SMTP id 5DB0E43D55 for ; Fri, 9 Apr 2004 13:22:37 -0700 (PDT) (envelope-from mrcpu@backmaster.cdsnet.net) Received: (qmail 13033 invoked by uid 29999); 9 Apr 2004 20:22:36 -0000 Date: Fri, 9 Apr 2004 13:22:36 -0700 From: Jaye Mathisen To: current@freebsd.org Message-ID: <20040409202236.GQ43765@backmaster.cdsnet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i X-Mailman-Approved-At: Sat, 10 Apr 2004 05:22:19 -0700 Subject: Monumentally slow directory performance. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Apr 2004 20:22:38 -0000 Running a 5.2 supped as of 4/9. I have the UFS_DIRHASH stuff compiled into my kernel. Is there some other frob to actually "turn" it on? I run softupdates, and moving files from my local box over gig ethernet to a directory with 5000 files in it is moving about 1 file every 6-7 seconds. If I move the same files to an empty directory, they move so fast I can' even read the names, which is more "normal". Even directories with 2500 or so files seem really, really, really, really slow. at least for adding/removing. My FS is UFS2, on a 3ware RAID controller. I would love any ideas. smbd is burning up 60-70% of the CPU, I've tried kernels with and without all the witness/diagnostic and all that stuff.