Article View: news.software.nntp
Article #12079Re: expire - typical running time?
From: Matthew Ward
Date: Mon, 04 Nov 1996 00:00
Date: Mon, 04 Nov 1996 00:00
73 lines
3647 bytes
3647 bytes
Marc G. Fournier wrote:
>
> 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...
Here's an example on a NetApp (330 - older model) on one of our
news servers running at 7:00 p.m. EST (not peak, but DEFINITELY
not idle):
news3:iozone/# iozone 64
...
Writing the 64 Megabyte file, 'iozone.tmp'...42.646266 seconds
Reading the file...7.394041 seconds
IOZONE performance measurements:
1573616 bytes/second for writing the file
9076074 bytes/second for reading the file
Not bad, huh?
That plus the fact that adding inodes is a blink-of-an-eye
operation.
BTW, the NFS is handled on a separate 100 megabit enet segment,
with three servers all NFSing to the NetApp.
--
"My people are the people of the dessert," said T.E. Lawrence,
picking up his fork. /\/\ a tt == Matthew.Ward@gte.net
Technical Details
Message-ID:
<327E8715.599F@gte.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> <544qg6$4kh@spirit.ki.net>Show Full Headers
Complete Article Headers
Message-ID: <327E8715.599F@gte.net> Subject: Re: expire - typical running time? Date: Mon, 04 Nov 1996 00:00:00 +0000 From: Matthew Ward <mward@gte.net> References: <3262D7BB.41C6@cim.mcgill.ca> <yy39198mpk8.fsf@velo.pp.vix.com> <32652FD4.41C6@cim.mcgill.ca> <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-mail X-Deja-AN: 194431460 To: "Marc G. Fournier" <scrappy@ki.net> Content-type: text/plain; charset=us-ascii Organization: GTE Internet Solutions Mime-version: 1.0 Newsgroups: news.software.nntp X-mailer: Mozilla 3.0 (X11; I; SunOS 5.5 sun4m)