🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
23 messages
23 total messages Started by Magical Pig Sun, 24 Apr 2005 23:22
binary segment size and storage requirements
#71129
Author: Magical Pig
Date: Sun, 24 Apr 2005 23:22
16 lines
1597 bytes
I'd like help in settling an argument.

My friend Lenny claims that for most nntp servers that accept articles up
to 4MB, each binary segment posted takes a full 4MB on the server.

I'm running an inn2 server with 4MB article limit, and on my server, a
300k binary segment takes up maybe 305k.  That's in the worst case, and
it's a far cry from the claimed 4MB.

Having read about other storage methods, I can't imagine how Lenny could
be correct.  Can you guys help me out?  How would you even go about making
a news server that inefficient?

Thanks,

-MP
Re: binary segment size and storage requirements
#71130
Author: Russ Allbery
Date: Sun, 24 Apr 2005 23:38
14 lines
1563 bytes
Magical Pig <magicalpig@ojbish7.net> writes:

> I'd like help in settling an argument.

> My friend Lenny claims that for most nntp servers that accept articles
> up to 4MB, each binary segment posted takes a full 4MB on the server.

Your friend Lenny is definitely not correct.

-- 
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: binary segment size and storage requirements
#71131
Author: Curt Welch
Date: Mon, 25 Apr 2005 04:20
24 lines
2255 bytes
noreply@nohow.org wrote:
> I'd like help in settling an argument.
>
> My friend Lenny claims that for most nntp servers that accept articles up
> to 4MB, each binary segment posted takes a full 4MB on the server.
>
> I'm running an inn2 server with 4MB article limit, and on my server, a
> 300k binary segment takes up maybe 305k.  That's in the worst case, and
> it's a far cry from the claimed 4MB.
>
> Having read about other storage methods, I can't imagine how Lenny could
> be correct.  Can you guys help me out?  How would you even go about
> making a news server that inefficient?

No server ever written wastes 4BM to store a 2K article.  Modern servers
waste even less space because articles are typically stored end-to-end.  My
server only adds 3 extra characters between articles (DOT CR LF) and a
single 4 byte pointer per article.  A 1000 byte article only uses 1007
bytes of stoarge space on my disks (not counting other general overhead
which is substantial but not really important to your point).

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                                        http://NewsReader.Com/
Re: binary segment size and storage requirements
#71136
Author: Lenny Nero
Date: Tue, 26 Apr 2005 00:49
35 lines
2727 bytes
Curt Welch  said:

> noreply@nohow.org wrote:
>> I'd like help in settling an argument.
>>
>> My friend Lenny claims that for most nntp servers that accept articles up
>> to 4MB, each binary segment posted takes a full 4MB on the server.
>>
>> I'm running an inn2 server with 4MB article limit, and on my server, a
>> 300k binary segment takes up maybe 305k.  That's in the worst case, and
>> it's a far cry from the claimed 4MB.
>>
>> Having read about other storage methods, I can't imagine how Lenny could
>> be correct.  Can you guys help me out?  How would you even go about
>> making a news server that inefficient?
> 
> No server ever written wastes 4BM to store a 2K article.  Modern servers
> waste even less space because articles are typically stored end-to-end.  My
> server only adds 3 extra characters between articles (DOT CR LF) and a
> single 4 byte pointer per article.  A 1000 byte article only uses 1007
> bytes of stoarge space on my disks (not counting other general overhead
> which is substantial but not really important to your point).

As normal with kooks [s]he has bent out of shape what I said.

I said, as per a thread in abnsc & afn, I thought that it is better to
post with a larger line count than a smaller 1, ie. sub 100 line.

Is this not the case ???

L.
-- 
Want to help to keep the best free usenet servers running ?
http://www.readfreenews.com
Re: binary segment size and storage requirements
#71139
Author: Magical Pig
Date: Tue, 26 Apr 2005 02:54
47 lines
2955 bytes
On Tue, 26 Apr 2005 01:49:35 +0100, Lenny Nero wrote:

>> noreply@nohow.org wrote:
>>> I'd like help in settling an argument.
>>>
>>> My friend Lenny claims that for most nntp servers that accept articles up
>>> to 4MB, each binary segment posted takes a full 4MB on the server.
>>>
>>> I'm running an inn2 server with 4MB article limit, and on my server, a
>>> 300k binary segment takes up maybe 305k.  That's in the worst case, and
>>> it's a far cry from the claimed 4MB.
>>>
>>> Having read about other storage methods, I can't imagine how Lenny could
>>> be correct.  Can you guys help me out?  How would you even go about
>>> making a news server that inefficient?

> As normal with kooks [s]he has bent out of shape what I said.
> 
> I said, as per a thread in abnsc & afn, I thought that it is better to
> post with a larger line count than a smaller 1, ie. sub 100 line.
> 
> Is this not the case ???
> 
> L.

