🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Dave Rose Thu, 22 May 1997 00:00
Re: Fastrm is a PIG
#17916
Author: Dave Rose
Date: Thu, 22 May 1997 00:00
69 lines
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
===============================================================



Re: Fastrm is a PIG
#17931
Author: Ragnar Lonn
Date: Thu, 22 May 1997 00:00
33 lines
2138 bytes
In article <Pine.GSO.3.93.970522140600.191C-100000@portal.mbnet.mb.ca>, Dave 
Rose <darose@MBnet.MB.CA> wrote:
>
>> 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.
>

Hmm, well we have a Sparc 20 machine that has been running as news-
server a long time and it has 6 x 4GB Seagate Hawk drives on two dedicated
10Mb/s SCSI-buses serving as spool and overview area. The disks are striped
using Online Disksuite (what Solstice Disksuite used to be called, version
3.0 I think). The server has been accepting a full feed and have served up to
400 peak-time readers, saved articles for at least a week, and had no
problems with expire runs. Your setup seems stronger than this one so
I don't think you *should* experience problems with fastrm unless there is
something wrong somewhere. Of course, it could be that having only
four physical disks isn't enough - some say 9GB drives are slower too
but are they?  People generally don't recommend them in news setups
because you want as many spindles as possible and when you buy
large drives you get fewer instead, but in general they (the 9GB drives)
aren't actually slower, are they?

  /Ragnar, Algonet/TNI

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads