🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
26 messages
26 total messages Started by Jesper Skriver Sat, 25 Oct 1997 00:00
Speedup of our readerbox
#22647
Author: Jesper Skriver
Date: Sat, 25 Oct 1997 00:00
53 lines
2686 bytes
Hi

I'm trying to figure a way to speedup our readerbox,
which uses it's time like this

         Code region     Time         Pct  Invoked Min   Avg   Max
         article cancel  00:04:14.850  0.6%   2895 0.009 0.088 0.959     
         article control 01:12:07.150  9.4% 109242 0.025 0.040 0.093
         article link    00:00:20.584  0.0%  68409 0.000 0.000 0.009
         article write   04:19:06.082 33.8% 242646 0.042 0.064 0.120
         history grep    00:01:19.361  0.2%  13554 0.000 0.006 0.047     
         history lookup  04:40:49.505 36.6% 569982 0.018 0.030 0.046    
         history sync    00:00:01.966  0.0%   4917 0.000 0.000 0.003
         history write   00:04:56.868  0.6% 365426 0.000 0.001 0.002
         idle            00:03:00.436  0.4%  78252 0.000 0.002 0.137
         site send       00:08:51.348  1.2% 872413 0.000 0.001 0.005      

It's a RS/6K model G40 with 4 * 112 MHz PowerPC 604 CPU's, 512 MB 
memory, 32 SSA 4 GB drives, 2 F/W SCSI 4 GB drives, 4 F/W 2 GB drives.

It has a striped spool across 28 * 4 Gb SSA drives, overview is
on a striped filesystem across 4 * 4 Gb SSA drives, history is
on a striped filesystem across 4 * 2 Gb F/W SCSI drives (atlas-II).

It runs 1.7 with the patches from http://www.insync.net/~aos/inn.html

I see 4 ways to improve performance.
1) Trying the 64bit history patch
2) Running Jeremy's cleanfeed filter on our feeder box, so it will
   offer fewer articles to the reader box.
3) Stop feeding cancels to the reader box, and run nocem on spool
   instead.
4) Improve the speed of the spool.

1) & 2) I'll probably try later today, but I would like comments.
3) I doesn't know where to start, which version of nocem should
   I try ..., and is there any experience on how it performs.
4) Hmm, AIX's jfs is a bottleneck, I can't see how to improve
   much on this.

Any comments or good ideas?

/Jesper

--
Jesper Skriver (JS249-RIPE), Network manager      
Tele Danmark Internet (TDI1-RIPE)

One Unix to rule them all, One Resolver to find them,
One IP to bring them all and in the zone bind them.

Re: Speedup of our readerbox
#22645
Author: Matt Dillon
Date: Sat, 25 Oct 1997 00:00
85 lines
4185 bytes
:In article <62sdnf$1h7e$1@news.inet.tele.dk>,
:Jesper Skriver  <jesper@skriver.dk> wrote:
:>Hi
:>
:>I'm trying to figure a way to speedup our readerbox,
:>which uses it's time like this
:>
:>         Code region     Time         Pct  Invoked Min   Avg   Max
:>         article cancel  00:04:14.850  0.6%   2895 0.009 0.088 0.959     
:>         article control 01:12:07.150  9.4% 109242 0.025 0.040 0.093
:>         article link    00:00:20.584  0.0%  68409 0.000 0.000 0.009
:>         article write   04:19:06.082 33.8% 242646 0.042 0.064 0.120
:>         history grep    00:01:19.361  0.2%  13554 0.000 0.006 0.047     
:>         history lookup  04:40:49.505 36.6% 569982 0.018 0.030 0.046    
:>         history sync    00:00:01.966  0.0%   4917 0.000 0.000 0.003
:>         history write   00:04:56.868  0.6% 365426 0.000 0.001 0.002
:>         idle            00:03:00.436  0.4%  78252 0.000 0.002 0.137
:>         site send       00:08:51.348  1.2% 872413 0.000 0.001 0.005      
:>
:>It's a RS/6K model G40 with 4 * 112 MHz PowerPC 604 CPU's, 512 MB 
:>memory, 32 SSA 4 GB drives, 2 F/W SCSI 4 GB drives, 4 F/W 2 GB drives.
:>
:>It has a striped spool across 28 * 4 Gb SSA drives, overview is
:>on a striped filesystem across 4 * 4 Gb SSA drives, history is
:>on a striped filesystem across 4 * 2 Gb F/W SCSI drives (atlas-II).

    28 * 4 = 112 GB spool.  Now that is a *big* news spool!

    The history lookup time is almost certainly related to the size of
    the history file verses the amount of memory you have for disk
    caching.  with a spool that big, reducing the remember time
    in expire.ctl (coupled with the correct -c option to innd) will
    probably not have a huge effect due to article retention times.

    The article write time is almost certainly related to the initial
    open() blocking on disk accesses.  This is a combination of a
    caching issue and the fact that, due to the size of the spool,
    each group directory contains a huge number of articles.  Even
    with a hashing filesystem, there is a serious caching issue there.