Nobody was talking about 100 line posts.  Here's what my dear
friend Lenny actually said, and I quote:

> 100MB of his posts takes up 8 times more
> room on the servers as a 100 MB of mine do.

That was in reference to a guy who posts 250k segments, although to be
fair Lenny mistakenly thought they were only about 100k.  Lenny posts
900k segments.

> All the news admins I know say that they are set to handle 4 Meg part
> sizes and each part takes up one space of the amount they have that is
> limited and fixed to the disc size.

I think I represented that position accurately.

>Think if we all posted with a 900k block size we could get 3 times as much on
>the same servers, or the same amount would stay on there 3 times as long.

That says more than I ever could.

-MP
Re: binary segment size and storage requirements
#71140
Author: Russ Allbery
Date: Tue, 26 Apr 2005 04:52
20 lines
1992 bytes
Lenny Nero <Lenny_nero@hotmail.invalid.invalid> writes:

> As normal with kooks [s]he has bent out of shape what I said.

> I said, as per a thread in abnsc & afn, I thought that it is better to
> post with a larger line count than a smaller 1, ie. sub 100 line.

> Is this not the case ???

Once you're talking about the difference between 100KB posts and 900KB
posts, the difference in terms of storage consumption is noise.  There are
other reasons why 900KB posts may be better (fewer parts to lose one of,
for instance), but it really doesn't make any difference as far as disk
space consumption goes.

-- 
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: binary segment size and storage requirements
#71142
Author: Francois Petillon
Date: Tue, 26 Apr 2005 07:46
27 lines
2738 bytes
On Tue, 26 Apr 2005 01:49:35 +0100, Lenny Nero wrote:
> I said, as per a thread in abnsc & afn, I thought that it is better to
> post with a larger line count than a smaller 1, ie. sub 100 line.
> Is this not the case ???

If there is not a big difference between 100 KB posts and 900 KB posts on
at the storage level, there may be one on performance level. 

First of all, history : with 9 time less articles (900/100 KB) mean server
history will be 9 time smaller (the history is usually used to translate a
Message-Id into a storage location), as an example history for a 10 days
retention server is around 2 GB. That also mean you will do 9 time less
history request to retrieve a file (less server  disk I/O if history does
not fit into cache).

But before having to request by Message-Id, you get first the group
overview. There again, posting less articles mean smaller overview. I have
here big groups containing 2M articles (and somes readers/grabbers
seam to have problems to manage them) and this size is mostly due to
article size used to post. And once more, it also means less server disk
I/O to retrieve a group overview (and less space needed by overview).

Last of all, requesting on disk bigger articles needs less disk seeks (if
you avoid fragmentation and if the daemon tries to retrieve an article at
once) and grossly better performance.

  François
Re: binary segment size and storage requirements
#71141
Author: Curt Welch
Date: Tue, 26 Apr 2005 16:55
96 lines
6256 bytes
Lenny_Nero@hotmail.com wrote:
> Curt Welch  said:
>
> > noreply@nohow.org wrote:
> >> I'd like help in settling an argument.
> >>
> >> My friend Lenny claims that for most nntp servers that accept articles
> >> up to 4MB, each binary segment posted takes a full 4MB on the server.
> >>
> >> I'm running an inn2 server with 4MB article limit, and on my server, a
> >> 300k binary segment takes up maybe 305k.  That's in the worst case,
> >> and it's a far cry from the claimed 4MB.
> >>
> >> Having read about other storage methods, I can't imagine how Lenny
> >> could be correct.  Can you guys help me out?  How would you even go
> >> about making a news server that inefficient?
> >
> > No server ever written wastes 4BM to store a 2K article.  Modern
> > servers waste even less space because articles are typically stored
> > end-to-end.  My server only adds 3 extra characters between articles
> > (DOT CR LF) and a single 4 byte pointer per article.  A 1000 byte
> > article only uses 1007 bytes of stoarge space on my disks (not counting
> > other general overhead which is substantial but not really important to
> > your point).
>
> As normal with kooks [s]he has bent out of shape what I said.
>
> I said, as per a thread in abnsc & afn, I thought that it is better to
> post with a larger line count than a smaller 1, ie. sub 100 line.
>
> Is this not the case ???

It's a complex trade off.  The line count and the size of the article
doesn't have any substantial effect on retention.  It makes no difference
if you post 100 100K articles or 33 300K articles.  The total size is the
same either way and the amount of disk wasted is the same either way.  So
changing the line count doesn't affect retetion.

What you do cut down however is the number of headers, and the number of
articles.  Downloading 100,000 headers takes 3 times longer than
downloading 33,333 headers.  So if you post with large line counts, you
save people time downloading headers.  And with the size of some of the
binary groups, you also need large PCs just to download and sort all those
headers.  So larger line counts helps in that way.

