🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.free.newsservers
Article #56472

Re: Approx conversion from bps to downloaded bytes

#56472
From: Curt Welch
Date: Fri, 11 Mar 2005 19:05
29 lines
2878 bytes
"Shmuel (Seymour J.) Metz" <spamtrap@library.lspace.org.invalid> wrote:
> In <20050309154826.338$3Q@newsreader.com>, on 03/09/2005
>    at 08:48 PM, curt@kcwc.com (Curt Welch) said:
>
> >Over all these high speed circuits, data bits are pushed with 8 bits
> >per byte.  These are syncronus circuits, not async.  There are no
> >stop bits for each byte like there are with slow async serial lines.
> >So the correct conversion from bytes to bits is done by dividing by
> >8, not 9.
>
> No bit stuffing or other encoding such as you have in, e.g., HDLC,
> fibre channel?

Ah, good point.  I left that out.  It's normally small enough that I don't
even think about it.  Many high speed synchronous lines will use something
like HDLC framing as a way to mark the beginning of each packet.  It adds
even more hard to calculate overhead into the equation.  If you get 5
0-bits in a row, it will insert an extra 1-bit into the data stream.  I
don't even know how to calculate on average how many bits you expect to be
stuffed into a data stream which has a random mix of 1s and 0s.  But I just
wrote a program to try and determine it empirically and came up with about
1 stuffed but for each 62 data bits or an overhead of about 1.6%.

Now that I think about it, I guess you could calculate that value with a
Bayesian net to represent all possible sequences of digits.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                                        http://NewsReader.Com/
Technical Details
Message-ID: <20050311140512.397$D2@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-octanews.general.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!newsh.newsreader.com!ellis.newsreader.com!not-for-mail
References: <960FF163A45B351A7E@204.153.244.156> <4228f6e9$0$88270$892e0abb@auth.newsreader.octanews.com> <_b7Wd.3497$C47.2013@newssvr14.news.prodigy.com> <20050309154826.338$3Q@newsreader.com> <42306e7d$1$fuzhry+tra$mr2ice@news.patriot.net>

Show Full Headers
Complete Article Headers
Message-ID: <20050311140512.397$D2@newsreader.com>
Subject: Re: Approx conversion from bps to downloaded bytes
Date: Fri, 11 Mar 2005 19:05:12 +0000
From: curt@kcwc.com (Curt Welch)
References: <960FF163A45B351A7E@204.153.244.156> <4228f6e9$0$88270$892e0abb@auth.newsreader.octanews.com> <_b7Wd.3497$C47.2013@newssvr14.news.prodigy.com> <20050309154826.338$3Q@newsreader.com> <42306e7d$1$fuzhry+tra$mr2ice@news.patriot.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-octanews.general.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!newsh.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: alt.free.newsservers,news.software.readers,octanews.general
X-Trace: NewsReader.Com ndaGiaTksX9Z+LB6oybowJb_1eqpi=VRxVN2yEuxE8xlfY=s,1
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: 29