๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #61428

Re: [FNTP] verifying that part reposts belong to a file - solution

#61428
From: Curt Welch
Date: Sun, 13 Oct 2002 21:03
46 lines
3443 bytes
claus-usenet-20021013@faerber.muc.de (Claus_F๏ฟฝrber) wrote:
> Curt Welch <curt@kcwc.com> schrieb/wrote:
> > Well, to throw in some real numbers...  The md5 Unix utility running
> > on a 1GHz PIII machine of mine can do about 40MB of data per second
> > when reading a file already cached in memory.  That's over 2^32 bytes
> > of data. So to calculate it for 2^37 bytes would take 2^5 seconds
> > (that's 32 seconds to claculate a single hash for 128 GB of data).
>
> 40 MB * 2^5 is 1.28 GB, not 128 GB. It would take about an hour.
> (Reading the data from disk takes two hours at 20 MB/s, as you said.)

I should always double check my math when I post things like that. :)

Where did I get 2^32 from????

> > And how long do you think a typical disk drive will take to deliver
> > 128 GB of data to you so you can do that 32 seconds of CPU work
> > calculating the hash?  20MB per second is a typcial disk these days.
> > At that rate, it would takes about 2 hours to read all that data.  I
> > don't think that 33 seconds of CPU work spread over 2 hours is going to
> > be a problem.
>
> > Someone wanting to post a 100GB file and not wanting to wait 2 hours
> > before the posting can even start might be an issue.
>
> Even with a 10 MBit/s line to the server, posting such a file already
> takes at least 22 hours.
>
> > Someone wanting to post a 100GB file and not wanting to wait 2 hours
> > before the posting can even start might be an issue.  But my feelings
> > on that is if they are putting that much data on Usenet they better be
> > willing to wait because that 2 hours of delay will make it better
> > for everyone on usenet trying to download the file or trying to
> > transport the file for him.
>
> Actually, I expect software that will handle this automatically: You
> just tell it which files to post to which groups on which server and the
> rest works automatically.

Right, it just cues the job of calculating the hash and if you are posting
multiple files, it could even be doing that stuff in parallel.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20021013170333.612$tK@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!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!newsfeed1.cidera.com!Cidera!feed2.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <hpk9quk1cq0ti2reeu03epd0tgf4b8a8p0@4ax.com> <20021010014047.034$XV@newsreader.com> <ao4htp$rq1$1@bob.news.rcn.net> <20021010160429.711$68@newsreader.com> <8Yl1YfAJcDC@3247.org>

Show Full Headers
Complete Article Headers
Message-ID: <20021013170333.612$tK@newsreader.com>
Subject: Re: [FNTP] verifying that part reposts belong to a file - solution
Date: Sun, 13 Oct 2002 21:03:33 +0000
From: curt@kcwc.com (Curt Welch)
References: <hpk9quk1cq0ti2reeu03epd0tgf4b8a8p0@4ax.com> <20021010014047.034$XV@newsreader.com> <ao4htp$rq1$1@bob.news.rcn.net> <20021010160429.711$68@newsreader.com> <8Yl1YfAJcDC@3247.org>
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!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!newsfeed1.cidera.com!Cidera!feed2.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com Be3,_q62d@V8XAflg_xDPxi0o1P8_Ix4VV@5g_mLGUlOEx/
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: 45