Subject: Re: /netbsd: ser0: silo overflow
To: None <port-amiga@netbsd.org>
From: Georges Heinesch <geohei-ml@geohei.lu>
List: port-amiga
Date: 04/29/2001 10:24:11
Quoting Ignatios Souvatzis (22-Apr-01 11:26:05):

> On Sun, Apr 22, 2001 at 11:15:58AM +0200, Job Hanssen wrote:
>> 
>> Quoting Georges Heinesch <geohei-ml@geohei.lu>:
>> 
>> >
>> > How can I activate PPP compression? Is this dome by default by
>> > pppd?
>> >
>> 
>> If memory serves me correctly, compression is enabled by specifying
>> bsdcomp in the options-file used.
>> 
>> However, my advice would be not to trust my memory and have a look
>> at man pppd yourself to make sure... :-)

> seconded. 

> there are two different compresson methods implennted in NetBSD (one
> "compress" like - bsdcomp, one gzip-like (deflate). you can enable
> both and let pppd negotiate with the other side which to use, and
> you can specify parameters. For details look at the manual page,
> please.

Done!

Test 1:

    #options    SERIBUF_SIZE=4046
    #options    LEV6_DEFER

    I added 'deflate 15,15' and 'bsdcomp 15,15' to
    '/etc/ppp/options.tty00'. No result.

    Provider 1 - lynx download (pkgsrc) - +50 silo errors
    Provider 2 - gimp download (pkgsrc) - +80 silo errors

From now on, 'deflate' and 'bsdcomp' were commented out.

Test 2:

    options    SERIBUF_SIZE=4046
    #options    LEV6_DEFER
    -> many errors!

Test 3:

    options    SERIBUF_SIZE=1000000 /* one million !!! */
    #options    LEV6_DEFER
    -> many errors!


Test 4:

    options    SERIBUF_SIZE=1000000 /* one million !!! */
    options    LEV6_DEFER
    -> many errors!

Test 5:

    options    SERIBUF_SIZE=1000000 /* one million !!! */
    options    LEV6_DEFER
    -> many errors!

BTW, do the silo overflow errors create corrupt downloaded files?

TIA

-- 
Cu  Georges Heinesch, Luxembourg
    geohei@geohei.lu
    http://www.geohei.lu
    PGP RSA & DH/DSS public key on request and on public servers

... all animals are equal, but some animals are more equal ...