CSLIP sl0 Performance

CSLIP sl0 Performance

Post by B.D. Deck » Fri, 10 Jun 1994 11:31:46



Now that I'm all set with CSLIP on both ends of my link, I'd
like to tune my SLIP performance.  Currently, using "ifconfig sl0"
regularly gives me statistics similar to the following:

sl0       Link encap AMPR AX.25  HWaddr
          inet addr XXX.XXX.XXX.XX  P-t-P YYY.YYY.YYY.YY  Mask 255.255.0.0
          UP POINTOPOINT RUNNING  MTU 2000  Metric 0
          RX packets 1325 errors 0 dropped 0 overrun 267
          TX packets 959 errors 0 dropped 0 overrun 884

If I am reading this correctly, overrun packets are probably a "bad
thing", and should be minimized.  I've tried to do that by raising my
MTU, but the kernel gives me kmalloc errors if I go higher than 2000.
Am I looking in the wrong place?  Is this possibly a modem problem?

I'm using a USR Sportster with MNP and compression turned on (AT&F1)

--
-.---.----..-.---.----..-.---.----..-.---.----..-.---.----..- --- ----

"Where would you rather be? Anywhere. Anywhere but here" -ORQ

 
 
 

CSLIP sl0 Performance

Post by mong » Fri, 10 Jun 1994 13:59:40


: Now that I'm all set with CSLIP on both ends of my link, I'd
: like to tune my SLIP performance.  Currently, using "ifconfig sl0"
: regularly gives me statistics similar to the following:

You have something seriously misconfigured if you are using AX.25 with
SLIP and your modem.  AX.25 is used for *radio* communication, not used
with dial-up modems usually.  
                       vvvvvvvvvv
: sl0       Link encap AMPR AX.25  HWaddr
:           inet addr XXX.XXX.XXX.XX  P-t-P YYY.YYY.YYY.YY  Mask 255.255.0.0
:           UP POINTOPOINT RUNNING  MTU 2000  Metric 0
:           RX packets 1325 errors 0 dropped 0 overrun 267
:           TX packets 959 errors 0 dropped 0 overrun 884

: If I am reading this correctly, overrun packets are probably a "bad
: thing", and should be minimized.  I've tried to do that by raising my
: MTU, but the kernel gives me kmalloc errors if I go higher than 2000.
: Am I looking in the wrong place?  Is this possibly a modem problem?

Your MTU should not be set any higher than 1500, normally.  Some systems
work a lot better with a lower MTU of 1006 or 1024.  I don't have SLIP on
Digex, so I can't tell you what they like.  

If you are running Linux, you might want to just skip SLIP altogether and
install PPP.  It's a much more robust protocol and have the ability to
negotiate with the host for a lot of it's setup parameters.

I am logged in here right now using Linux PPP, via another provider, and
it works very smoothly.

mongo

 
 
 

CSLIP sl0 Performance

Post by Dan Swartzendrub » Sat, 11 Jun 1994 09:26:36




>: Now that I'm all set with CSLIP on both ends of my link, I'd
>: like to tune my SLIP performance.  Currently, using "ifconfig sl0"
>: regularly gives me statistics similar to the following:

>You have something seriously misconfigured if you are using AX.25 with
>SLIP and your modem.  AX.25 is used for *radio* communication, not used
>with dial-up modems usually.  

No, this is meaningless.  ifconfig seems to always say this, even
when I'm using a perfectly good SLIP connection.

Quote:>                       vvvvvvvvvv
>: sl0       Link encap AMPR AX.25  HWaddr
>:           inet addr XXX.XXX.XXX.XX  P-t-P YYY.YYY.YYY.YY  Mask 255.255.0.0
>:           UP POINTOPOINT RUNNING  MTU 2000  Metric 0
>:           RX packets 1325 errors 0 dropped 0 overrun 267
>:           TX packets 959 errors 0 dropped 0 overrun 884

>: If I am reading this correctly, overrun packets are probably a "bad
>: thing", and should be minimized.  I've tried to do that by raising my
>: MTU, but the kernel gives me kmalloc errors if I go higher than 2000.
>: Am I looking in the wrong place?  Is this possibly a modem problem?

>Your MTU should not be set any higher than 1500, normally.  Some systems
>work a lot better with a lower MTU of 1006 or 1024.  I don't have SLIP on
>Digex, so I can't tell you what they like.  

This is not a problem either.  The overrun field is actually
referring to compressed packets.  Alan had to reuse a variable
or something.
--

#include <std_disclaimer.h>

Dan S.

 
 
 

CSLIP sl0 Performance

Post by Andrew Robins » Sun, 12 Jun 1994 07:31:39




>: Now that I'm all set with CSLIP on both ends of my link, I'd
>: like to tune my SLIP performance.  Currently, using "ifconfig sl0"
>: regularly gives me statistics similar to the following:
>You have something seriously misconfigured if you are using AX.25 with
>SLIP and your modem.  AX.25 is used for *radio* communication, not used
>with dial-up modems usually.  
                          vvvvvvvvvv
>: sl0       Link encap AMPR AX.25  HWaddr
>:           inet addr XXX.XXX.XXX.XX  P-t-P YYY.YYY.YYY.YY  Mask 255.255.0.0

Actually, it looks like an older version of ifconfig is being used with a
newer kernel.  I was surprised myself when I was running SLIP, typed
'ifconfig' and saw "AX.25".  Upgrading to the newer version of ifconfig and
route solved the problem (actually, it worked just fine, it only reported
wrong).

--
Andrew Robinson

 
 
 

1. Optimizing CSLIP performance via kernel TCP parameters

Hello

Recently I succeeded in getting cslip to work between Linux and a
SUN IPX by installing cslip-2.7 on the SUN end. To improve performance
the CSLIP documentation  recommends reducing the default TCP buffer
sizes on the dialup client side (i.e. my Linux box). Does anyone know
how to do this since I couldn't find any reference to the parameters
tcp_sendspace and tcp_recvspace (mentioned in the CSLIP guide) in
my Linux kernel code.

Finally, it was recommended in the CSLIP docs to make the retransmit
timer more conservative and an example was given on how to do this using
the 4.3-tahoe networking code. Could anyone tell me how to do this
in Linux? Any other suggestions for optimizing my CSLIP link would be
greatly appreciated.

                        many thanks

                               Jerry

--
===========================================================================
Jerry Hagon                      |  E-Mail: MIME FINE!

Dept. of Physics                 |                            
The University                   |  PHONE1: +44 91 2227380            
Newcastle upon Tyne              |  PHONE2: +44 91 2227360
NE1 7RU                          |  FAX:    +44 91 2227361
United Kingdom                   |
===========================================================================

2. Sorry, liunux router configuration (in french)

3. ERROR 'sl0' busy and not MOD_IN_USE.

4. DTC 3270 CONTROLLER

5. diald error : start sl0: SIOCSIFMETRIC: Operation not supported

6. SSL + JRUN + Servlets Problem, Please Help!

7. PPP not replacing default route to sl0[0.0.0.0]

8. lpc status: waiting for lp to become ready (offline ?)

9. no sl0

10. ifconfig on sl0 shows "overruns"

11. SLIP problem with sl0 interface on AIX

12. mknod for SLIP (/dev/sl0)

13. sl0 time out.