Article View: news.software.nntp
Article #8386Re: How do I remove stuff expire missed?
From: Torbjorn Lindgren
Date: Sun, 09 Jun 1996 00:00
Date: Sun, 09 Jun 1996 00:00
49 lines
2898 bytes
2898 bytes
Per Hedeland <per@erix.ericsson.se> wrote: >>I use newsprune when I get that kind of problems, and the difference >>is amazing (I haven't measured it, but it might well be two orders of >>magnitude or more!).. > >I seriously doubt that - I *did* measure it: Running first newsprune and >then findmissing on a lightly loaded server with 4.5GB of articles and >128 MB RAM, findmissing was 4-5 times slower, or 11:00/10:28/11:47 vs >46:42/47:38/44:32 minutes (I did it several times since there were no >missing articles - had to plant some to see if newsprune would find >them:-). Yes, I should have tested it instead of relying on sometimes faulty memory. This time it was faulty :-) On my machine the difference was smaller, slightly above twice as fast :-) *Neither* of the programs were CPU limited, even if newsprune did use 15 times as much user-time as newsprune did (it managed to get about 60% if you counted both user and system, compared news-prunes 11%). My machine is probably rather non-typical, most News-machines probably have more disk IO compared CPU (I have much CPU since the machine is used primarly for other things, and only one disk since it doesn't take *that* much News), so findmissing might well be CPU limited which would changed the ratio upwards. I found some old timings which gave a factor 6-7 speed difference (a dedicated news-server, with 4 disks for news-spool, and maybe 1/5 of the CPU power of *one* of the CPU's in this machine) >Not a big deal as you typically don't sit around waiting for it - but of >course when it's two vs nine hours you may feel differently, and with a >slower CPU (this was on a Sun SS10/30 though, i.e. rather mediocre by >today's standards) the difference may be bigger, since it's presumably >dominated by the fact that findmissing is a perl script and newsprune a >C program - they do almost exactly the same thing... Possibly. In my case *NONE* of the programs were CPU limited, and I still got a factor 2. In most cases findmissing will probably be CPU limited, which will tend to make the difference larger. -- Torbj�rn Lindgren Network manager at Funcom Oslo AS E-mail: tl@funcom.com If Santa ever DID deliver presents on Christmas Eve, he's dead now.
Technical Details
Message-ID:
<4pedtb$kut@odin.funcom.no>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:
<4nfvss$h86@ednet1.orednet.org> <4opca7$frd@odin.funcom.no> <4ovr98$bae@euas20.eua.ericsson.se>Show Full Headers
Complete Article Headers
Message-ID: <4pedtb$kut@odin.funcom.no> Subject: Re: How do I remove stuff expire missed? Date: Sun, 09 Jun 1996 00:00:00 +0000 From: tl@odin.funcom.no (Torbjorn Lindgren) References: <4nfvss$h86@ednet1.orednet.org> <4opca7$frd@odin.funcom.no> <4ovr98$bae@euas20.eua.ericsson.se> 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: 159280769 Organization: Funcom Productions. Newsgroups: news.software.nntp