:>It runs 1.7 with the patches from http://www.insync.net/~aos/inn.html
:>
:>I see 4 ways to improve performance.
:>1) Trying the 64bit history patch
:>2) Running Jeremy's cleanfeed filter on our feeder box, so it will
:>   offer fewer articles to the reader box.
:>3) Stop feeding cancels to the reader box, and run nocem on spool
:>   instead.
:>4) Improve the speed of the spool.

    Your spool is already striped across 28 drives, you are 
    probably not going to be able to improve its speed much more.

    I think your best bet is to add another 512MB of ram and
    then tune the buffer and namei caches for the machine.  A
    machine like that has got to be pretty expensive, what's
    another 512MB of ram ?

    You should also review the reasons behind having such a large
    spool.  Reducing the size of the spool will have a direct
    effect on both bottlenecks (history lookup, article write).

    You can also try reducing the remember time (& -c option to
    innd, both go together).

    And you can also try your above ideas.

    Most people have 16-32 GB spools.  Many news transit nodes
    (in the top 1000) have even smaller spools... 1-16 GB, and
    you will have a hard time competing with that so I wouldn't
    bother.

					-Matt

:>Any comments or good ideas?
:>
:>/Jesper
:>
:>--
:>Jesper Skriver (JS249-RIPE), Network manager      
:>Tele Danmark Internet (TDI1-RIPE)


Re: Speedup of our readerbox
#22646
Author: Jesper Skriver
Date: Sat, 25 Oct 1997 00:00
20 lines
1273 bytes
Now, when I'm patching, I would like to do something
about renumber, it sometimes takes as much as 20 min
to do a renumber, and in this time innd is bloked.

I think I remember somebody, at some time posted a
"friendly renumber" patch, that took this part out
of innd, but I can't find anything on dejanews, or
the usual "patch shops".

Is my memory as bad as my friends say, or?

--
Jesper Skriver (JS249-RIPE), Network manager      
Tele Danmark Internet (TDI1-RIPE)

One Unix to rule them all, One Resolver to find them,
One IP to bring them all and in the zone bind them.

Re: Speedup of our readerbox
#22652
Author: Jeremy
Date: Sat, 25 Oct 1997 00:00
31 lines
1674 bytes
Jesper Skriver  <jesper@skriver.dk> wrote:

>          history lookup  04:40:49.505 36.6% 569982 0.018 0.030 0.046    

Ouch... I thought I had the worst history-lookup times around.

> 2) Running Jeremy's cleanfeed filter on our feeder box, so it will
>    offer fewer articles to the reader box.

This (or Jeff's filter) will help, and it will certainly make your
spool look nicer for your users :) but probably won't be the magic
fix you're looking for.

> 4) Improve the speed of the spool.

Your spool is looking good.  I'd sacrifice lusers to a volcano for
article write times double what you're running.  (Actually, I'd toss
them in the volcano anyway, given the opportunity...)  It's your
history lookups that concern me.  Since you appear to be running the
history cache already, I'd hazard a guess that the sheer hugeness of
your spool, and thus of your history file, is to blame.

I haven't tried the 64-bit history stuff, but you might want to
start there.

-- 
Jeremy  |  jeremy@exit109.com
"I think I speak for everyone here when I say, 'Huh?'"  --Buffy

Re: Speedup of our readerbox
#22653
Author: Jeremy
Date: Sat, 25 Oct 1997 00:00
22 lines
1371 bytes
Jesper Skriver  <jesper@skriver.dk> wrote:

> Now, when I'm patching, I would like to do something
> about renumber, it sometimes takes as much as 20 min
> to do a renumber, and in this time innd is bloked.
> 
> I think I remember somebody, at some time posted a
> "friendly renumber" patch, that took this part out
> of innd, but I can't find anything on dejanews, or
> the usual "patch shops".
> 
> Is my memory as bad as my friends say, or?