And, news servers have to mainatin history files which are very important
to the operation of the server. This is just an index by Message_ID of all
the articles.  The more articles you get very day, the larger your history
file has to be.  And when trying to receive 80 articles per second, news
servers have to check each against the history file, and add each new
article to the history file, that makes it a very active index - on that
typically has to be held in memory in order to keep up with a full feed.  I
for eample just had to go to 8GB servers instead of the 4GB servers I was
using simply so I could increase the size of my history file to keep up
with number of articles.

So, posting with a large line count, helps reduce total number of articles
and helps a bit with these history file problems.

However, there are negatives as well.  In NNTP, you can't resume an aborted
download of a single article.  So if you download 80% of 800KB article, and
you get cut off, you have to start over and download all that data again.
If the post was done as 8 100KB articles, then you would have 600KB
downloaded and could pick up at article 7.

Also, newsfeeds are a store and forward system.  As articles move though
the mesh of usenet servers, they don't get sent to peers, until they are
completely received.  If you post smaller articles, that heleps them to
move from server to server much faster.  It helps your large multipart post
take lots of different paths (each article takes can take a different path)
to get to all the servers.  So as articles get larger, you increase the
odds that they might get lost in transit to some servers with poor
feeds/peers, and increase the total amount of time it takes for the full
set to show up on some distant servers.  Smaller articles in general do a
better job of flowing through usenet all together.

But the negative of that same issue is that the smaller the article, the
more parts you are moving, and the higher the probability that one part out
the set might be lost.

So, what size articles to post is a complex trade off where there are no
easy answers as to what's best.  In general, I'd say larger is better
mostly because of the reduced number of articles and headers people have to
deal with.  But there are limits to how large you can post without causing
more problems than you fix.

I don't know what size is actually working best these days.  It's something
you have to experiment with in each group to try and figure out.

However, switching from 200 KB to 800 KB articles is not going to have any
effect on retention as long as you post the same total number of bytes.
The only way to improve retnetion is to post fewer total bytes each day.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                                        http://NewsReader.Com/
Re: binary segment size and storage requirements
#71143
Author: Lenny Nero
Date: Tue, 26 Apr 2005 20:02
114 lines
7269 bytes
Curt Welch  said:

> Lenny_Nero@hotmail.com wrote:
>> Curt Welch  said:
>>
>> > noreply@nohow.org wrote:
>> >> I'd like help in settling an argument.
>> >>
>> >> My friend Lenny claims that for most nntp servers that accept articles
>> >> up to 4MB, each binary segment posted takes a full 4MB on the server.
>> >>
>> >> I'm running an inn2 server with 4MB article limit, and on my server, a
>> >> 300k binary segment takes up maybe 305k.  That's in the worst case,
>> >> and it's a far cry from the claimed 4MB.
>> >>
>> >> Having read about other storage methods, I can't imagine how Lenny
>> >> could be correct.  Can you guys help me out?  How would you even go
>> >> about making a news server that inefficient?
>> >
>> > No server ever written wastes 4BM to store a 2K article.  Modern
>> > servers waste even less space because articles are typically stored
>> > end-to-end.  My server only adds 3 extra characters between articles
>> > (DOT CR LF) and a single 4 byte pointer per article.  A 1000 byte
>> > article only uses 1007 bytes of stoarge space on my disks (not counting
>> > other general overhead which is substantial but not really important to
>> > your point).
>>
>> As normal with kooks [s]he has bent out of shape what I said.
>>
>> I said, as per a thread in abnsc & afn, I thought that it is better to
>> post with a larger line count than a smaller 1, ie. sub 100 line.
>>
>> Is this not the case ???
> 
> It's a complex trade off.  The line count and the size of the article
> doesn't have any substantial effect on retention.  It makes no difference
> if you post 100 100K articles or 33 300K articles.  The total size is the
> same either way and the amount of disk wasted is the same either way.  So
> changing the line count doesn't affect retetion.
> 
> What you do cut down however is the number of headers, and the number of
> articles.  Downloading 100,000 headers takes 3 times longer than
> downloading 33,333 headers.  So if you post with large line counts, you
> save people time downloading headers.  And with the size of some of the
> binary groups, you also need large PCs just to download and sort all those
> headers.  So larger line counts helps in that way.
> 
> And, news servers have to mainatin history files which are very important
> to the operation of the server. This is just an index by Message_ID of all
> the articles.  The more articles you get very day, the larger your history
> file has to be.  And when trying to receive 80 articles per second, news
> servers have to check each against the history file, and add each new
> article to the history file, that makes it a very active index - on that
> typically has to be held in memory in order to keep up with a full feed.  I
> for eample just had to go to 8GB servers instead of the 4GB servers I was
> using simply so I could increase the size of my history file to keep up
> with number of articles.
> 
> So, posting with a large line count, helps reduce total number of articles
> and helps a bit with these history file problems.
> 
> However, there are negatives as well.  In NNTP, you can't resume an aborted
> download of a single article.  So if you download 80% of 800KB article, and
> you get cut off, you have to start over and download all that data again.
> If the post was done as 8 100KB articles, then you would have 600KB
> downloaded and could pick up at article 7.
> 
> Also, newsfeeds are a store and forward system.  As articles move though
> the mesh of usenet servers, they don't get sent to peers, until they are
> completely received.  If you post smaller articles, that heleps them to
> move from server to server much faster.  It helps your large multipart post
> take lots of different paths (each article takes can take a different path)
> to get to all the servers.  So as articles get larger, you increase the
> odds that they might get lost in transit to some servers with poor
> feeds/peers, and increase the total amount of time it takes for the full
> set to show up on some distant servers.  Smaller articles in general do a
> better job of flowing through usenet all together.
> 
> But the negative of that same issue is that the smaller the article, the
> more parts you are moving, and the higher the probability that one part out
> the set might be lost.
> 
> So, what size articles to post is a complex trade off where there are no
> easy answers as to what's best.  In general, I'd say larger is better
> mostly because of the reduced number of articles and headers people have to
> deal with.  But there are limits to how large you can post without causing
> more problems than you fix.
> 
> I don't know what size is actually working best these days.  It's something
> you have to experiment with in each group to try and figure out.
> 
> However, switching from 200 KB to 800 KB articles is not going to have any
> effect on retention as long as you post the same total number of bytes.
> The only way to improve retnetion is to post fewer total bytes each day.

