Article View: news.software.nntp
Article #21933Re: News data storage model
From: Don Lewis
Date: Sat, 27 Sep 1997 00:00
Date: Sat, 27 Sep 1997 00:00
22 lines
1782 bytes
1782 bytes
In article <60hohg$oli$1@flea.best.net>, Matt Dillon <dillon@best.net> wrote: >:In article <342C0AFE.F4EB92D5@syr.edu>, > > The standard inn file storage model is broken because it blows up the > namei cache. There are just too many files... several million in your > typical spool. Even with a hash-based directory lookup, namei misses > still add a large number of random seeks to the disk. I suspect it would be worthwhile to put a quota on the number of article files in the namei cache, especially since the hit rate on files is likely to be low. This would give you a pretty good chance of keeping all the directories in the namei cache, so that you'd get cache hits on all the components of the path name until you got to the last component (the article number), at which point a hash-based directory lookup would be the best strategy. -- Don "Truck" Lewis TDK Semiconductor Internet: Don.Lewis@tsc.tdk.com 138 New Mohawk Road Phone: +1 916 478-8284 FAX: +1 916 478-8251 Nevada City, CA 95959
Technical Details
Message-ID:
<60ifq6$hch$1@news.gv.tsc.tdk.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<5vpddn$qlb$1@news5.ais.net> <6062ll$2m0a$1@newssvr03-int.news.prodigy.com> <342C0AFE.F4EB92D5@syr.edu> <60hohg$oli$1@flea.best.net>Show Full Headers
Complete Article Headers
Message-ID: <60ifq6$hch$1@news.gv.tsc.tdk.com> Subject: Re: News data storage model Date: Sat, 27 Sep 1997 00:00:00 +0000 From: gdonl@tsc.tdk.com (Don Lewis) References: <5vpddn$qlb$1@news5.ais.net> <6062ll$2m0a$1@newssvr03-int.news.prodigy.com> <342C0AFE.F4EB92D5@syr.edu> <60hohg$oli$1@flea.best.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 275939103 Distribution: inet Organization: TDK Semiconductor, Nevada City CA Newsgroups: news.software.nntp