🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62483

Re: xBin (Power-Post 2003 - requesting input from authorities..)

#62483
From: Curt Welch
Date: Sat, 28 Dec 2002 18:10
38 lines
3409 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
> >   For 22500 byte blocks (500 uu lines), the max part size difference
> >   would be 61K.  Or, for a 2000 line per post uuencoded file (126K
> >   article), the last part could be as small as 1001 lines.
>
> I think we need to specify a better algorithm.  that last part should
> be 1501 lines, really.

Good point.  When I first thought about this "equilize the parts" problem I
thought it was obviously trivial.  Then I started writing the code. :)

Your idea above makes it even more interesting.  This makes the last file
slightly larger than all the rest of the small files in the set, and in the
worse case, makes it up to a full block size larger (i.e. almost the same
size as the first parts in the set).

But by doing that, the file sizes are never more than +- 1 hash block size
in size instead of a max of +- 2.  So they are a lot more equal in size.

However, there is another issue here.   Smaller files generally tend to
move throught Usenet faster.  By making the first files the largest, and
the last ones a block smaller, and the very last one the smallest of all -
up to almost 2 blocks smaller, then the files posted later will tend to
"catch up" with the larger posts as the set moves through usenet, helping
to close the window of time from the arrivial of the first article in a
multipart set to the time when all parts are available on a server.

Making the last post larger, means the article posted last might take
longer than many of the parts posted in front of it.

Speed of articles moving though usenet is part of the argument for trying
to equalize the part sizes, so maybe in fact, for this problem, having the
last post up to 2 blocks smaller is actually not a bad thing?

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20021228131035.658$Ud@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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <cdda0v4h6t52ov7abf1j0qkpo843itf4se@4ax.com> <cfka0vsbjdlbdmtv2gg8qnehok033qh5f1@4ax.com> <20021223041127.986$6M_-_@newsreader.com> <1rfzsoaacf.fsf@vingodur.ifi.uio.no> <20021223150103.132$Bb@newsreader.com> <1rd6ns9y06.fsf@tolf.ifi.uio.no> <20021223181329.108$LI@newsreader.com> <1rfzsjz87r.fsf@sjau.ifi.uio.no> <20021227144125.156$Nm@newsreader.com> <1rsmwjxgk5.fsf@sjau.ifi.uio.no> <20021228023313.941$tN@newsreader.com> <1rbs36gwag.fsf@tva.ifi.uio.no>

Show Full Headers
Complete Article Headers
Message-ID: <20021228131035.658$Ud@newsreader.com>
Subject: Re: xBin (Power-Post 2003 - requesting input from authorities..)
Date: Sat, 28 Dec 2002 18:10:35 +0000
From: curt@kcwc.com (Curt Welch)
References: <cdda0v4h6t52ov7abf1j0qkpo843itf4se@4ax.com> <cfka0vsbjdlbdmtv2gg8qnehok033qh5f1@4ax.com> <20021223041127.986$6M_-_@newsreader.com> <1rfzsoaacf.fsf@vingodur.ifi.uio.no> <20021223150103.132$Bb@newsreader.com> <1rd6ns9y06.fsf@tolf.ifi.uio.no> <20021223181329.108$LI@newsreader.com> <1rfzsjz87r.fsf@sjau.ifi.uio.no> <20021227144125.156$Nm@newsreader.com> <1rsmwjxgk5.fsf@sjau.ifi.uio.no> <20021228023313.941$tN@newsreader.com> <1rbs36gwag.fsf@tva.ifi.uio.no>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com fHZBCmigEOdnwQIAcy-+LFSdRo@8gie83lgWYgD.TXFI4WYlpk
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
  %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 37