Search Dejanews for   news.software.nntp fast renumber patch   in the
"old" database.  It was one of two hits that came up for me.

-- 
Jeremy  |  jeremy@exit109.com
The customer is always right, until he tries to say something.

Re: Speedup of our readerbox
#22654
Author: Jesper Skriver
Date: Sat, 25 Oct 1997 00:00
50 lines
2333 bytes
Jeremy <jeremy@exit109.com> writes:

>>          history lookup  04:40:49.505 36.6% 569982 0.018 0.030 0.046    

>Ouch... I thought I had the worst history-lookup times around.

It has been worse ... not that I'm proud of it.

>> 2) Running Jeremy's cleanfeed filter on our feeder box, so it will
>>    offer fewer articles to the reader box.

>This (or Jeff's filter) will help, and it will certainly make your
>spool look nicer for your users :) but probably won't be the magic
>fix you're looking for.

I've just installed it, I'm quite amazed, it rejects about 1 article
pr. second, I knew there was a lot of spam around, but I didn't know
it was this much.

Hmm, this will probably drop my Freenix rating ..., but what the hell,
then I have to tweak my feederbox in other directions.

>> 4) Improve the speed of the spool.

>Your spool is looking good.  I'd sacrifice lusers to a volcano for
>article write times double what you're running.  (Actually, I'd toss
>them in the volcano anyway, given the opportunity...)  It's your
>history lookups that concern me.  Since you appear to be running the
>history cache already, I'd hazard a guess that the sheer hugeness of
>your spool, and thus of your history file, is to blame.

At the moment it's ~500 MB, it used to be ~800 MB, but we've cut
a bit on expire.

How big are your history file?

>I haven't tried the 64-bit history stuff, but you might want to
>start there.

I think I will.

--
Jesper Skriver (JS249-RIPE), Network manager      
Tele Danmark Internet (TDI1-RIPE)

One Unix to rule them all, One Resolver to find them,
One IP to bring them all and in the zone bind them.

Re: Speedup of our readerbox
#22656
Author: Danhiel
Date: Sat, 25 Oct 1997 00:00
42 lines
2203 bytes
Jeremy wrote:
> 
> Jesper Skriver  <jesper@skriver.dk> wrote:
> 
> > At the moment it's ~500 MB, it used to be ~800 MB, but we've cut
> > a bit on expire.
> >
> > How big are your history file?
> 
> Mine is about 268 MB at the moment.  To cut it down to size, I dropped
> my /remember/ to 7 days and shut off REMEMBER_TRASH.  I'm thinking
> about dropping /remember/ even more; my history lookups usually give
> me an average of 20ms, though some days it's lower.

Hmm... after putting in your spam filters and tweaking them I
_turned_on_ REMEMBER_TRASH, as checking the logs showed that I was
rejecting the same spam over and over.  Given that a hist lookup should
be much faster than having to pass the article into the spam filter and
maybe even look at it's body, I'd think the trade off would be
worthwhile.

Or have I deluded myself into thinking that arts rejected as spam are
added to the history file?  I'm pretty sure that I have verified this,
but... *shrug*.

BTW, for the sake of comparison, some times we're rejecting spam faster
(in arts/sec) than we're accepting articles (I've seen ~300 spam arts
rejected in a 30 second interval on occasion...).  That's _with_
REMEMBER_TRASH on.  *shiver*

Danhiel

ObHistorySize: 234mb, with a custom expiry and history munger
remembering for about 8 days (yes, it's sorta skinny).

--
Danhiel Baker                         danhiel@moreinfo.com
Chief SysAdmin,
Supernews, Inc                        http://www.Supernews.com

Re: Speedup of our readerbox
#22658
Author: Jeremy
Date: Sat, 25 Oct 1997 00:00
18 lines
1158 bytes
Jesper Skriver  <jesper@skriver.dk> wrote:

> At the moment it's ~500 MB, it used to be ~800 MB, but we've cut
> a bit on expire.
> 
> How big are your history file?

Mine is about 268 MB at the moment.  To cut it down to size, I dropped
my /remember/ to 7 days and shut off REMEMBER_TRASH.  I'm thinking
about dropping /remember/ even more; my history lookups usually give
me an average of 20ms, though some days it's lower.

-- 
Jeremy  |  jeremy@exit109.com
"Who's scruffy-looking?"  --Han Solo

Re: Speedup of our readerbox
#22664
Author: Jeremy
Date: Sat, 25 Oct 1997 00:00
18 lines
1233 bytes
brian moore <bem@news.cmc.net> wrote:

>> Hmm, this will probably drop my Freenix rating ..., but what the hell,
>> then I have to tweak my feederbox in other directions.
> 
> Actually, it may help your freenix rating: you'll spend your time moving
> articles that will actually propogate.  It helped mine. :)

