Thread View: news.software.nntp
9 messages
9 total messages
Started by Pierre Tremblay
Mon, 14 Oct 1996 00:00
expire - typical running time?
Author: Pierre Tremblay
Date: Mon, 14 Oct 1996 00:00
Date: Mon, 14 Oct 1996 00:00
17 lines
1093 bytes
1093 bytes
We run inn 1.4unoff4 on a 486DX-100 PC with 24 Megs RAM running Linux 2.0.0. Ouside of running innd, the machine has no other tasks (except serving as a secondary DNS server). Our feed is basically: *,!alt.sex.pictures*,!alt.binaries 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. Would it be advisable to run expire on the machine local to this disk? Thanks, Pierre
Re: expire - typical running time?
Author: Fu Bar
Date: Tue, 15 Oct 1996 00:00
Date: Tue, 15 Oct 1996 00:00
27 lines
1686 bytes
1686 bytes
On Mon, 14 Oct 1996, Pierre Tremblay wrote: > We run inn 1.4unoff4 on a 486DX-100 PC with 24 Megs RAM running Linux > 2.0.0. Ouside of running innd, the machine has no other tasks (except > serving as a secondary DNS server). > > Our feed is basically: *,!alt.sex.pictures*,!alt.binaries > > 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. > > Would it be advisable to run expire on the machine local to this disk? Probably. You might to well to move the news disks all into 1 system, and put more RAM in there. On my 128mb P90 running linux 2.0.22, expire generally takes 3-4 hours. We have a "full feed" and exchange news with 6 sites. ------------------------------------------------------------------ Jon Lewis <jlewis@fdt.net> | Unsolicited commercial e-mail will Network Administrator | be proof-read for $199/hr. ________Finger jlewis@inorganic5.fdt.net for PGP public key_______
Re: expire - typical running time?
Author: James Brister
Date: Tue, 15 Oct 1996 00:00
Date: Tue, 15 Oct 1996 00:00
22 lines
1435 bytes
1435 bytes
Pierre Tremblay <solog@cedep.com> writes: > 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. > Would it be advisable to run expire on the machine local to this disk? You should run everything local to the machine that has the disk. James -- James Brister brister@vix.com Internet Software Consortium inn@isc.org
Re: expire - typical running time?
Author: Darrell Fuhriman
Date: Tue, 15 Oct 1996 00:00
Date: Tue, 15 Oct 1996 00:00
21 lines
1346 bytes
1346 bytes
Pierre Tremblay <solog@cedep.com> writes: > 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. That is *entirely* dependant upon your particular setup. 7.5 seems pretty decent however. Try running two expires/day that usually helps. > Would it be advisable to run expire on the machine local to this disk? You shouldn't be NFS mounting the spool... see the FAQ for why. It would most certainly not be advisable to run expire on a machine other than where INN is running. Unless of course, you like turning your spool into a complete disaster. Darrell Fuhriman
Re: expire - typical running time?
Author: Pierre Tremblay
Date: Wed, 16 Oct 1996 00:00
Date: Wed, 16 Oct 1996 00:00
23 lines
1719 bytes
1719 bytes
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. BTW, adding the delayrm parameter and adding the 'async' flag to the spool partition did help... Expire now takes about 20 minutes, then 4.5 hours are needed for the actual file removal. Pierre
Re: expire - typical running time?
Author: Jerry Carlin
Date: Wed, 16 Oct 1996 00:00
Date: Wed, 16 Oct 1996 00:00
43 lines
2285 bytes
2285 bytes
>On Mon, 14 Oct 1996, Pierre Tremblay wrote: >> We run inn 1.4unoff4... >> 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. All versions of INN have a buggy dbz library. In the recent LISA conference a paper "The Brave Little Toaster Meets Usenet" had a section discussing a bug: "The dbzagain() routine did not automatically reduce the size of the tag stored in the history.pag file as the history file grew beyond the 2n bytes initially planned for..." The result is a very long expiry run. Rebuilding the history file will make the problem go away. I also wrote the author of the paper for details and he replied: From kls@netapp.com Tue Oct 15 14:33:15 1996 From: kls@netapp.com (Karl Swartz) Subject: Re: 'brave little toaster' paper - query To: jerry@tcsi.com (Jerry Carlin) ... > I am interested in the 'dbzagain()' fix you mentioned in your paper. You > said that there was 'updated software' available. What version of INN > are you referring to/where can the fix be obtained? The latest version of C News, which I used in the tests, has the fix bundled... Hmmm ... I just found where I stashed INN and checked. It does *NOT* have the fix. There's a version at the top of dbz.c, which is V3.2 in the unpatched INN version, and V3.4 in the good one from C News. You may be able to just grab the newer dbz code from C News and use it with INN, but I haven't tried it myself. For reference, I'm looking at the "Cleanup Release of C News, with patch CR.E Jan 1995" and INN1.4-sec. -- Jerry M. Carlin "To dream the impossible dream". Man of La Mancha
Re: expire - typical running time?
Author: 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
Re: expire - typical running time?
Author: Anthony Talltree
Date: Thu, 24 Oct 1996 00:00
Date: Thu, 24 Oct 1996 00:00
12 lines
1280 bytes
1280 bytes
> 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... There was a presentation at the recent Usenix conference in Chicago about spooling articles over NFS. The presenter had used a NetApp box as the server, and CNEWS on a SunOS 4 platform. He claimed much higher throughput than with local disks, perhaps because of NetApp's improved handling of large directories. I suspect that striping may have helped, too.
Re: expire - typical running time?
Author: 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
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