🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
16 messages
16 total messages Started by LART Wed, 23 Aug 2000 00:00
Poor performance in 2.3
#48039
Author: LART
Date: Wed, 23 Aug 2000 00:00
52 lines
2034 bytes
Greetings,

    We are experiencing very poor performance on 2.3: we have dropped 2/3rds
of the [DS3] feed.  The hardware is a PIII-700/512mb RAM, 400GB of striped
RAID (FreeBSD 4.0), so our problem is most likely an inefficient config.

    INN is set up with 14 metacycbuffs, each meta consisting of a single
(usually huge) cycbuff.  Each meta gets a single wildmat, such as
"*binaries*", "*news*", etc...

    The relevant (I think) inn.conf settings are:

ovmethod:     ovdb
hiscachesize:    16384
maxconnections 50
cnfscheckfudgesize: 0
enableoverview:     true
groupbaseexpiry:    false
mergetogroups:     false
overcachesize    50
ovgrouppat:
storeonxref:    false
useoverchan:    false
wireformat:    false
xrefslave:    false
keywords:    false

badiocount:     5
blockbackoff:     30
chainacttime:    600
chanretrytime    300
icdsynccount:    10
maxforks:        30
nicekids:    4
nicenews:    0
nicennrpd:    15
pauseretrytime:    300
peertimeout    3600
rlimitnofile:    -1

The box is running with almost a zero load average, so it certainly isn't
straining to keep up, and the same hardware was formerly running inn.2.2.1
with almost perfect (>95%) feed capture.

Any thoughts as to tuning would be *greatly* appreciated.






Re: Poor performance in 2.3
#48045
Author: Russ Allbery
Date: Wed, 23 Aug 2000 00:00
16 lines
1295 bytes
LART <lart@mfn.org> writes:

> I'm sorry, I wasn't clear...  The time is being spent in the *places*
> one would expect, article write=41%, history write=20%, overview
> write=25%, and the times are known to just stink,

Any SCSI errors or the like?  Any possibility of disk problems?

There's something very odd going on since you said the load average was
zero, but the numbers above already add up to nearly 90%, which would
imply a load average of around 1.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Re: Poor performance in 2.3
#48055
Author: Thomas Tonino
Date: Wed, 23 Aug 2000 00:00
14 lines
1191 bytes
LART wrote:

> The box is running with almost a zero load average, so it certainly isn't
> straining to keep up, and the same hardware was formerly running inn.2.2.1
> with almost perfect (>95%) feed capture.
> 
> Any thoughts as to tuning would be *greatly* appreciated.

OS reinstalled? Lost full vs half duplex settings? Check netstat...


Thomas

Re: Poor performance in 2.3
#48060
Author: LART
Date: Wed, 23 Aug 2000 00:00
26 lines
1636 bytes
Katsuhiro Kondou <kondou@isc.org> wrote in message
news:8o0pv4$odn$1@bgsv5906.tk.mesh.ad.jp...
> In article <8o0eid$313v$1@rupert.mfn.org>,
> "LART" <lart@mfn.org> wrote;
>
> } The box is running with almost a zero load average, so it certainly
isn't
> } straining to keep up, and the same hardware was formerly running
inn.2.2.1
> } with almost perfect (>95%) feed capture.
>
> How about INND timer in news.daily report?  You'll find
> who eats time.

I'm sorry, I wasn't clear...  The time is being spent in the *places* one
would expect, article write=41%, history write=20%, overview write=25%, and
the times are known to just stink,
68-111ms for articles, 32-69ms for history, 42-112ms for overview, but I'm
at a loss for *why*?

Is there anything odd about the settings we posted?



Re: Poor performance in 2.3
#48065
Author: Katsuhiro Kondou
Date: Wed, 23 Aug 2000 15:17
12 lines
1521 bytes
In article <8o0eid$313v$1@rupert.mfn.org>,
	"LART" <lart@mfn.org> wrote;

} The box is running with almost a zero load average, so it certainly isn't
} straining to keep up, and the same hardware was formerly running inn.2.2.1
} with almost perfect (>95%) feed capture.

How about INND timer in news.daily report?  You'll find
who eats time.
-- 
Katsuhiro Kondou
Re: Poor performance in 2.3
#48085
Author: Katsuhiro Kondou
Date: Thu, 24 Aug 2000 04:54
25 lines
2423 bytes
In article <E31p5.66188$dC1.99211@dfw-read.news.verio.net>,
	"LART" <lart@mfn.org> wrote;

} I'm sorry, I wasn't clear...  The time is being spent in the *places* one
} would expect, article write=41%, history write=20%, overview write=25%, and
} the times are known to just stink,
} 68-111ms for articles, 32-69ms for history, 42-112ms for overview, but I'm
} at a loss for *why*?

I suspect art write consumes system resources.  Seeing
your previous message, you've created cycbuff on striped
disks.  CNFS is designed to distribute disk i/o in itself.
I don't see the good reason to create cycbuff on striped
disks.

And also you wrote that you hadn't had such poor performace
with 2.2.1 on the same hardware.  The biggest difference
from 2.2.* for 2.3 is overview method.  Then, if you disable
overview and the performance comes back again, that's it.

