All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Carlson <carlsonj@workingcode.com>
To: linux-ppp@vger.kernel.org
Subject: Re: PPP comression and extension info required...
Date: Wed, 23 Jun 2010 17:39:13 +0000	[thread overview]
Message-ID: <4C2246C1.2000206@workingcode.com> (raw)

arun b wrote:
> HI,
> I wanted to know PPP -extension  support , compression ...
> does it available in the ppp-2.4.4. ?  if so how do we test it.?
> Any  info you know  to share would be appreciated..

Yes, it supports data compression, and it's enabled by default.  See the
pppd(1M) man page for details.  Note that compression schemes need to be
built into your kernel, so what's _actually_ supported depends on what
kernel modules you have.

The debug log messages will be helpful here as well, as they indicate
which compression algorithms are being negotiated.

I'm not sure what sort of testing you want to do with it, though, so
you'll need to be more specific.  For what it's worth, I find that
passing large amounts of highly-compressible data (such as the letter
"A" repeated a few million times in a file) is one good stress test, and
passing incompressible data (such as a large bzip2'd file) is another.
Each explores a different end in the usual string-based data compression
algorithm.  The Canterbury Corpus is another fairly well-known test, and
is probably a good middle-of-the-road test for passing compressible data.

But there are other forms of "testing" that are possible here, including
performance and interoperability, and those may require other sorts of
testing schemes and other considerations, so I'm not really sure what it
is you're after.

-- 
James Carlson         42.703N 71.076W         <carlsonj@workingcode.com>

             reply	other threads:[~2010-06-23 17:39 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-23 17:39 James Carlson [this message]
2010-06-23 17:41 ` PPP comression and extension info required arun b
2010-06-23 17:59 ` arun b
2010-06-23 18:17 ` James Carlson
2010-06-24  5:13 ` arun b
2010-06-24  7:23 ` James Cameron
2010-06-24 10:18 ` arun b
2010-06-24 10:22 ` arun b
2010-06-24 11:10 ` James Carlson
2010-06-24 11:24 ` James Carlson
2010-06-24 13:55 ` arun b
2010-06-24 14:19 ` James Carlson
2010-06-24 16:48 ` arun b
2010-06-24 17:49 ` James Carlson
2010-06-25  0:51 ` arun b

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C2246C1.2000206@workingcode.com \
    --to=carlsonj@workingcode.com \
    --cc=linux-ppp@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.