I was under the impression that hiwinds and diablo were happy with passing
article sizes up to 4 MB, and that it is sort of better (less work with
ram and ass. files history, msgID creation etc) for servers to work with
larger part sizes, and that with the very big bin groups it is less to
download (overviews) if larger sizes are used.

ie.
For the downloader (overviews) there are many more to get when a poster
has sub 100k parts vs another with 900k parts for the same file weight
(MB) so that is more room used/needed ?

I did try to say that there is a trade off (its like HDD clusters) with
big vs small, each has good and bad points (as you said).

L.
-- 
Want to help to keep the best free usenet servers running ?
http://www.readfreenews.com
Re: binary segment size and storage requirements
#71144
Author: Magical Pig
Date: Wed, 27 Apr 2005 01:01
10 lines
1538 bytes
On Tue, 26 Apr 2005 21:02:37 +0100, Lenny Nero wrote:

<snip>

Thanks everyone: Curt, Francois and Russ.  I've learned some things from
your very helpful posts.

And, my dear friend Lenny seems to be getting it now:)

-MP
Re: binary segment size and storage requirements
#71145
Author: Lenny Nero
Date: Wed, 27 Apr 2005 12:58
22 lines
2014 bytes
Magical Pig  said:

> On Tue, 26 Apr 2005 21:02:37 +0100, Lenny Nero wrote:
> 
> <snip>
> 
> Thanks everyone: Curt, Francois and Russ.  I've learned some things from
> your very helpful posts.
> 
> And, my dear friend Lenny seems to be getting it now:)
> 
> -MP

Where as I still understand it is much better to post with a line count
larger rather than smaller.

L.

-- 
Want to help to keep the best free usenet servers running ?
http://www.readfreenews.com
Re: binary segment size and storage requirements
#71147
Author: Magical Pig
Date: Wed, 27 Apr 2005 13:16
27 lines
2102 bytes
On Wed, 27 Apr 2005 13:58:34 +0100, Lenny Nero wrote:

> Magical Pig  said:
> 
>> On Tue, 26 Apr 2005 21:02:37 +0100, Lenny Nero wrote:
>> 
>> <snip>
>> 
>> Thanks everyone: Curt, Francois and Russ.  I've learned some things from
>> your very helpful posts.
>> 
>> And, my dear friend Lenny seems to be getting it now:)
>> 
>> -MP
> 
> Where as I still understand it is much better to post with a line count
> larger rather than smaller.
> 
> L.

I'd say "slightly better", but to save our friendship I won't call
bullshit on your version.

Did you also understand that posting with larger line counts will not
significantly improve server retention or capacity?

-MP
Re: binary segment size and storage requirements
#71148
Author: Francois Petillon
Date: Wed, 27 Apr 2005 14:31
39 lines
3138 bytes
On Wed, 27 Apr 2005 13:16:48 +0000, Magical Pig wrote:
>> Where as I still understand it is much better to post with a line count
>> larger rather than smaller.

Yes.

> I'd say "slightly better", but to save our friendship I won't call
> bullshit on your version.