Mine was the highest it's ever been last month, running the filter the
whole time.

-- 
Jeremy  |  jeremy@exit109.com
"If it's not real, WHY DOES IT TAKE UP DISK SPACE?" --bev.
                                   net.subculture.usenet

Re: Speedup of our readerbox
#22661
Author: Jeremy
Date: Sun, 26 Oct 1997 00:00
38 lines
2240 bytes
Danhiel  <danhiel@moreinfo.com> wrote:

>> Mine is about 268 MB at the moment.  To cut it down to size, I dropped
>> my /remember/ to 7 days and shut off REMEMBER_TRASH.  I'm thinking
>> about dropping /remember/ even more; my history lookups usually give
>> me an average of 20ms, though some days it's lower.
> 
> Hmm... after putting in your spam filters and tweaking them I
> _turned_on_ REMEMBER_TRASH, as checking the logs showed that I was
> rejecting the same spam over and over.  Given that a hist lookup should
> be much faster than having to pass the article into the spam filter and
> maybe even look at it's body, I'd think the trade off would be
> worthwhile.

History lookup "should be" faster, but on my machine at least, running
an article through the Perl filter is faster. :)  Not REMEMBERing_TRASH
should result in a smaller history file too; at least that's my theory.

> Or have I deluded myself into thinking that arts rejected as spam are
> added to the history file?  I'm pretty sure that I have verified this,
> but... *shrug*.

If you REMEMBER_TRASH they should be.

> BTW, for the sake of comparison, some times we're rejecting spam faster
> (in arts/sec) than we're accepting articles (I've seen ~300 spam arts
> rejected in a 30 second interval on occasion...).  That's _with_
> REMEMBER_TRASH on.  *shiver*

Yeah, try a tail -f news.notice, late on a Friday evening.  If you have
a strong stomach, that is.

-- 
Jeremy  |  jeremy@exit109.com
"Everything you think you know is wrong."  --Jack Chalker

Re: Speedup of our readerbox
#22663
Author: Ken Leland
Date: Sun, 26 Oct 1997 00:00
32 lines
2028 bytes
In article <630b1r$811$2@tor-nn1.netcom.ca>,
Brian Tao <taob@nbc.netcom.ca> wrote:
>In article <6306s8$970$1@shell.monmouth.com>, Ken Leland <kwl@shell.monmouth.com> wrote:
>>
>>I just checked my last 5 minutes and got HISHAVE 8437(15762) on my pc
>>news box (pretty typical). So I think you want to do more on this
>>one.  I'm running Garzik's history cache and Greco's 64bit dbz. Other
>>combos can give good results as well.
>
>    Are there any patches that don't cause huge memory leaks?  I've
>tried O'Neill's original history cache patch and Garzik's improved
>history and pre-commit cache, but both cause innd on my feeder to grow
>seemingly without bound.  It starts out around 60MB, but I've seen it
>reach over 600MB before I restarted innd.  The unpatched innd on my
>reader box keeps a constant memory footprint, even after months of
>running.

Hmmm, I'm running Jeff's improved history cache patch alright. 
With that and Joe's 64b dbz, I see flat memory consumption on innd at 
125 Meg for many weeks at a time. (I usually fiddle with disk configuration
once a month when my wife lets me buy another drive).

Perhaps the port to your OS (Solaris?) is not quite right. This combo
has been like a rock for me on BSDI 3.0 with INN1.5.1. 
(my configuration does not yet have the precommit patch)

Ken Leland
Monmouth Internet


Re: Speedup of our readerbox
#22665
Author: Jesper Skriver
Date: Sun, 26 Oct 1997 00:00
105 lines
4464 bytes
>:>It's a RS/6K model G40 with 4 * 112 MHz PowerPC 604 CPU's, 512 MB 
>:>memory, 32 SSA 4 GB drives, 2 F/W SCSI 4 GB drives, 4 F/W 2 GB drives.
>:>
>:>It has a striped spool across 28 * 4 Gb SSA drives, overview is
>:>on a striped filesystem across 4 * 4 Gb SSA drives, history is
>:>on a striped filesystem across 4 * 2 Gb F/W SCSI drives (atlas-II).

