🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #57735

Re: Ping: UUE, yEnc and Modem compression Cognoscenti -- A Question

#57735
From: Greg Andrews
Date: Fri, 29 Mar 2002 00:41
47 lines
2882 bytes
lordsnow@home.nl (=-lordsnow-=) writes:
>
>Even if the original binary doesn't compress, the padding done by
>UUE (it shifts 3 into 4 bytes, adding two 0 bits in every byte)
>should be highly compressible - the two 0 bits in every byte is
>totally redundant information.
>

But modems don't remove the redundant bits from the bytes, so
saying they're redundant is fairly meaningless when you're talking
about compression.

You're approaching the question from the wrong angle.  Modem compression
(and most byte-oriented compression algorithms) compresses by finding
repeated patterns of bytes and replacing them with a shorter symbol.
The modem on the decompression end translates the symbol back into
the original pattern of bytes.

If the input byte stream contains patterns of bytes that repeat, then
the modem compression will increase throughput.  If the input byte
stream does not have repeating patterns (or only a few), then the
modem compression won't do much.

>>
>> Also, most dial-up modem manuals tell you to turn compression off
>
>Hmmm.. modems should detect if something is compressible or not, and
>then use compression or not.
>

V.42bis required modems to do this and defined messages that the
modems could exchange to signal "compression off" and "compression
on".  MNP5 did not, so it's pretty much impossible for modems to
enable and disable compression on the fly.

The writers of dial-up instructions want to give the end user one
simple step that will work consistently for everyone.  That usually
means "turn compression off", so the folks who only have MNP modems
won't scream at the support folks.


  -Greg
-- 
+++++ Greg Andrews +++ gerg@panix.com +++++
I have a map of the United States that's actual size
		 -- Steven Wright
Technical Details
Message-ID: <a80d8g$8ri$1@news.panix.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!jfk3-feed1.news.algx.net!allegiance!panix!not-for-mail
References: <9la1aug5t6dgspls4ovk9p7slb9cstquq4@4ax.com> <3ca29e83.11564952@news>

Show Full Headers
Complete Article Headers
Message-ID: <a80d8g$8ri$1@news.panix.com>
Subject: Re: Ping: UUE, yEnc and Modem compression Cognoscenti -- A Question
Date: Fri, 29 Mar 2002 00:41:52 +0000
From: gerg@panix.com (Greg Andrews)
References: <9la1aug5t6dgspls4ovk9p7slb9cstquq4@4ax.com> <3ca29e83.11564952@news>
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!jfk3-feed1.news.algx.net!allegiance!panix!not-for-mail
Newsgroups: news.software.nntp
Organization: I have a map of the United States that's actual size
Lines: 46
Distribution: inet
NNTP-Posting-Host: panix2.panix.com
X-Trace: news.panix.com 1017362512 9074 166.84.1.2 (29 Mar 2002 00:41:52 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: 29 Mar 2002 00:41:52 GMT
X-Newsreader: trn 4.0-test74 (May 26, 2000)
Originator: gerg@panix.com (Greg Andrews)