Article View: news.software.nntp
Article #23243Re: Please talk me out of closing my News server and outsourcing to Supernews!
From: Matt Dillon
Date: Fri, 14 Nov 1997 00:00
Date: Fri, 14 Nov 1997 00:00
58 lines
3205 bytes
3205 bytes
:In article <64j3ck$3uu$2@cubacola.tninet.se>,
:Ragnar Lonn <prl@algonet.se> wrote:
:>In article <64i9mj$6m$1@flea.best.net>, dillon@best.net (Matt Dillon) wrote:
:>> Incoming news usually eats about 60KBytes/sec. If your typical news
:>> user is connected in over a 33.6 modem, you can assume 3.3K/2 average
:>> utilization so your newsfeed is roughly equivalent to 37 online users.
:>> If you are pulling in more then 60KBytes/sec, you should be able to cut
:>> it down by asking your feeds to cut out large groups and to limit the
:>> maximum message size to something reasonable, like 100K or so.
:>>
:>
:>Are you sure about 3.3K/2 as the average bandwidth used by a dialup
:>customer reading news? For other forms of usage (e.g. WWW-browsing)
:>it is too high. I guess it depends on whether most customers use offline
:>readers or not. If not, then you should probably divide with a higher
:>number.
:>
:> /Ragnar, Algonet/TNI
No, it was a guess. But it's easy to run some real stats on our newsreader
box since, really, we only care about outgoing packets. So, lets see:
nntp1:/news> netstat -in 10 (note: 10 second interval)
input (Total) output
packets errs bytes packets errs bytes colls
1613 0 1678052 855 0 393542 176
1541 0 1418159 996 0 444183 181
1152 0 1031803 834 0 531813 98
1812 0 1571538 1245 0 906333 205
1999 0 2158597 1160 0 665534 251
2257 0 2731953 1151 0 502379 298
^^^^^^^
sum, divide by 60 to get
bytes/sec.
nntp1:/news> ps axww | fgrep nnrpd | wc
65 518 4683
nntp1:/news>
ok, so we have 3.4 megabytes in 60 seconds. This comes to around
57 KBytes/sec of outgoing traffic (going to the readers). We have
65 online readers, so that's less then 883 bytes/sec/reader. (less
because I'm not discounting non-reader-related outgoing traffic,
mainly acks for the feed).
So I was pretty close. I guessed 3.3K/2 = 1650 bytes/sec/reader and
the friday evening statistics show 883 bytes/sec/reader.
(The incoming traffic above is from then news1.best.com -> nntp1 feed
and goes in 5 minute bursts, so you can't calculate the cost of a full
feed from it).
-Matt
Technical Details
Message-ID:
<64j5oi$g41$1@flea.best.net>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:
<64i02v$1ag$1@news.theriver.com> <64i9mj$6m$1@flea.best.net> <64j3ck$3uu$2@cubacola.tninet.se>Show Full Headers
Complete Article Headers
Message-ID: <64j5oi$g41$1@flea.best.net> Subject: Re: Please talk me out of closing my News server and outsourcing to Supernews! Date: Fri, 14 Nov 1997 00:00:00 +0000 From: dillon@best.net (Matt Dillon) References: <64i02v$1ag$1@news.theriver.com> <64i9mj$6m$1@flea.best.net> <64j3ck$3uu$2@cubacola.tninet.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: 289692628 X-Trace: 879565395 22548 dillon 206.184.139.132 Organization: Best Internet Communications, Inc. - 650 964 BEST Newsgroups: news.software.nntp