>    28 * 4 = 112 GB spool.  Now that is a *big* news spool!

Yes, we like to keep things around, and at the same time offer
our customers a full feed, including binaries.

But we only use ~60% of the disk capacity, the reason for this
many drives is performance, it used to be on 14 drives, but
back then we just couldn't keep up.

>    The history lookup time is almost certainly related to the size of
>    the history file verses the amount of memory you have for disk
>    caching.  with a spool that big, reducing the remember time
>    in expire.ctl (coupled with the correct -c option to innd) will
>    probably not have a huge effect due to article retention times.

Our expire.ctl looks like this today, after I've been cutting a bit
on our remember and retension times.

/remember/:6
*:A:1:12:12
alt.*:A:1:8:8
alt.binaries*:A:1:5:5
alt.binaries.cd.images:A:1:5:5
alt.binaries.games:A:1:3:3
alt.binaries.warez.ibm-pc:A:1:5:5
alt.sex*:A:1:5:5
alt.warez*:A:1:5:5
*.jobs.*:A:1:1:1
*.test:A:1:1:1
control*:A:1:1:1
junk:A:1:1:1
dk.*:A:1:365:365
tele.*:A:1:365:365
*.announce:A:1:365:365
news.software.*:A:1:365:365
news.lists.filters:A:1:4:4
alt.sysadmin.recovery:A:1:never:never
bofh.*:A:1:never:never

>:>It runs 1.7 with the patches from http://www.insync.net/~aos/inn.html
>:>
>:>I see 4 ways to improve performance.
>:>1) Trying the 64bit history patch
>:>2) Running Jeremy's cleanfeed filter on our feeder box, so it will
>:>   offer fewer articles to the reader box.
>:>3) Stop feeding cancels to the reader box, and run nocem on spool
>:>   instead.
>:>4) Improve the speed of the spool.

>    Your spool is already striped across 28 drives, you are 
>    probably not going to be able to improve its speed much more.

I'm afraid your right.

>    I think your best bet is to add another 512MB of ram and
>    then tune the buffer and namei caches for the machine.  A
>    machine like that has got to be pretty expensive, what's
>    another 512MB of ram ?

The machine costs ~$120.000 in Denmark, but the problem is, for
upgrading to 1GB memory, we'll have to discard the old 512MB and
buy 1GB instead.

It's fittet with 16*32MB modules, and we need 16*64MB modules ...

At the moment we support a peak of 400 simultanious readers, but
thanks to actived, we still have ~350 MB memory for buffers, I
thought that should be enough.

>    You should also review the reasons behind having such a large
>    spool.  Reducing the size of the spool will have a direct
>    effect on both bottlenecks (history lookup, article write).

I've been cutting on remember and retension times, just for
this reason, I'm waiting a few days to see if it makes any
difference.

>    And you can also try your above ideas.

>    Most people have 16-32 GB spools.  Many news transit nodes
>    (in the top 1000) have even smaller spools... 1-16 GB, and
>    you will have a hard time competing with that so I wouldn't
>    bother.

We've just converted our feederbox to CNFS, with a 4 GB spool, and 
it screams. In september it was #71 on the Freenix list, and that
was running Diablo. I can see that we propagate more articles 
now running CNFS, that we did running Diablo.

--
Jesper Skriver (JS249-RIPE), Network manager      
Tele Danmark Internet (TDI1-RIPE)

One Unix to rule them all, One Resolver to find them,
One IP to bring them all and in the zone bind them.

Re: Speedup of our readerbox
#22668
Author: Brian Tao
Date: Sun, 26 Oct 1997 00:00
20 lines
1599 bytes
In article <6306s8$970$1@shell.monmouth.com>, Ken Leland <kwl@shell.monmouth.com> wrote:
>
>I just checked my last 5 minutes and got HISHAVE 8437(15762) on my pc
>news box (pretty typical). So I think you want to do more on this
>one.  I'm running Garzik's history cache and Greco's 64bit dbz. Other
>combos can give good results as well.

    Are there any patches that don't cause huge memory leaks?  I've
tried O'Neill's original history cache patch and Garzik's improved
history and pre-commit cache, but both cause innd on my feeder to grow
seemingly without bound.  It starts out around 60MB, but I've seen it
reach over 600MB before I restarted innd.  The unpatched innd on my
reader box keeps a constant memory footprint, even after months of
running.
-- 
Brian Tao (BT300, taob@netcom.ca)
"Though this be madness, yet there is method in't"

