Article View: news.software.nntp
Article #11723Re: expire - typical running time?
From: Marc G. Fournier
Date: Thu, 17 Oct 1996 00:00
Date: Thu, 17 Oct 1996 00:00
53 lines
2909 bytes
2909 bytes
Pierre Tremblay <trep@cim.mcgill.ca> writes:
>James Brister wrote:
>> > It seems expire runs for 7.5 hours every day on average. Is this
>> > normal? The spool area is an NFS-mounted SCSI-2 disk.
>>
>> First off using an NFS disk as a spool is a bad idea for performace
>> reasons. Secondly, you should try running news.daily with 'delayrm' on the
>> command line. This will cause expire to finish very quickly (less than 10
>> minutes (on a local disk) typically), but the actual removal of files
>> happens a bit later, and is done faster than expire can do it.
>I have yet to read about a good argument for not using NFS in my case
>(remember my feed excludes alt.sex.pictures* and alt.binaries*), except
>for the file locking in the out.going directory as mentioned in the FAQ.
>That's easily solved by mounting a local partition on that directory.
forget the file locking issue...by using an NFS mounted partition
vs a local one, your bottleneck moves from a local bus to a distributed
bus.
Depending on the kind of disks you are using (make, model, etc),
and the kind of SCSI controller (PCI vs IDE vs etc), you'll see upwards
of 3-5Meg/sec read/write times on the local drive.
On an NFS mounted drive, you have to get the data *to* the remote
machine first, then deal with its local bus. Then you have to consider the
overhead associated with the TCP/IP packets required for the NFS...
Grab a copy of iozone and test it though:
this is my nfs mounted drive (133k/s and 382k/s):
IOZONE performance measurements:
133152 bytes/second for writing the file
382386 bytes/second for reading the file
vs local drive (1.78M/s and 938k/s):
IOZONE performance measurements:
1784080 bytes/second for writing the file
938585 bytes/second for reading the file
The nfs drive and the local drive are both "quiet" partitions,
and at 4am, the whole system except for news is quiet...
--
Marc G. Fournier | POP Mail Telnet Acct DNS Hosting
System | WWW Services Database Services | Knowledge,
Administrator | | Information and
scrappy@ki.net | WWW: http://www.ki.net | Communications, Inc
Technical Details
Message-ID:
<544qg6$4kh@spirit.ki.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-mailReferences:
<3262D7BB.41C6@cim.mcgill.ca> <yy39198mpk8.fsf@velo.pp.vix.com> <32652FD4.41C6@cim.mcgill.ca>Show Full Headers
Complete Article Headers
Message-ID: <544qg6$4kh@spirit.ki.net> Subject: Re: expire - typical running time? Date: Thu, 17 Oct 1996 00:00:00 +0000 From: scrappy@ki.net (Marc G. Fournier) References: <3262D7BB.41C6@cim.mcgill.ca> <yy39198mpk8.fsf@velo.pp.vix.com> <32652FD4.41C6@cim.mcgill.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-mail X-Deja-AN: 190754117 Distribution: inet Organization: Knowledge, Information and Communications, Inc (ki.net) Newsgroups: news.software.nntp