I'm running buffindexed on Solaris2.6 with good performace
(~1.2M arts/day, ~130GB/day) for both storing and reading.
-- 
Katsuhiro Kondou
Re: Poor performance in 2.3
#48102
Author: none
Date: Fri, 25 Aug 2000 00:00
33 lines
2046 bytes
In article <8o29q6$a0p$1@bgsv5906.tk.mesh.ad.jp>, kondou@isc.org says...
> In article <E31p5.66188$dC1.99211@dfw-read.news.verio.net>,
> 	"LART" <lart@mfn.org> wrote;
> 
> } I'm sorry, I wasn't clear...  The time is being spent in the *places* one
> } would expect, article write=41%, history write=20%, overview write=25%, and
> } the times are known to just stink,
> } 68-111ms for articles, 32-69ms for history, 42-112ms for overview, but I'm
> } at a loss for *why*?
> 
> I suspect art write consumes system resources.  Seeing
> your previous message, you've created cycbuff on striped
> disks.  CNFS is designed to distribute disk i/o in itself.
> I don't see the good reason to create cycbuff on striped
> disks.
> 
> And also you wrote that you hadn't had such poor performace
> with 2.2.1 on the same hardware.  The biggest difference
> from 2.2.* for 2.3 is overview method.  Then, if you disable
> overview and the performance comes back again, that's it.
> 
> I'm running buffindexed on Solaris2.6 with good performace
> (~1.2M arts/day, ~130GB/day) for both storing and reading.


What type of disk setup are you running?  Hardware or software RAID, or 
none at all?

Thanks,

Ron.

Re: Poor performance in 2.3
#48129
Author: Homer Wilson Smith
Date: Sat, 26 Aug 2000 00:00
11 lines
898 bytes
Katsuhiro Kondou (kondou@isc.org) wrote:
>} > I'm running buffindexed on Solaris2.6 with good performace
>} > (~1.2M arts/day, ~130GB/day) for both storing and reading.

    130GB/day is about 8 T1's worth of news.

    This is for the office is it? :)

    Homer

Re: Poor performance in 2.3
#48137
Author: Katsuhiro Kondou
Date: Sat, 26 Aug 2000 06:06
15 lines
1803 bytes
In article <MPG.14108ebc890633c598968b@news.us.dell.com>,
	none <nospam@dell.com> wrote;

} > I'm running buffindexed on Solaris2.6 with good performace
} > (~1.2M arts/day, ~130GB/day) for both storing and reading.
} 
} 
} What type of disk setup are you running?  Hardware or software RAID, or 
} none at all?

Hardware raid.
http://www.storage.com/series72.htm
-- 
Katsuhiro Kondou
Re: Poor performance in 2.3
#48136
Author: Brad Knowles
Date: Sun, 27 Aug 2000 00:00
18 lines
1637 bytes
In article <8o7mpc$8sk$1@bgsv5906.tk.mesh.ad.jp>, Katsuhiro Kondou 
<kondou@isc.org> wrote:

> Hardware raid.
> http://www.storage.com/series72.htm

    Hmm.  Interesting.  I don't suppose anyone has benchmarked these 
things, and can give us some comparable numbers to what benchmarks have 
been previously posted on this newsgroup?

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
    -Benjamin Franklin, Historical Review of Pennsylvania.

Re: Poor performance in 2.3
#48146
Author: Steve Wyles
Date: Sun, 27 Aug 2000 04:00
27 lines
1869 bytes
On 26 Aug 2000 21:52:02 -0500, homer@adore.lightlink.com (Homer Wilson
Smith) wrote:

>Katsuhiro Kondou (kondou@isc.org) wrote:
>>} > I'm running buffindexed on Solaris2.6 with good performace
>>} > (~1.2M arts/day, ~130GB/day) for both storing and reading.
>
>    130GB/day is about 8 T1's worth of news.

Yup, and that's only the inbound. Depending on the mix of peers you
have, outbound can be many times that figure. The peering box I manage
here typically feeds out around 350-400GB per day.
>
>    This is for the office is it? :)

Why not?  Just tell management that you've found a new network stress
testing tool :)

Steve



-- 
Steve Wyles
Senior Sys Admin
GTS Netcom
Re: Poor performance in 2.3 - final score...
#48148
Author: LART
Date: Sun, 27 Aug 2000 05:13
30 lines
2031 bytes
The problem was overview: between the Cidera feed (~120gb/day)
and the various peers (~30 gb/day), it was just too much.  We have
broken out the news server into a small farm, and all appears to be
under control - at least until UseNet tops the 200++ gb/day mark...

Gotta love it: the only voluntary denial of service attack in the
business <grins>....


Thanks all!


Katsuhiro Kondou <kondou@isc.org> wrote in message
news:8o0pv4$odn$1@bgsv5906.tk.mesh.ad.jp...
> In article <8o0eid$313v$1@rupert.mfn.org>,
> "LART" <lart@mfn.org> wrote;
>
> } The box is running with almost a zero load average, so it certainly
isn't
> } straining to keep up, and the same hardware was formerly running
inn.2.2.1
> } with almost perfect (>95%) feed capture.
>
> How about INND timer in news.daily report?  You'll find
> who eats time.
> --
> Katsuhiro Kondou