Re: Speedup of our readerbox
#22669
Author: Jesper Skriver
Date: Sun, 26 Oct 1997 00:00
31 lines
1875 bytes
Jeremy <jeremy@exit109.com> writes:

>> At the moment it's ~500 MB, it used to be ~800 MB, but we've cut
>> a bit on expire.
>> 
>> How big are your history file?

>Mine is about 268 MB at the moment.  To cut it down to size, I dropped
>my /remember/ to 7 days and shut off REMEMBER_TRASH.  I'm thinking
>about dropping /remember/ even more; my history lookups usually give
>me an average of 20ms, though some days it's lower.

I'm considering dropping the backup feed for the reader-box (that is
to feed it from our feederbox only), and to turn off REMEMBER_TRASH, 
this way it'll only offer the same article once, and my history
file will be smaller, and as an extra bonus, I'll get full benefit
of the cleanfeed filter on the feederbox, as it is right now, the
missing articles from the feederbox is just offered by the backup
feed, and then rejected by the cleanfeed filter on the readerbox.

Do you think this would be a good idea?

--
Jesper Skriver (JS249-RIPE), Network manager      
Tele Danmark Internet (TDI1-RIPE)

One Unix to rule them all, One Resolver to find them,
One IP to bring them all and in the zone bind them.

Re: Speedup of our readerbox
#22670
Author: Michael Shields
Date: Sun, 26 Oct 1997 00:00
21 lines
1555 bytes
In article <62vvvh$rak$1@tor-nn1.netcom.ca>,
taob@nbc.netcom.ca (Brian Tao) wrote:
> Oct 26 11:22:44 tor-nx1 innd: ME time 301015 \
>                                  idle 122(235) \
>                                  artwrite 37655(2132) \
>                                  artlink 46(739) \
>                                  hiswrite 50403(3103) \
>                                  hissync 106(431) \
>                                  sitesend 2749(4261) \
>                                  artctrl 18549(832) \
>                                  artcncl 272(8) \
>                                  hishave 152987(15138) \
>                                  hisgrep 379(419) 

This is history-bound.  You could try Clayton O'Neill's dbz patches,
which eat RAM but which are faster.
-- 
Shields, CrossLink.

Re: Speedup of our readerbox
#22672
Author: Brian Tao
Date: Sun, 26 Oct 1997 00:00
25 lines
1811 bytes
In article <630gv8$ori$1@shell.monmouth.com>, Ken Leland <kwl@shell.monmouth.com> wrote:
>
>Hmmm, I'm running Jeff's improved history cache patch alright.   With
>that and Joe's 64b dbz, I see flat memory consumption on innd at 125
>Meg for many weeks at a time.

    Wow... that's about double what I would expect my baseline memory
usage to be.  Does the 64-bit dbz account for the bigger footprint, or
do you just have a really long remember?

>Perhaps the port to your OS (Solaris?) is not quite right. This combo
>has been like a rock for me on BSDI 3.0 with INN1.5.1.   (my
>configuration does not yet have the precommit patch)

    It's possible Solaris has a problem, but 1.5.1 without any history
fiddling has a stable memory footprint.  Adding Clayton's original
history cache patches causes a memory leak (which is a known problem),
but aos' INN 1.7 patches (without Clayton's history work) also exhibit
the same problem.
-- 
Brian Tao (BT300, taob@netcom.ca)
"Though this be madness, yet there is method in't"