As far as I am concerned, "slightly better" is not the sentence I would
have use in this case. On the news cluster I manage (around 16 front-end,
15 spool servers, a few internal & external feeders) which is quite
overloaded, users see huge difference in throughoutput between
requesting small articles and big ones.

> Did you also understand that posting with larger line counts will not
> significantly improve server retention or capacity?

It depends on the servers... :-)

You mostly risk to be filtered. Either by servers refusing big articles,
or by servers refusing small articles... :-)
(I am filtering articles when there is more than 300 parts and I plan,
sooner or later, to filter big posts using small articles)

As history is harder and harder to manage (some big spoolers here are from
time to time limited by history disks I/O and not by spool disks I/O), I
disagree with advising posting with small parts (and anything below 1 MB
is small for me :-).

Another point : on frontend servers, dreaderd (diablo) only keeps article
headers (around 1KB) to manage overviews. Nowadays, headers fill
here around 78 GB while my frontend servers have 3x34 GB to store them. I
will have quite quickly to limit retention (right now, 12 days for
binaries, 60 days for text) just to have sufficient free space to manage
overviews.

  François
Re: binary segment size and storage requirements
#71151
Author: Magical Pig
Date: Wed, 27 Apr 2005 16:56
63 lines
4132 bytes
On Wed, 27 Apr 2005 16:31:25 +0200, Francois Petillon wrote:

> On Wed, 27 Apr 2005 13:16:48 +0000, Magical Pig wrote:
>>> Where as I still understand it is much better to post with a line count
>>> larger rather than smaller.
> 
> Yes.
> 
>> I'd say "slightly better", but to save our friendship I won't call
>> bullshit on your version.
> 
> As far as I am concerned, "slightly better" is not the sentence I would
> have use in this case. On the news cluster I manage (around 16 front-end,
> 15 spool servers, a few internal & external feeders) which is quite
> overloaded, users see huge difference in throughoutput between
> requesting small articles and big ones.

Keep in mind that we're not talking about really small or really big
files.  The average size of an article is roughly 400k across the binary
newsgroups.  The proposal is 900k articles, which, because of small files
like nfo, sfv, par2, and tails of larger files, would probably turn into
about an 800k average.

So 400k vs 800k.

>> Did you also understand that posting with larger line counts will not
>> significantly improve server retention or capacity?
> 
> It depends on the servers... :-)

In your professional opinion, would 900k segment sizes, if everyone
adopted them, give 3 times the current retention?

> As history is harder and harder to manage (some big spoolers here are
> from time to time limited by history disks I/O and not by spool disks
> I/O)

I've read about this.  Relative to the cost of fast redundant network
attached storage for the spool, upgrading here is inexpensive.  Emphasis
on "relative to".

> I disagree with advising posting with small parts (and anything
> below 1 MB is small for me :-).

I certainly would not advise posting small parts.  I'm only pointing out
that 250k parts are NOT taking up 8 times the space on the servers as
900k parts would:)

> Another point : on frontend servers, dreaderd (diablo) only keeps
> article headers (around 1KB) to manage overviews. Nowadays, headers fill
> here around 78 GB while my frontend servers have 3x34 GB to store them.
> I will have quite quickly to limit retention (right now, 12 days for
> binaries, 60 days for text) just to have sufficient free space to manage
> overviews.

I hadn't considered the possibility that overviews would limit retention.

Still, it is quite obvious that doubling the spool size would be much more
expensive than doubling the disk space available to the frontend servers.
The spool is some hundreds of times larger than the overview, so this is
not a long-term limiting factor for retention.

-MP
Re: binary segment size and storage requirements
#71409
Author: Lenny Nero
Date: Sat, 30 Apr 2005 17:39
54 lines
3573 bytes
Magical Pig  said:

> On Wed, 27 Apr 2005 13:58:34 +0100, Lenny Nero wrote:
> 
>> Magical Pig  said:
>> 
>>> On Tue, 26 Apr 2005 21:02:37 +0100, Lenny Nero wrote:
>>> 
>>> <snip>
>>> 
>>> Thanks everyone: Curt, Francois and Russ.  I've learned some things
>>> from your very helpful posts.
>>> 
>>> And, my dear friend Lenny seems to be getting it now:)
>>> 
>>> -MP
>> 
>> Where as I still understand it is much better to post with a line count
>> larger rather than smaller.
>> 
>> L.
> 
> I'd say "slightly better", but to save our friendship I won't call
> bullshit on your version.
> 
> Did you also understand that posting with larger line counts will not
> significantly improve server retention or capacity?
> 
> -MP

I sort of understand that the way I had worded things in my posting 'nfo
could|has be taken the wrong way, and I do apologise for this. But my
intention was to get posters to post with a larger line count. I think
this can only help things.

