🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #71143

Re: binary segment size and storage requirements

#71143
From: 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
Technical Details
Message-ID: <pan.2005.04.26.20.05.03.328000@DONT.change.UNDERSCORE>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!green.octanews.net!news-out.octanews.net!authen.white.readfreenews.net.POSTED!not-for-mail
References: <6TVae.33928$hu5.26389@tornado.texas.rr.com> <20050425002014.392$ho@newsreader.com> <pan.2005.04.26.00.49.34.594000@DONT.change.UNDERSCORE> <20050426125547.187$MT@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <pan.2005.04.26.20.05.03.328000@DONT.change.UNDERSCORE>
Subject: Re: binary segment size and storage requirements
Date: Tue, 26 Apr 2005 21:02:37 +0100
From: Lenny Nero <Lenny_nero@hotmail.invalid.invalid>
References: <6TVae.33928$hu5.26389@tornado.texas.rr.com> <20050425002014.392$ho@newsreader.com> <pan.2005.04.26.00.49.34.594000@DONT.change.UNDERSCORE> <20050426125547.187$MT@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!green.octanews.net!news-out.octanews.net!authen.white.readfreenews.net.POSTED!not-for-mail
Organization: s()s -=[S!aaps]=- s()s
User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing
 moment of clarity.)
Newsgroups: news.software.nntp
Reply-To: Lenny_Nero@hotmail.com
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 114
NNTP-Posting-Date: 26 Apr 2005 15:02:02 CDT
NNTP-Posting-Host: 52a6ce50.authen.white.readfreenews.net
X-Trace: DXC=I1D6i_S9OY_6W2Ae; fNH?Xb_[jUcf=dBWPH=X44`;
 MPYja\Vl9[>gGWOFK]CbbANF]0InM; 3T1ENWUdIO39DS[5\Ai[IIU>HkjP
X-Complaints-To: abuse@readfreenews.net