From: Nikita Danilov Subject: Re: filesystem <-> database Date: Tue, 13 Jan 2004 13:15:38 +0300 Message-ID: <16387.50506.681533.326732@laputa.namesys.com> References: <400312B2.9040301@rotanovs.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com In-Reply-To: <400312B2.9040301@rotanovs.com> List-Id: Content-Type: text/plain; charset="us-ascii" To: Viktors Rotanovs Cc: reiserfs-list@namesys.com Viktors Rotanovs writes: > Hi, > > I recently converted filesystem (reiser3.6) containing lots of small > files (400000 files, about 10 bytes each, Cyrus IMAP quota files) to CDB > database format (http://cr.yp.to/cdb.html plus some patching to make it > read-write), thus gaining significant performance improvement (load avg > was 5, became 3). > What is the best way to do the same for other similar small files, using > Reiser4? As far as I can understand, I could: > 1) just put everything on Reiser4, with no changes > 2) write some plugin for Reiser4 Can you explain what are you planning to use file system for in more details? What kind of operations and access patterns is expected? > Is it possible to reduce file size on disk by not saving file ownership, > modification time, etc.? > How much kernel's VFS interface, switching to kernel and back, directory > caching, etc. does slow down these operations? > > Best Wishes, > Viktors > Nikita. > >