There has been quite a bit of testing by someone (I dont have access to my
disks with the local group on it and google cant search
alt.binaries.news-server-comparison to find his name or the msgID's) and I
and a few other regs from alt.free.newsservers did our own testing up to
around 1MB article size in my case finding no problems at all until
getting above this where a few ISP servers did start to drop. In fact I
cant remember the last time I had to fill a post since going to 7500 lines.

As we were talking about big bin groups where the header|overview count is
very large we thought this would only help servers. I do feel it is sort
of helping as discussion is taking place. I also admit that I might have
got off on the wrong foot thinking you were just out to cause trouble and
seem to be wrong.

I have found Message-ID:   
<pan.2004.10.04.15.45.39.254000@DONT.change.UNDERSCORE> which has a bit of
the afn thread, but its not much.

L.
Re: binary segment size and storage requirements
#71587
Author: Francois Petillon
Date: Wed, 11 May 2005 11:01
40 lines
3839 bytes
On Wed, 27 Apr 2005 16:56:41 +0000, Magical Pig wrote:
[sorry for the delay but I was on holidays]
> Keep in mind that we're not talking about really small or really big
> files.  The average size of an article is roughly 400k across the binary
> newsgroups.  The proposal is 900k articles, which, because of small files
> like nfo, sfv, par2, and tails of larger files, would probably turn into
> about an 800k average.
> So 400k vs 800k.

Do not forget Usenet bandwidth have doubled every year for quite a long
time (nowdays it seems to double on a longer period, 16 to 18 months ?
someone has precise figures ?) While average article size was around 300
KB a few years ago, nowdays average size is around 320 to 330 KB on my
feeders. Thus, average article size do not really increase and bandwidth
grow is mostly dued to an increase of the number of posted articles.
So, posting with 900 KB articles would "simply" avoid two years of
increase.

>> As history is harder and harder to manage (some big spoolers here are
>> from time to time limited by history disks I/O and not by spool disks
>> I/O)
> I've read about this.  Relative to the cost of fast redundant network
> attached storage for the spool, upgrading here is inexpensive.  Emphasis
> on "relative to".

No, you are simply dreaming here. We are talking to double the disk system
every 16 to 18 months. Right now, my front-end servers need only 3 scsi
disks (1U servers, I could not do this without recent dreaderd
improvements but there is still a problem relative to file fragmentation).
In six year, I would need 48 disks and this is far from a inexpensive I/O
disk system (well, if you consider disks lower their average access time
by 10% each year, I could need only 28 disks). Right now, even my spoolers
do not have 28 disks ! (24 SATA disks servers are used). As long as news
servers are lowcost, ISPs may still manage the service (in France, some of
them already have dropped all news servers and most of the others do not
carry binaries).

I am wondering about others newsmasters thoughts about this subject... :-)

  François
Re: binary segment size and storage requirements
#71588
Author: Bill Davidsen
Date: Wed, 11 May 2005 19:26
61 lines
5161 bytes
Francois Petillon wrote:
> On Wed, 27 Apr 2005 16:56:41 +0000, Magical Pig wrote:
> [sorry for the delay but I was on holidays]
> 
>>Keep in mind that we're not talking about really small or really big
>>files.  The average size of an article is roughly 400k across the binary
>>newsgroups.  The proposal is 900k articles, which, because of small files
>>like nfo, sfv, par2, and tails of larger files, would probably turn into
>>about an 800k average.
>>So 400k vs 800k.
> 
> 
> Do not forget Usenet bandwidth have doubled every year for quite a long
> time (nowdays it seems to double on a longer period, 16 to 18 months ?
> someone has precise figures ?) While average article size was around 300
> KB a few years ago, nowdays average size is around 320 to 330 KB on my
> feeders. Thus, average article size do not really increase and bandwidth
> grow is mostly dued to an increase of the number of posted articles.
> So, posting with 900 KB articles would "simply" avoid two years of
> increase.
> 
> 
>>>As history is harder and harder to manage (some big spoolers here are
>>>from time to time limited by history disks I/O and not by spool disks
>>>I/O)
>>
>>I've read about this.  Relative to the cost of fast redundant network
>>attached storage for the spool, upgrading here is inexpensive.  Emphasis
>>on "relative to".
> 
> 
> No, you are simply dreaming here. We are talking to double the disk system
> every 16 to 18 months. Right now, my front-end servers need only 3 scsi
> disks (1U servers, I could not do this without recent dreaderd
> improvements but there is still a problem relative to file fragmentation).
> In six year, I would need 48 disks and this is far from a inexpensive I/O
> disk system (well, if you consider disks lower their average access time
> by 10% each year, I could need only 28 disks). Right now, even my spoolers
> do not have 28 disks ! (24 SATA disks servers are used). As long as news
> servers are lowcost, ISPs may still manage the service (in France, some of
> them already have dropped all news servers and most of the others do not
> carry binaries).
> 
> I am wondering about others newsmasters thoughts about this subject... :-)

