Subject: Re: slooow PPP on SE/30
To: None <port-mac68k@netbsd.org>
From: Alexander Klein <Alexander.Klein@math.uni-giessen.de>
List: port-mac68k
Date: 08/04/2001 20:14:16
Hi,

At 12:28 Uhr +0200 04.08.2001, Charlie Allom wrote:

>I can't seem to get any decent speed (I'm guessing I get around
>9600 baud as a connection speed) even though I have set userppp
>to connect at 38400 and also set the modem serial port at 38400
>in the Booter.

I assume you're confusing connection speed and connection throughput here?
If you really have 9600 as the connection speed (speed between the modems),
then no serial speed in the word, not even 230k4, nor anything else will do
something about it.

Aside from any BSD-related issues you will always want to check the
following when dealing with sluggish serial connections:

1. Set the highest port speed possible (56k7 in your case).

1.a) Be _sure_ that the port speed you set is really in use. If you can talk
     to the modem directly, then ATI4 will show the actual speed, at least on
     my USR-Modem.

2. Check that handshaking is set up correctly. Having a RTS/CTS-cable won't
   help unless the port is set up to actually use it. PPP _can_ work
   without handshaking, but you'll lose lots of packets. Don't even think about
   using XON/XOFF when doing PPP.

3. If nothing works, reduce the port speed until it works.

4. Check that Van-Jacobsen Header Compression is active.

5. Check the MTU size for PPP. If it is 1500, reduce it, maybe in steps of
   250 or so per try. If you're patient you may take steps of 125. MTU size
   is correct when the LEDs on the modems flash continuously without long
   breaks due to lost packets.

6. If you don't succeed with reducing MTU size, reduce the port speed until it
   works.

7. Having found a port speed that works, you may again increase the MTU size
   to the point just before throughput goes down again.

Regards!

	Alex