Article View: news.software.nntp
Article #41977Re: Reduce memory footprint of INN expire process?
From: bill davidsen
Date: Mon, 06 Dec 1999 00:00
Date: Mon, 06 Dec 1999 00:00
45 lines
2839 bytes
2839 bytes
In article <yln1rumnd8.fsf@windlord.stanford.edu>, Russ Allbery <rra@stanford.edu> wrote: | bill davidsen <davidsen@tmr.com> writes: | | > The real problem with history as we know it is that it is pushing the | > file size limit of many 32 bit machines, and the article count is still | > going up. | | Small nit: File size limits are independent of the architecture of the | processor. In theory true. In practice I don't know of any 64 bit machines with 32 bit file size limits, although my experience is limited to Cray-2 and Linux on Alpha. | . Solaris has been doing >2GB files on 32-bit architecture for | quite a while. Only sort of, the last time I looked. Like the AIX and test Linux versions, I think it takes a good bit of source code hacking. It's only slightly less complex than using multiple files and an access suite, and probably not as portable. | quite a while. But that doesn't help the folks running Linux, where I | believe it's a fundamental limitation of ext2fs at the moment. No. It's a limit of the VM. More to the point, there is no really good reason to use large files, like cycbuffs is is possible to get a solution which is efficient and portable. Actaully, there are performance gains to be had by using multiple files, say one per day, or for each million articles, or whatever, since the indices are not changing. Even if all indicaes were mmaped, since most hits come in the first few days, the paging would probably be a lot less from readers. With static indices you could probably gen up a way to use perfect hashes and get every hit or miss without multiple hits. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Technical Details
Message-ID:
<82h2qb$1pfm$1@newssvr03-int.news.prodigy.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:
<brad-2511991706200001@brad.techos.skynet.be> <ylyabm8ink.fsf@windlord.stanford.edu> <823m89$hjn$1@newssvr02.news.prodigy.com> <yln1rumnd8.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <82h2qb$1pfm$1@newssvr03-int.news.prodigy.com> Subject: Re: Reduce memory footprint of INN expire process? Date: Mon, 06 Dec 1999 00:00:00 +0000 From: davidsen@tmr.com (bill davidsen) References: <brad-2511991706200001@brad.techos.skynet.be> <ylyabm8ink.fsf@windlord.stanford.edu> <823m89$hjn$1@newssvr02.news.prodigy.com> <yln1rumnd8.fsf@windlord.stanford.edu> 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: 557378869 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr03-int.news.prodigy.com 944508555 58870 199.4.137.118 (6 Dec 1999 19:29:15 GMT) Organization: TMR Associates, Schenectady NY NNTP-Posting-Date: 6 Dec 1999 19:29:15 GMT Newsgroups: news.software.nntp Originator: davidsen@darkstar.prodigy.com