The cost of disk storage is dropping as fast or faster than the volume 
of usenet. The limiting factor will be bandwidth, not storage cost. 
Already I see retail drives at 400GB/$265US, and several companies are 
planning to change to vertical magnetic domains which should have 1TB 
drives out in a few years, probably at <$300US within four years. 
Bandwidth is getting cheaper, but not nearly that fast, and pushing huge 
volumes through IPv4 gets harder due to packet size.

20 years ago I could push a full feed through an 18kb dialup link. Now 
it runs in the 500Mb range. I believe that will be the bottleneck 
limiting growth in volume and raising the cost of service.

-- 
bill davidsen
   SBC/Prodigy Yorktown Heights NY data center
   http://newsgroups.news.prodigy.com
Re: binary segment size and storage requirements
#71617
Author: Magical Pig
Date: Mon, 16 May 2005 18:50
37 lines
3240 bytes
On Wed, 11 May 2005 13:01:57 +0200, Francois Petillon wrote:

Pardon me for snipping, but I'd like to get to the point.

> So, posting with 900 KB articles would "simply" avoid two years of
> increase.

Only if you ignore the fact that you'd need more than twice the disk space
on the spoolers.

>>> As history is harder and harder to manage (some big spoolers here are
>>> from time to time limited by history disks I/O and not by spool disks
>>> I/O)
>> I've read about this.  Relative to the cost of fast redundant network
>> attached storage for the spool, upgrading here is inexpensive.  Emphasis
>> on "relative to".
> 
> No, you are simply dreaming here. We are talking to double the disk system
> every 16 to 18 months. Right now, my front-end servers need only 3 scsi
> disks (1U servers, I could not do this without recent dreaderd
> improvements but there is still a problem relative to file fragmentation).
> In six year, I would need 48 disks and this is far from a inexpensive I/O
> disk system (well, if you consider disks lower their average access time
> by 10% each year, I could need only 28 disks). Right now, even my spoolers
> do not have 28 disks ! (24 SATA disks servers are used).

By the same logic, in six years you'll need 384 disks for your spoolers! 
You neglected to mention that part.

I was comparing the cost of doubling the spool with the cost of doubling
the disk space on the frontend servers.  I claimed, and still claim, that
the latter is much cheaper.

Let's see, 384 large SATA drives vs four dozen 36GB SCSI drives.  It's
pretty clear to me.  Perhaps I am dreaming after all.

-MP
Re: binary segment size and storage requirements
#71625
Author: Francois Petillon
Date: Mon, 16 May 2005 22:43
12 lines
2189 bytes
On Wed, 11 May 2005 19:26:48 +0000, Bill Davidsen wrote:
>> No, you are simply dreaming here. We are talking to double the disk system
>> every 16 to 18 months.
> The cost of disk storage is dropping as fast or faster than the volume 
> of usenet. 

No, I am not talking about storage capacity but about I/O capacity. If
disk storage doubles every year (I do not know if it still does), average
disk seek is lowered only by 10%. And that is the point where, I am
afraid, we will have problems.

    François
Re: binary segment size and storage requirements
#71627
Author: Francois Petillon
Date: Mon, 16 May 2005 23:04
30 lines
2799 bytes
On Mon, 16 May 2005 18:50:21 +0000, Magical Pig wrote:
> Only if you ignore the fact that you'd need more than twice the disk space
> on the spoolers.

This is not a problem as disk capacity grows as fast/faster than usenet
does. But, we will also have the same IO load problem on spoolers.

> By the same logic, in six years you'll need 384 disks for your spoolers! 
> You neglected to mention that part.

If the article size does not increase, yes...

Two figures :
- an old spooler with 14 ATA disks (40 GB 5400 rpm) max throughoutput is
around 400 Mbps
- a recent spooler with 24 SATA disks (250 GB 7200 rpm) max throughoutput
is around 940 Mbps
(same version of Diablo, 3Ware controllers)

That's a performance increase of 37% over the last 4 (?) years.

> I was comparing the cost of doubling the spool with the cost of doubling
> the disk space on the frontend servers.  I claimed, and still claim,
> that the latter is much cheaper.

Not if you have both of them to upgrade 'cause you are doing too many IOs.

  François

Re: binary segment size and storage requirements
#71650
Author: Magical Pig
Date: Tue, 17 May 2005 14:28
52 lines
3642 bytes
On Tue, 17 May 2005 01:04:57 +0200, Francois Petillon wrote:

> On Mon, 16 May 2005 18:50:21 +0000, Magical Pig wrote:
>> Only if you ignore the fact that you'd need more than twice the disk space
>> on the spoolers.
> 
> This is not a problem as disk capacity grows as fast/faster than usenet
> does.