Re: Poor performance in 2.3
#48152
Author: Katsuhiro Kondou
Date: Sun, 27 Aug 2000 23:13
57 lines
3274 bytes
In article <brad-FAFE8F.22071927082000@news.skynet.be>,
	Brad Knowles <brad@shub-internet.org> wrote;

}     Hmm.  Interesting.  I don't suppose anyone has benchmarked these 
} things, and can give us some comparable numbers to what benchmarks have 
} been previously posted on this newsgroup?

I've examined if the performance is useless or not before
I bought that equipment.  And had reached the point it's
quite useful for full feed, whilst hitach DF350 which is
raid5 never keeps up with.  I've never benchmarked others.

Here is the result of sar;

# sar

SunOS server 5.6 Generic_105181-20 sun4u    08/28/00

00:00:00    %usr    %sys    %wio   %idle
00:20:01      14      17      43      26
00:40:00      13      17      42      27
01:00:00      13      17      43      27
01:20:00      14      16      42      27
01:40:00      13      15      44      28
02:00:00      13      16      43      27
02:20:00      13      16      44      27
02:40:00      44      15      26      15
03:00:01      19      14      67       0
03:20:01      12      14      74       0
03:40:00      12      15      73       0
04:00:01      11      14      75       0
04:20:00      13      15      60      12
04:40:00      13      14      38      35
05:00:00      13      14      39      35
05:20:00      13      14      39      34
05:40:00      13      14      37      36
06:00:00      13      14      41      32
06:20:00      13      14      42      32
06:40:00      12      14      37      36
07:00:00      13      14      37      36
07:20:00      13      14      37      36
07:40:00      13      15      32      40
08:00:00      13      14      30      43

Average       14      15      45      26

No idle time from 3AM to 4AM means expireover(buffindexed)
runs.

# inndf -o
4 % overview space used
# inndf -n
3765876 overview data stored

-- 
Katsuhiro Kondou
Re: Poor performance in 2.3
#48154
Author: Brad Knowles
Date: Mon, 28 Aug 2000 00:00
36 lines
2770 bytes
In article <8oc7b0$qci$1@bgsv5906.tk.mesh.ad.jp>, Katsuhiro Kondou 
<kondou@isc.org> wrote:

> I've examined if the performance is useless or not before
> I bought that equipment.  And had reached the point it's
> quite useful for full feed, whilst hitach DF350 which is
> raid5 never keeps up with.  I've never benchmarked others.

    Hmm.  Well, we've got a re-badged Hitachi DF400 (sold over here as a 
Comparex D1400), and I've managed to get some pretty good numbers out of 
it.  The device itself doesn't do anything faster than RAID-5, but if 
you have more than one column of disks in a Logical Unit (LU), it simply 
concatenates them.

    Without doing software striping, I could only get ~1300-1500 
one-sector size random read operations per second, but after doing the 
software striping across four RAID-5 LUs, I could get ~5000 one-sector 
size random read operations, which most closely simulates the kind of 
activity you see on a really busy Diablo history file (the thing we have 
that really needs maximum speed).


    Have you done any benchmarking of this sort on the disk device you 
have?  I know you're not running FreeBSD, so you can't simply run the 
same command that Joe, Terry, and I have run on our respective systems, 
but I wonder if there might be some other benchmarks you could run that 
would tell us some comparable information?

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
    -Benjamin Franklin, Historical Review of Pennsylvania.

Re: Poor performance in 2.3 - final score...
#48198
Author: Heath Kehoe
Date: Tue, 29 Aug 2000 06:35
22 lines
1838 bytes
On Sun, 27 Aug 2000 00:13:09 -0500, LART <lart@mfn.org> wrote:
>The problem was overview: between the Cidera feed (~120gb/day)
>and the various peers (~30 gb/day), it was just too much.  We have
>broken out the news server into a small farm, and all appears to be
>under control - at least until UseNet tops the 200++ gb/day mark...
>

You said in an earlier post that you were using ovdb.  There are
a couple of things you can do to improve ovdb performance:

1) Increase the cachesize setting in ovdb.conf.  Use the BerkeleyDB
   tool "db_stat" to find out your cache hit rate:
   "db_stat -h /path/to/overviewdir -m".  If your cache hits less than
   90%, it's too small.

2) Put the transaction logs on a different disk.  See the DB_CONFIG
   section of the ovdb(8) man page.

--Heath
hakehoe@avalon.net

Re: Poor performance in 2.3
#48208
Author: Katsuhiro Kondou
Date: Wed, 30 Aug 2000 03:44
10 lines
1758 bytes
In article <brad-972873.13202028082000@news.skynet.be>,
	Brad Knowles <brad@shub-internet.org> wrote;

}     Have you done any benchmarking of this sort on the disk device you 
} have?  I know you're not running FreeBSD, so you can't simply run the 

Unfortunately, not.
-- 
Katsuhiro Kondou
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