From owner-freebsd-fs Sun Oct 4 13:24:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA21159 for freebsd-fs-outgoing; Sun, 4 Oct 1998 13:24:39 -0700 (PDT) (envelope-from owner-freebsd-fs@FreeBSD.ORG) Received: from gjp.erols.com (alex-va-n008c079.moon.jic.com [206.156.18.89]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA21154 for ; Sun, 4 Oct 1998 13:24:37 -0700 (PDT) (envelope-from gjp@gjp.erols.com) Received: from gjp.erols.com (gjp@localhost.erols.com [127.0.0.1]) by gjp.erols.com (8.8.8/8.8.7) with ESMTP id QAA17829; Sun, 4 Oct 1998 16:23:30 -0400 (EDT) (envelope-from gjp@gjp.erols.com) X-Mailer: exmh version 2.0.1 12/23/97 To: "Mr. K." cc: freebsd-fs@FreeBSD.ORG From: "Gary Palmer" Subject: Re: efficient filesystem In-reply-to: Your message of "Sun, 04 Oct 1998 15:47:20 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 04 Oct 1998 16:23:30 -0400 Message-ID: <17825.907532610@gjp.erols.com> Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "Mr. K." wrote in message ID : > does freebsd have a filesystem which would be efficient with 10,000+ files > in a single directory? I have other possibilites such as manually > breaking the files into directories (f/i/file.gif) or possibly using my > mysql database but a filesystem which could add/delete/find files in log n > time is what I'm really looking for. Do the directory breakout shuffle. Without something like VxVS (Veritas Filesystem, not available for non-commercial OSen unfortunately), which has some sort of hashed directory structure if I understand it right, then you are reduced to linear searches for all operations. Even with VxFS, maintaining a large directory like that becomes unweidly for humans, and when I was running a 300,000 user mail system, we still used /var/mail///username/Mailbox .... Breaking it out into subdirectories makes everyones lives easier, including the machines .... Gary -- Gary Palmer FreeBSD Core Team Member FreeBSD: Turning PC's into workstations. See http://www.FreeBSD.ORG/ for info To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message