From owner-freebsd-questions Wed Nov 14 7:46:12 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id A8CB037B4CF for ; Wed, 14 Nov 2001 07:45:54 -0800 (PST) Received: (from dan@localhost) by dan.emsphone.com (8.11.6/8.11.6) id fAEFjq426245; Wed, 14 Nov 2001 09:45:52 -0600 (CST) (envelope-from dan) Date: Wed, 14 Nov 2001 09:45:52 -0600 From: Dan Nelson To: Stan Brown Cc: Free BSD Questions list Subject: Re: Alternative filesytems? Message-ID: <20011114154551.GB76705@dan.emsphone.com> References: <200111141146.fAEBktp23500@panix1.panix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200111141146.fAEBktp23500@panix1.panix.com> User-Agent: Mutt/1.3.23.2i X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error 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 In the last episode (Nov 14), Stan Brown said: > I was wondering if any of the alternative filesystems curently being > developed for Linux had been ported to FreeBSD? > > I have an application for storing 10's of thousands of image files in > the same directory, and am seeinf (of cource) absyml preformance. I > here Reiserfs (sp) will handle this mutch better for instance. > > Sugestions? First, try rebuilding your kernel with options UFS_DIRHASH , which will speed up access to files in large directories. If that doesn't work, the standard solution is to create subdirectories. Going to a /f/i/filename.jpg scheme on 100000 files would take your files-per-directory average down to 150. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message