From owner-freebsd-questions Tue Aug 13 5:18:56 2002 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 DB8B237B400 for ; Tue, 13 Aug 2002 05:18:53 -0700 (PDT) Received: from ei.bzerk.org (ei.xs4all.nl [213.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4AD843E75 for ; Tue, 13 Aug 2002 05:18:52 -0700 (PDT) (envelope-from fbsd-q@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.12.5/8.12.5) with ESMTP id g7DCJf0e001656; Tue, 13 Aug 2002 14:19:41 +0200 (CEST) (envelope-from stable@ei.bzerk.org) Received: (from stable@localhost) by ei.bzerk.org (8.12.5/8.12.5/Submit) id g7DCJf4T001655; Tue, 13 Aug 2002 14:19:41 +0200 (CEST) Date: Tue, 13 Aug 2002 14:19:41 +0200 From: Ruben de Groot To: rene@xs4all.nl Cc: questions@FreeBSD.ORG Subject: Re: speeding up samba directory listings? Message-ID: <20020813121941.GA1547@ei.bzerk.org> References: <20020813114201.GJ76272@xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020813114201.GJ76272@xs4all.nl> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Aug 13, 2002 at 01:42:01PM +0200, rene@xs4all.nl typed: > Hi. I have a subdir struct with 300 dirs on the first level, total 24.5G, > 6000 files. Getting the directory listing in windows explorer over a 100Mbit link takes about 4 seconds. Can this be sped up? > > I know it could even be the GUI of windows explorer, but am wondering if it's > not a caching thing on the freebsd samba server. > Using 4.5-stable, just cvs-ed & worldbuild & kernbuild. Hi Rene, Do you have options UFS_DIRHASH in your kernel? According to LINT, it improves speed on operations on very large directories. Also, I recently saw a discussion on tuning FreeBSD & Samba, I think it was in -hackers. Maybe you can check the archieves. Same weather in rotterdam :-) Ruben > > Greets from sunny amsterdam, > Rene > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message