I don't think either of us believes this.  Disk space is definitely a
problem.  

In the last four years: 

- Hard drive sizes haven't grown by a factor of four

- Cost per gigabyte has decreased by _maybe_ a factor of 2.5

- Usenet has grown by a factor of 6.35 (your own estimate)

>> By the same logic, in six years you'll need 384 disks for your spoolers! 
>> You neglected to mention that part.
> 
> If the article size does not increase, yes...
> 
> Two figures :
> - an old spooler with 14 ATA disks (40 GB 5400 rpm) max throughoutput is
> around 400 Mbps
> - a recent spooler with 24 SATA disks (250 GB 7200 rpm) max throughoutput
> is around 940 Mbps
> (same version of Diablo, 3Ware controllers)
> 
> That's a performance increase of 37% over the last 4 (?) years.

So, you actually will need 300+ drives for the spoolers in 6 years,
because fewer larger drives won't provide enough throughput.  Larger
segments might help a bit, but this has more to do with the sheer number
of bytes posted than with posting segment sizes.

>> I was comparing the cost of doubling the spool with the cost of doubling
>> the disk space on the frontend servers.  I claimed, and still claim,
>> that the latter is much cheaper.
> 
> Not if you have both of them to upgrade 'cause you are doing too many IOs.

Suppose that posting segment sizes were to suddenly double.  In 18
months, you'd still have to upgrade the spoolers because you'd still need
twice the space.  Ignore, for the moment, the frontend servers.  How much
cheaper would this particular upgrade be, than if the segments sizes
hadn't doubled?

-MP
Re: binary segment size and storage requirements
#71652
Author: Francois Petillon
Date: Tue, 17 May 2005 17:14
44 lines
3788 bytes
On Tue, 17 May 2005 14:28:01 +0000, Magical Pig wrote:
> In the last four years: 
> - Hard drive sizes haven't grown by a factor of four

They roughly did (in 2001, top capacity was around 100 GB, in 2002, it was
180 GB and in 2004 it was 400 GB).

> - Cost per gigabyte has decreased by _maybe_ a factor of 2.5

I would bet on the same ratio as disk capacity : the cost per disk has not
changed much these last few years while capacity has increased.

> - Usenet has grown by a factor of 6.35 (your own estimate)

Probably.

> Larger segments might help a bit but this has more to do with the sheer
> number of bytes posted than with posting segment sizes.

Wrong. When you retrieve data on spoolers, you read article by article.
And as articles are stored one by one at different places, you will need
a disk seek between two articles. And this disk seek is more and more
costy (disk throughoutput grows faster than average disk seek is lowered).

> Suppose that posting segment sizes were to suddenly double.  In 18
> months, you'd still have to upgrade the spoolers because you'd still
> need twice the space.

No, I am just adding spooler with greater capacity to match IO load and I
still use older spooler until they die (my 14x40 GB spoolers are still in
production, but they retain articles for a day only).

> How much cheaper would this particular upgrade be, than if the segments
> sizes hadn't doubled?

Roughly on nowadays disks, a seek probably cost as much as load an 300 KB
article (throughoutput 40 MB/s, average seek time 8 ms). On this disk,
reading 600 KB article instead of 300 KB would increase performance by
50% (in a ideal world). The upgrade would have been 33 % cheaper.

But we can not simply double article size every two years, we will have
others problem like memory use...

  François
Re: binary segment size and storage requirements
#71686
Author: Bill Davidsen
Date: Tue, 24 May 2005 14:58
33 lines
3397 bytes
Francois Petillon wrote:
> On Wed, 11 May 2005 19:26:48 +0000, Bill Davidsen wrote:
> 
>>>No, you are simply dreaming here. We are talking to double the disk system
>>>every 16 to 18 months.
>>
>>The cost of disk storage is dropping as fast or faster than the volume 
>>of usenet. 
> 
> 
> No, I am not talking about storage capacity but about I/O capacity. If
> disk storage doubles every year (I do not know if it still does), average
> disk seek is lowered only by 10%. And that is the point where, I am
> afraid, we will have problems.

Let's look at two parts of that. First, the incoming data, full feed, 
which might be 15-50MB/s depending on the definition of "full feed." 
With cyclic buffers there's little or no seek, because the files are 
sequential, so raw byte rate is the limiting factor. 50MB/s is very 
reasonable, assuming some number of drives in a RAID configuration.

The reads are more random, but note that the driver is the number of 
readers on the system, which controls the number of seeks per unit time. 
  So the seek speed needed is probably proportional to number and 
behaviour of readers, rather than the incoming volume.

My premise is that for a given reader load, going to newer drives for 
storage capacity will typically eliminate new seek time bottlenecks.

-- 
bill davidsen
   SBC/Prodigy Yorktown Heights NY data center
   http://newsgroups.news.prodigy.com
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