Re: Speedup of our readerbox
#22673
Author: Brian Tao
Date: Sun, 26 Oct 1997 00:00
14 lines
1266 bytes
In article <3453BC83.5007D92C@spinne.com>, Jeff Garzik  <jeff.garzik@spinne.com> wrote:
>
>Clayton's original history cache patch had a memory leak or two, but
>he fixed that and updated his patch on his Web page (http://www.news.erols.com/)

    Hrm, I guess I'll back out half the patches at a time to narrow
down the cause, or try Clayton's new patches or Joe's 64-bit history
(assuming I can get it to work with 1.7).
-- 
Brian Tao (BT300, taob@netcom.ca)
"Though this be madness, yet there is method in't"

Re: Speedup of our readerbox
#22674
Author: Trevor Fiatal
Date: Sun, 26 Oct 1997 00:00
21 lines
1599 bytes
On 26 Oct 1997 02:20:21 GMT, Jeremy <jeremy@exit109.com> spake thusly:

>Yeah, try a tail -f news.notice, late on a Friday evening.  If you have
>a strong stomach, that is.

Kind of shakes your faith in humanity, doesn't it?  My field-systems
engineering minions wasted a good 20 minutes yesterday laughing their
collective asses off at the Subject lines of the killed spam.

I'm using spam-hippo, not Jeremy's filter, but same net effect...
Lots of dead spam, disgusting news.notice logs.

-Trevor
/--------------------------------=-----------------------------------\
|Trevor Fiatal - trevor@home.net |                                   |
|Internet Applications Architect | "Entropy sucks."                  | 
|@Home Network, SF Bay Area, CA  |                                   | 
\--------------------------------|-----------------------------------/

Re: Speedup of our readerbox
#22675
Author: Ken Leland
Date: Sun, 26 Oct 1997 00:00
35 lines
2091 bytes
In article <62vvvh$rak$1@tor-nn1.netcom.ca>,
Brian Tao <taob@nbc.netcom.ca> wrote:

>                                 idle 122(235) \
...
>                                 hishave 152987(15138) \
>
>    An article is written in less than 18 ms, which I presume is very
>good, given Jesper's numbers to a huge RAID on his RS/6000 box.  Each
>history lookup takes about 10 ms, which should also be acceptable,
>based on comments in the patch docs.  I am running INN 1.7 with aos'
>jumbo patch, which includes history lookup caches.  Shouldn't those
>reduce history lookup times, or does it just mean the server can do
>them faster, and stay just as busy?
>
>    Configuration is a 170-MHz Ultra-1 with 256MB of RAM, innfeed to
>48 peers, no readers.  OS and logs are on one internal narrow 2GB
>drive, history and active are on another internal narrow 2GB.  Spool
>is on a Netapp F220 over FDDI.
>-- 

I just checked my last 5 minutes and got HISHAVE 8437(15762) on
my pc news box (pretty typical). So I think you want to do more on this one.
I'm running Garzik's history cache and Greco's 64bit dbz. Other
combos can give good results as well.  You can try Clayton's newer stuff, 
if you really want to nail some history lookups, but 1/2 a millisecond is 
good for the next few weeks for me anyway. 10 ms is definitely not
cool for substantive peering and I don't think your hardware is
holding you back all that much compared to my pc.

Ken Leland
Monmouth Intenet

Re: Speedup of our readerbox
#22678
Author: Brian Tao
Date: Sun, 26 Oct 1997 00:00
14 lines
1203 bytes
In article <g67mb0pc8e.fsf@daedalus.crosslink.net>, Michael Shields <shields@crosslink.net> wrote:
>
>This is history-bound.  You could try Clayton O'Neill's dbz patches,
>which eat RAM but which are faster.

    I've been meaning to try an alternative to history caching, since
I'm still having memory leak problems, even with the version included
in Andrew Smith's 1.7 jumbo patch.
-- 
Brian Tao (BT300, taob@netcom.ca)
"Though this be madness, yet there is method in't"

Re: Speedup of our readerbox
#22679
Author: Mark Nordberg
Date: Mon, 27 Oct 1997 00:00
24 lines
1746 bytes
Brian Tao (taob@nbc.netcom.ca) wrote:
:     It's possible Solaris has a problem, but 1.5.1 without any history
: fiddling has a stable memory footprint.  Adding Clayton's original
: history cache patches causes a memory leak (which is a known problem),
: but aos' INN 1.7 patches (without Clayton's history work) also exhibit
: the same problem.

Running Linux with aos insync patches for INN 1.7 with full feed of
about 5 GB per day and see a 32MB footprint for INN with a 5 day
remember.  After about a week of running I have not seen INND
grow at all.

--mpn

-- 

Mark Nordberg                  |  *Nortel's Information  Network
 mpn@nortel.net (business)     |  *Unix System Administration
 mpn@mindspring.com (personal) |-------------------------------------------\
-------------------------------/So yes, the answer is "don't do that, then".\
                                                            -Linus Torvalds

