🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by Steve Thu, 15 Feb 2007 20:46
Bandwidth and Buffers
#74874
Author: Steve
Date: Thu, 15 Feb 2007 20:46
10 lines
1176 bytes
Apologies for the tired old question, but does anyone have a feel for
the current bandwidth requirements of a text-only full feed server,
(excluding reader access).

Following on from that, if using file based CNFS storage, what's a good
optimal size to make buffers?  Examples I've seen appear to use 512MB
but none of those examples have justified why they use that size.

Many thanks
Steve
Re: Bandwidth and Buffers
#74869
Author: Alexander Bartolich
Date: Thu, 15 Feb 2007 21:30
42 lines
3406 bytes
Steve wrote:
> Apologies for the tired old question, but does anyone have a feel for
> the current bandwidth requirements of a text-only full feed server,
> (excluding reader access).

==================================================================
Dates                                   Incoming feed
                                        Offered Accepted Volume 
==================================================================
Feb 14 03:01:02 -- Feb 15 03:08:14      4982489   228200  533.1 MB
Feb 13 03:01:02 -- Feb 14 03:01:01      4607788   211883  557.4 MB
Feb 12 03:00:50 -- Feb 13 03:00:59      4517383   212380  583.2 MB
Feb 11 03:00:50 -- Feb 12 03:00:50      3624603   170008  471.9 MB
Feb 10 03:00:55 -- Feb 11 03:00:49      3473890   157885  409.3 MB
Feb 9 03:00:43 -- Feb 10 03:00:54       4281647   200317  505.2 MB
Feb 8 03:00:48 -- Feb 9 03:00:43        4088357   212365  613.9 MB
Feb 7 03:00:51 -- Feb 8 03:00:48        3925845   214498  532.8 MB
Feb 6 03:01:57 -- Feb 7 03:00:51        4412121   214474  647.1 MB
Feb 5 03:00:56 -- Feb 6 03:01:56        4353863   207709  587.8 MB
Feb 4 03:02:13 -- Feb 5 03:00:56        3659394   174969  728.3 MB
Feb 3 03:01:37 -- Feb 4 03:02:13        3196797   163665  411.4 MB
Feb 2 03:02:10 -- Feb 3 03:01:37        4243400   213040  517.8 MB
Feb 1 03:00:42 -- Feb 2 03:02:10        4777813   216902  522.1 MB
==================================================================
Sum                                                      7621.3 MB
Average                                                   362.9 MB

> Following on from that, if using file based CNFS storage,
> what's a good optimal size to make buffers?

As large as possible. On 32-bit platforms without large file
support that's 2044 * 1024 = 2093056 byte.

If you have to use multiple buffers per meta-buffer because
of this limit make sure to specify option "SEQUENTIAL".
By default (without this option) the individual buffers are
written to in parallel, causing lot of disk seeks.

However, if you do have multiple disks then you can distribute
the invidual buffers across to get the effect of striping.

-- 
Re: Bandwidth and Buffers
#74870
Author: Alexander Bartolich
Date: Thu, 15 Feb 2007 21:33
42 lines
3379 bytes
Steve wrote:
> Apologies for the tired old question, but does anyone have a feel for
> the current bandwidth requirements of a text-only full feed server,
> (excluding reader access).

==================================================================
Dates                                   Incoming feed
                                        Offered Accepted Volume 
==================================================================
Feb 14 03:01:02 -- Feb 15 03:08:14      4982489   228200  533.1 MB
Feb 13 03:01:02 -- Feb 14 03:01:01      4607788   211883  557.4 MB
Feb 12 03:00:50 -- Feb 13 03:00:59      4517383   212380  583.2 MB
Feb 11 03:00:50 -- Feb 12 03:00:50      3624603   170008  471.9 MB
Feb 10 03:00:55 -- Feb 11 03:00:49      3473890   157885  409.3 MB
Feb 9 03:00:43 -- Feb 10 03:00:54       4281647   200317  505.2 MB
Feb 8 03:00:48 -- Feb 9 03:00:43        4088357   212365  613.9 MB
Feb 7 03:00:51 -- Feb 8 03:00:48        3925845   214498  532.8 MB
Feb 6 03:01:57 -- Feb 7 03:00:51        4412121   214474  647.1 MB
Feb 5 03:00:56 -- Feb 6 03:01:56        4353863   207709  587.8 MB
Feb 4 03:02:13 -- Feb 5 03:00:56        3659394   174969  728.3 MB
Feb 3 03:01:37 -- Feb 4 03:02:13        3196797   163665  411.4 MB
Feb 2 03:02:10 -- Feb 3 03:01:37        4243400   213040  517.8 MB
Feb 1 03:00:42 -- Feb 2 03:02:10        4777813   216902  522.1 MB
==================================================================
Sum                                                      7621.3 MB
Average                                                   544.4 MB

