Thread View: news.software.nntp
6 messages
6 total messages
Started by Brian Edmonds
Fri, 09 Feb 2001 19:45
timings for very long news.daily
Author: Brian Edmonds
Date: Fri, 09 Feb 2001 19:45
Date: Fri, 09 Feb 2001 19:45
24 lines
1910 bytes
1910 bytes
The last news.daily run took over two days, having started at 2am on
Wednesday the 7th of February. Here's the timing:
expireover start Wed Feb 7 02:37:24 PST 2001: ( -z/news/log/expire.rm)
Article lines processed 1684237
Articles dropped 241668
Overview index dropped 266830
expireover end Thu Feb 8 00:18:32 PST 2001
expirerm start Thu Feb 8 00:23:12 PST 2001
expirerm end Thu Feb 8 08:42:22 PST 2001
expire begin Thu Feb 8 08:43:00 PST 2001: (-v1)
Article lines processed 1963298
Articles retained 1712546
Entries expired 250752
Old entries dropped 215740
Old entries retained 157257
expire end Fri Feb 9 02:21:18 PST 2001
all done Fri Feb 9 02:21:19 PST 2001
So expirerm wasn't exactly fast, but it was far from the slowest step,
and speeding it up would make minimal overall difference.
Brian.
Re: timings for very long news.daily
Author: Russ Allbery
Date: Sat, 10 Feb 2001 02:41
Date: Sat, 10 Feb 2001 02:41
50 lines
2921 bytes
2921 bytes
Ah, here's the informatoin I was wondering about. Brian Edmonds <brian@gweep.ca> writes: > The last news.daily run took over two days, having started at 2am on > Wednesday the 7th of February. Here's the timing: > expireover start Wed Feb 7 02:37:24 PST 2001: ( -z/news/log/expire.rm) > Article lines processed 1684237 > Articles dropped 241668 > Overview index dropped 266830 > expireover end Thu Feb 8 00:18:32 PST 2001 Good grief. Okay, I don't think that could be a memory-related problem; expireover doesn't care about how big your history file is... although hm, maybe it's trying to mmap it. How big is your history.hash file? What overview mechanism are you using? And do you have any incredibly huge overview files, if you're using tradindexed? (A quick find with a size limit should turn them up if so). > expirerm start Thu Feb 8 00:23:12 PST 2001 > expirerm end Thu Feb 8 08:42:22 PST 2001 STABLE should cut that to about an hour, but you're right, that's not going to help a lot. > expire begin Thu Feb 8 08:43:00 PST 2001: (-v1) > Article lines processed 1963298 > Articles retained 1712546 > Entries expired 250752 > Old entries dropped 215740 > Old entries retained 157257 > expire end Fri Feb 9 02:21:18 PST 2001 > all done Fri Feb 9 02:21:19 PST 2001 This is the place where memory limitations usually come back to bite you if that's the problem, since expire needs enough memory to hold another copy of the history.hash file. One thing you could try is to change the options struct in lib/dbz.c to specify INCORE_NO instead of INCORE_MMAP for the hash file and then recompile just expireover and expire (plus libstorage) with that setting, *not* innd. That may help if the problem is memory pressure. -- Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Re: timings for very long news.daily
Author: Brian Edmonds
Date: Sun, 11 Feb 2001 17:30
Date: Sun, 11 Feb 2001 17:30
36 lines
2756 bytes
2756 bytes
Russ Allbery <rra@stanford.edu> writes: > Okay, I don't think that could be a memory-related problem; expireover > doesn't care about how big your history file is... although hm, maybe it's > trying to mmap it. How big is your history.hash file? Due to memory constraints I'm using tagged hash, or is that no longer appropriate? My history.dir is: dbz 6 3283471 4 50 128 127 24 4 2482805 2188979 2093687 2046087 1655066 1876820 1935326 1928291 1963824 2011180 2042523 218412973 192842575 183464477 179351685 158352705 154452792 160001031 158754972 160461870 164025059 165891450 And history is currently about 220MB; the 2.0 history was around 150MB. > What overview mechanism are you using? And do you have any incredibly > huge overview files, if you're using tradindexed? (A quick find with a > size limit should turn them up if so). Yep, tradindexed, and there are probably a few big ones at least, as we have a few groups that have been around forever. What would be considered incredibly huge? Interesting that can.domain (which we don't expire) is only 1MB while alt.atheism is 5MB. I'll be looking into this a bit later when I have more time. > One thing you could try is to change the options struct in lib/dbz.c to > specify INCORE_NO instead of INCORE_MMAP for the hash file and then > recompile just expireover and expire (plus libstorage) with that setting, > *not* innd. That may help if the problem is memory pressure. I'll keep that in mind. I'm hoping we can upgrade the box to a Sparc 5 with 128MB in the near future, which I think should help considerably. Turns out the box has only 64MB, not 96MB, as a Sparc 2 needs an expansion board to go over 64MB. Brian.
Re: timings for very long news.daily
Author: Russ Allbery
Date: Sun, 11 Feb 2001 17:45
Date: Sun, 11 Feb 2001 17:45
39 lines
2815 bytes
2815 bytes
Brian Edmonds <brian@gweep.ca> writes:
> Russ Allbery <rra@stanford.edu> writes:
>> Okay, I don't think that could be a memory-related problem; expireover
>> doesn't care about how big your history file is... although hm, maybe
>> it's trying to mmap it. How big is your history.hash file?
> Due to memory constraints I'm using tagged hash, or is that no longer
> appropriate?
That probably does help. How big is history.pag? (Although I don't think
tagged hash in-core's the .pag file. Hm. But if it's not memory
pressure, what on *earth* is taking that long?)
> Yep, tradindexed, and there are probably a few big ones at least, as we
> have a few groups that have been around forever. What would be
> considered incredibly huge? Interesting that can.domain (which we don't
> expire) is only 1MB while alt.atheism is 5MB. I'll be looking into this
> a bit later when I have more time.
Check to see if you have something that's 50MB or so. tradindexed
reserves space for all article numbers, so if you have some stray old
article that never expired in a high traffic group like control.cancel,
the .IDX file can get *huge*.
> I'll keep that in mind. I'm hoping we can upgrade the box to a Sparc 5
> with 128MB in the near future, which I think should help considerably.
> Turns out the box has only 64MB, not 96MB, as a Sparc 2 needs an
> expansion board to go over 64MB.
That's getting a bit slim for IIRC 2 million articles, yes? But still,
there's a major regression somewhere....
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: timings for very long news.daily
Author: Charlie Cavities
Date: Sun, 11 Feb 2001 18:21
Date: Sun, 11 Feb 2001 18:21
33 lines
2943 bytes
2943 bytes
:: >> Okay, I don't think that could be a memory-related problem; expireover :: >> doesn't care about how big your history file is... although hm, maybe :: >> it's trying to mmap it. How big is your history.hash file? I was under the impression that expire/expireover were passed a flag (I'd have to look at the k0de to verify, or find the message where this was said) so that it would not attempt to mmap the file. This was in response to a question I posed about why the different MMAP definitions that were present in 1.x INN in the expire build directory seemed to be missing from 2.x :: That probably does help. How big is history.pag? (Although I don't think :: tagged hash in-core's the .pag file. Hm. But if it's not memory Again, for expire it shouldn't, but for normal operation, I'm pretty sure that the .pag file is INCORE. That's why you see far better history performance with old style history than with the md5-based default, in spite of the need of the old-style to verify hits in the text file, which only becomes a performance sink on highly-peered transit machines. :: pressure, what on *earth* is taking that long?) I see from the sizes given that this history has been increasing in size and count for all its time. So it's likely to be overflowing (I'd have to also see the file sizes to verify). In that case, all overflowed hashes have to be hitting the disk since only the first table is INCOREd. As I've noted, the overflow performance sucks. With so little memory, it's probably far worse than the overflows I see on machines with gigs of memory to throw around.
Re: timings for very long news.daily
Author: Brian Edmonds
Date: Sun, 11 Feb 2001 23:02
Date: Sun, 11 Feb 2001 23:02
25 lines
2154 bytes
2154 bytes
Russ Allbery <rra@stanford.edu> writes: > How big is history.pag? A shade under 50MB. > Check to see if you have something that's 50MB or so. tradindexed > reserves space for all article numbers, so if you have some stray old > article that never expired in a high traffic group like > control.cancel, the .IDX file can get *huge*. Don't see any. The alt.atheism .DAT is about 6MB, and control.cancel's is close to 8MB, but that's the extent of the big overview files. >> Turns out the box has only 64MB, not 96MB, as a Sparc 2 needs an >> expansion board to go over 64MB. > That's getting a bit slim for IIRC 2 million articles, yes? But > still, there's a major regression somewhere.... Yeah, it's slim, it's just that it was *such* a major change. The box wouldn't have a hope for transit and reading, but for just reading it was keeping up reasonably with INN 2.0 (modulo a few annoying bugs). I'm hoping to have a Sparc 5 with 128MB come free soon... Brian.
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