Re: Speedup of our readerbox
#22701
Author: coneill
Date: Tue, 28 Oct 1997 00:00
37 lines
2573 bytes
heiko@cis.fu-berlin.de (Heiko Schlichting) writes:
> shields@crosslink.net (Michael Shields) writes:
> >I should clarify, since this thread has veered off into talking
> >about history caches, that I was referring to Clayton's dbz rewrite,
> >not his history cache patch.
> 
> Using the Clayton-O'Neill-DBZ code (version dbz-97080300) I noticed the
> following problems:
> 
> - the disk space of old and removed history.pag files is still bound
>   because innd, nnrpd, overchan and other subprocesses of innd keep
>   this files open. After some days without restarting the innd all the
>   history.pag files fills up a lot of disk space in this partition.
>   (Each history.pag file is about 110 MB in our configuration.)
> - ctlinnd reload history "" and expire increases the number of open file
>   descriptors for history.pag in innd by 1. This could produce problems
>   with running out of file descriptors.
> - subprocesses of innd (e.g. nnrpd, overchan, crosspost) get open file
>   descriptors for history.pag.
> 
> The following patch solved all three problems on news.fu-berlin.de (IRIX 6.2).
> Maybe it is helpful for you.

I've integrated your patch into a new release that found at
ftp://ftp.news.erols.com/pub/news/dbz-97102801.tar.gz.  The only
changes are your patch, however, I think it's important to quote from
the README.

"I'd like to point out that I'm not actively maintaining this code
anymore. I've merged this into the INN 1.8-current tree and am running
1.8-current on my production boxes.  The dbz release that is in
1.8-current has a _much_ smaller memory footprint, less chance of hash
collisions, and is considerably faster.  On top of that, the dbz api
has changed considerably in the 1.8-current release."

Re: Speedup of our readerbox
#22702
Author: barron
Date: Tue, 28 Oct 1997 00:00
31 lines
1661 bytes
David Carmean <dlc@silcom.com> wrote:
: Brian Tao <taob@nbc.netcom.ca> wrote:


: :     Configuration is a 170-MHz Ultra-1 with 256MB of RAM, innfeed to
: : 48 peers, no readers.  OS and logs are on one internal narrow 2GB
: : drive, history and active are on another internal narrow 2GB.  Spool
: : is on a Netapp F220 over FDDI.

: Wow, 18 mSec artwrite time!  How is the netapp configured?  e.g. 
: striped, mirrored, both?  If striped, what stripe size are 
: you using?  ( I've not had the opportunity to use any external 
: RAID box/NFS toaster, let alone a NetApp.)

Netapps use RAID 4, so 1 parity disk and the rest of the disks striped
together.

FAST FAST FAST. We are using a Netapp F630 for our typhoon news backend
and love it :-)

Jonah

-- 
Jonah Barron Yokubaitis    | Austin|San Antonio|Houston
President                  | Dallas|Fort Worth|Boerne
Texas.Net	 	   | Georgetown|Dripping Springs		
http://www.texas.net       | Making 56k affordable


Re: Speedup of our readerbox
#22706
Author: Brian Tao
Date: Tue, 28 Oct 1997 00:00
16 lines
1282 bytes
In article <633jch$hnj@ocean.silcom.com>, David Carmean  <dlc@silcom.com> wrote:
>
>Wow, 18 mSec artwrite time!  How is the netapp configured?  e.g.
>striped, mirrored, both?

    Netapps are pre-configured as a RAID 4 unit.  They may not be
ideal for every situation, but what they do, they do extremely well.
Consider that the Netapp holding the feeder spool only has a 90-MHz
Pentium CPU, and it easily keeps up with the news, Web and FTP
servers.
-- 
Brian Tao (BT300, taob@netcom.ca)
"Though this be madness, yet there is method in't"

Re: Speedup of our readerbox
#22712
Author: Matthew Stein
Date: Tue, 28 Oct 1997 00:00
14 lines
1003 bytes
Brian Tao <taob@nbc.netcom.ca> wrote:

> Consider that the Netapp holding the feeder spool only has a 90-MHz
> Pentium CPU, and it easily keeps up with the news, Web and FTP
> servers.

Is that all on one NetApp, or on a bunch?

-- 
mat.


Re: Speedup of our readerbox
#22731
Author: Brian Tao
Date: Tue, 28 Oct 1997 00:00
12 lines
1112 bytes
In article <6355id$8jg$2@news1.tor.acc.ca>, Matthew Stein  <matt@iknow.ican.net> wrote:
>
>Is that all on one NetApp, or on a bunch?

    One F220, 12 data drives, 1 parity, 1 hot spare, 256MB read, 4MB
write.  Dual-attach FDDI.  NFSv2 over UDP mounts.
-- 
Brian Tao (BT300, taob@netcom.ca)
"Though this be madness, yet there is method in't"

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