> Following on from that, if using file based CNFS storage,
> what's a good optimal size to make buffers?

As large as possible. On 32-bit platforms without large file
support that's 2044 * 1024 = 2093056 byte.

If you have to use multiple buffers per meta-buffer because
of this limit make sure to specify option "SEQUENTIAL".
By default (without this option) the individual buffers are
written to in parallel, causing lot of disk seeks.

However, if you do have multiple disks then you can distribute
the invidual buffers across to get the effect of striping.

-- 
Re: Bandwidth and Buffers
#74871
Author: Geoff Brozny
Date: Thu, 15 Feb 2007 22:25
24 lines
2126 bytes
Steve wrote:
> Apologies for the tired old question, but does anyone have a feel for
> the current bandwidth requirements of a text-only full feed server,
> (excluding reader access).
> 
> Following on from that, if using file based CNFS storage, what's a good
> optimal size to make buffers?  Examples I've seen appear to use 512MB
> but none of those examples have justified why they use that size.
> 
> Many thanks
> Steve

For my main peering box I'm accepting around 4gb of data per day, 
however I am not using cleenfeed or anything to filter out mis-placed 
binaries, but have removed almost all the stealth binary groups that 
have caused bandwidth problems. For storage, since this box is transit 
only, I have a single 25gb CNFS buffer, since the goal is not for 
retention, but to just be able to store enough that if the newsread box 
broke down, I would not end up missing any posts.

I have not seen any sort of performance difference using a single large 
buffer, vs. smaller buffers.

geoff
Re: Bandwidth and Buffers
#74884
Author: David Ball
Date: Thu, 15 Feb 2007 23:41
27 lines
2351 bytes
On Thu, 15 Feb 2007 20:46:47 +0000 (UTC), Steve <steve@goofer.co.uk>
wrote:

>Apologies for the tired old question, but does anyone have a feel for
>the current bandwidth requirements of a text-only full feed server,
>(excluding reader access).

Yesterday, my text only server received 948 Megabytes, but I don't
carry the prOn/Warez/Stealth groups and I heavily spam filter. My
active file is just under 40000 groups. I typically store about 750 MB
per day to disk after filtering.

My peers have some hierarchies blocked or poisoned in my feed
definition or have a max post size limit, or both, so that's not
really a full text feed. My users speak English, Spanish, French,
Italian or German, and I have good coverage in those hierarchies plus
some regional hierarchies my peers have requested me to carry.

>
>Following on from that, if using file based CNFS storage, what's a good
>optimal size to make buffers?  Examples I've seen appear to use 512MB
>but none of those examples have justified why they use that size.

Sorry, I don't know this one.

-- Dave
Re: Bandwidth and Buffers
#74877
Author: William Kronert
Date: Fri, 16 Feb 2007 10:56
11 lines
1540 bytes
== Quote from Steve (steve@goofer.co.uk)'s article
> Apologies for the tired old question, but does anyone have a
> feel for the current bandwidth requirements of a text-only full
> feed server,(excluding reader access).

We average about 550MB/day for a full text only feed.  That is
using Cleanfeed with the mis-placed binary filter.  Without
Cleanfeed you could expect 3-4GB/day (almost all of that
difference is mis-placed binaries).

Bill
Re: Bandwidth and Buffers
#74914
Author: Steve
Date: Mon, 19 Feb 2007 16:22
20 lines
1886 bytes
On Thu, 15 Feb 2007 20:46:47 +0000 (UTC), Steve wrote in
Message-Id: <er2grn$m5j$1@bananasplit.info>:

> Apologies for the tired old question, but does anyone have a feel for
> the current bandwidth requirements of a text-only full feed server,
> (excluding reader access).
>
> Following on from that, if using file based CNFS storage, what's a good
> optimal size to make buffers?  Examples I've seen appear to use 512MB
> but none of those examples have justified why they use that size.

Thanks to all those who replied to my question, the feedback was very
helpful.  I've now got a server up and running and will start ramping up
some feeds to it.

My main concern is around misplaced Binaries.  It seems that while a
text-only server can expect around 1GB per day of traffic, a binary
group in the wrong place can up this by an order of magnitude.
There doesn't appear to be a solution to this other than operator
intervention when a spike appears.
Re: Bandwidth and Buffers
#74915
Author: Iulius
Date: Mon, 19 Feb 2007 16:51
13 lines
1599 bytes
En réponse à Steve :
> My main concern is around misplaced Binaries.  It seems that while a
> text-only server can expect around 1GB per day of traffic, a binary
> group in the wrong place can up this by an order of magnitude.
> There doesn't appear to be a solution to this other than operator
> intervention when a spike appears.

Use Cleanfeed.

-- 
Iulius

« J'aimerais qu'on me lâche les cothurnes ! » (Astérix)
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