Article View: news.software.nntp
Article #19394Re: Read-only INND?
From: Kenneth Herron
Date: Fri, 18 Jul 1997 00:00
Date: Fri, 18 Jul 1997 00:00
50 lines
3212 bytes
3212 bytes
We're running one of these too (coincidentally set up the day before Ms. Suarez posted). In our case, the caching system is a pentium-133 running Solaris 2.5.1, with a 1-gigabyte cache. So far I'm the only one using it, which unfortunately isn't a good way to test a cache, but it's functionally complete anyway. Just to expand on Margarita's post: We're currently caching articles, overview, and the active-file directory, all on separate partitions but using the same cache. Cachefs caches at the file level--instead of, say, disk blocks--and apparently retransfers the entire file if it detects that the file has changed. This is completely wrong for the history database, so these files are provided through regular NFS. It also seems non-optimal for overview files for some of the larger groups. Accordingly, I set cachefs to only cache files up to 1mb, so some large overview files would be passed through instead of being cached. The first cachefs mount can take several minutes if the cache contains a lot of data, due to an fsck step. I was initially using the automounter to maintain the mounts, but am currently mounting them at boot time. My experience was complicated by a wayward core-finding script that was descending into the cache area and generating loads of extraneous NFS traffic (and probably keeping the cache artificially full); I may try the automounter again later. One can control how long file/directory data is cached before re-checking with the master server. Right now I'm using: articles: acregmin=600,acregmax=3600,acdirmin=300,acdirmax=3600 overview: acregmin=600,acregmax=1200,acdirmin=1200,acdirmax=3600 active: acregmin=300,acregmax=3600,acdirmin=300,acdirmax=3600 If I understand what I'm doing, this means that any particular overview file will only be transferred once per 10 minutes, and the active file only once per 5 minutes. With just me using the server, I'm getting a 13% hit rate on the spool area and a 93% hit rate on overview. My guess is that directory caching is accounting for much of this 93%; cachefs is not a perfect fit for overview caching, especially with the larger groups. It may be more effective to arrange an overview data feed and just build local overview files on the slave reader. -- Kenneth Herron -- kherron@campus.mci.net No animals were harmed during the production of this message.
Technical Details
Message-ID:
<5qmi33$403$1@read-news.campus.mci.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!not-for-mailReferences:
<5pdv24$7bs$1@newsmaster.cc.columbia.edu> <Pine.LNX.3.95.970704012634.1897S-100000@wauug.erols.com> <slrn5s569c.jfj.mario@laguna.highway.bertelsmann.de> <5qdirl$lh6$1@apakabar.cc.columbia.edu>Show Full Headers
Complete Article Headers
Message-ID: <5qmi33$403$1@read-news.campus.mci.net> Subject: Re: Read-only INND? Date: Fri, 18 Jul 1997 00:00:00 +0000 From: kherron@campus.mci.net (Kenneth Herron) References: <5pdv24$7bs$1@newsmaster.cc.columbia.edu> <Pine.LNX.3.95.970704012634.1897S-100000@wauug.erols.com> <slrn5s569c.jfj.mario@laguna.highway.bertelsmann.de> <5qdirl$lh6$1@apakabar.cc.columbia.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.technical.mbox.zip!not-for-mail X-Deja-AN: 257551426 Distribution: world Sender: zorch@ftp.UU.NET Organization: CampusMCI Newsgroups: news.software.nntp,news.admin.technical