Article View: news.software.nntp
Article #17916Re: Fastrm is a PIG
From: Dave Rose
Date: Thu, 22 May 1997 00:00
Date: Thu, 22 May 1997 00:00
69 lines
3609 bytes
3609 bytes
On Wed, 21 May 1997, Jerry Aguirre wrote:
>
> A few ideas. Do you mean 4 each 9G drives? If so then performance
> will never be as good as 9 each 4G drives or, even better, 18 each 2G
> drives. With more drives more accesses can be happening simultainiously.
Yes there are 4 9GB drives in my spool, striped with ODS 4.0
>
> What stripe size did you use. News works better with a LARGE stripe
> value. I use the size of a cylinder group, i.e. number of sectors/surfice
> times number of heads times 16.
I striped with hd * sec * 16 which seems to give a well balanced usage
across all drives.
>
> A common problem with fastrm is when the "sort" fails.
> The expirerm script attempts to sort the list of files before passing
> them to fastrm and expireover. With a sorted file list all the articles
> in a directory are removed in sequence. Without the sort fastrm has to
> jump randomly from directory to directory.
>
> Sort uses temporary files typically in /tmp or /var/tmp (check your
> version). If that fills up during the sort then the sort fails and
> the unsorted file is left to be processed by fastrm. You can check
> this by looking at the expire.rm file (in $MOSTLOGS) while fastrm is
> processing it. (There is also the old copy from the previous run.)
> These files should be sorted. If not the likely reason is that they
> are bigger than the free space in /tmp.
Nope, haven't blown /tmp or /var/tmp, and I check the expire.rm.pid file
and it was sorted.
> Finally there is a "fastfs" program that has been posted to the
> net. On some systems (SunOS, Solaris, and a few others) one can
> run this program and it tells the OS not to do synchronous creates
> and deletes. It can greatly speed up fastrm but at the expense
> of a greater chance of file corruption if there is a crash.
Not too keen on this, I don't trust things like this. I'd figure there
might be another problem I was missing.
>
> On a more global note the entire scheme of storing articles as files
> in group directories is pushing the limits. If you have a large directory
> like misc.jobs.offered the OS may have to search 40,000 directory entries
> to find the one to unlink or before creating each new article. That is
> likely where your high system time is going.
>
I'd believe this. Right now I'm taking a FULL newsfeed, and I'm keeping
things for 7 days including binaries.
Thanks for your info.
===============================================================
___ c/o Computer Services
Dave Rose | |__ The University of Manitoba
|MBnet/ 603 Engineering Building
System Administrator | / 15 Gilson Street
Voice: (204) 474-7465 | | Winnipeg, Manitoba
FAX: (204) 275-5420 |____| R3T 5V6
===============================================================
Technical Details
Message-ID:
<Pine.GSO.3.93.970522140600.191C-100000@portal.mbnet.mb.ca>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:
<199705212050.NAA17512@rigel>Show Full Headers
Complete Article Headers
Message-ID: <Pine.GSO.3.93.970522140600.191C-100000@portal.mbnet.mb.ca> Subject: Re: Fastrm is a PIG Date: Thu, 22 May 1997 00:00:00 +0000 From: Dave Rose <darose@MBnet.MB.CA> References: <199705212050.NAA17512@rigel> 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: 243142051 To: Jerry Aguirre <jerry@whowhere.com> Organization: MBnet - Manitoba's Connection To The Internet Reply-To: Dave Rose <darose@MBnet.MB.CA> Newsgroups: news.software.nntp