MHonArc test archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Slow throughput



I'm trying to get ATM working on an Intel linux machine. Machine stats:
	kernel: 2.2.1
	ATM for linux: 0.55
	distribution: RedHat 5.2
	PCA-200E: 0.4
	Ethernet: Intel EtherExpress Pro 100

My problem is this. Whenever I try to use the atm as the primary interface (use the ATM gateway ) the system slow to a crawl network wise. The machine is part of a large network with many automounted NFS volumes and YP/NIS. I can't seem to figure out what could be wrong. As far as I can see I have everything set up correctly. Is there any way to enable debugging message for the driver so I can see when and how frequently the VCs are being created and torn down? Can anyone offer me any insight as to what all these stats mean? Thanks ahead of time.

Sorry for the legth of the message but I wasn't sure what to/not to include.	

Script started on Tue Mar 23 15:39:58 1999

-- Output from /proc/atm after a reboot

labrata # cat /proc/atm/*
IPitf TypeEncp Idle IP address      ATM address
atm0  SVC LLC   298 140.221.46.253  47.0005.8000570000000010FC01.00E0A3205880.02
Itf Type    ESI/"MAC"addr AAL(TX,err,RX,err,drop) ...
  0 pca200e 00204808c0d0  0 ( 0 0 0 0 0 )  5 ( 251 0 349 0 0 )
Itf  MAC          ATM destination                          Status            Flags VPI/VCI Recv VPI/VCI

 device:
   internal name:		PCA-200E-0
   PCI bus number:		0
   device function:		0x0
   interrupt line:		5
   physical rambase:		0xfe800000
   virtual rambase:		0xc8804000
   HW address (ESI):		00:20:48:08:c0:d0
   Serial No:			49360
   active b1 small buffs:	39
   active b1 large buffs:	32
   active b2 small buffs:	28
   active b2 large buffs:	32
   card init state:		11


 cpqueue:
   heartbeat state:		0x024484b0
   firmware release:		4.1.12
   monitor release:		12.0
   media type:			MultiMode 155 Mbps OC3 SC


 monitor:
   boot status word:		0xce11feed
   version number:		12


 device statistics:
  PHY_4b5b:
     crc_header_errors:		         0
     framing_errors:		         0

  PHY_OC3:
     section_bip8_errors:	         0
     path_bip8_errors:		         0
     line_bip24_errors:		         0
     line_febe_errors:		         0
     path_febe_errors:		         0
     corr_hcs_errors:		         0
     ucorr_hcs_errors:		         0

   ATM:				     cells
     TX:			         0
     RX:			         0
     vpi out of range:		         0
     vpi no conn:		         0
     vci out of range:		         0
     vci no conn:		        42

   AAL0:			     cells
     TX:			         0
     RX:			         0
     dropped:			         0

   AAL4:
     SAR sublayer:		     cells
       TX:			         0
       RX:			         0
       dropped:			         0
       CRC errors:		         0
       protocol errors:		         0

     CS  sublayer:		      PDUs
       TX:			         0
       RX:			         0
       dropped:			         0
       protocol errors:		         0

   AAL5:
     SAR sublayer:		     cells
       TX:			       296
       RX:			       472
       dropped:			         0
       congestions:		         0

     CS  sublayer:		      PDUs
       TX:			       251
       RX:			       349
       dropped:			         0
       CRC errors:		         0
       protocol errors:		         0

   AUX:		       allocation failures
     small b1:			         0
     large b1:			         0
     small b2:			         0
     large b2:			         0
     RX PDUs:			         0

 receive carrier:			ON

 VCCs:
  c7c82600 0.5:5 
  c7c82400 0.16:5 
  c7988a00 0.96:5 
  c7280600 0.120:5 
Itf VPI VCI   AAL RX(PCR,Class) TX(PCR,Class)
  0   0     5 5         0 UBR         0 UBR   
  0   0    16 5         0 UBR         0 UBR   
Itf VPI VCI   State      Remote
  0   0    96 CONNECTED  4700058000570000000010fc0100e0a320588002
  0   0   120 CONNECTED  4700058000570000000010fc0100e0a320588002
Unassigned    LISTEN     

-- atmdiag output

labrata # atmdiag -z 0
Itf       TX_okay   TX_err    RX_okay   RX_err    RX_drop
  0 AAL0         0         0         0         0         0
    AAL5       253         0       352         0         0

-- sonetdiag output

labrata # sonetdiag -z 0
Section BIP errors:          7
Line BIP errors:     134513060
Path BIP errors:     134520108
Line FEBE:          1073924075
Path FEBE:          1074423500
Correctable HCS:     134515328
Uncorrectable HCS:   134514172
TX cells:           -1073744524
RX cells:           1073924025

-- Network info

labrata # ifconfig -a
atm0      Link encap:UNSPEC  
          inet addr:140.221.46.22  Mask:255.255.255.0
          UP RUNNING  MTU:9180  Metric:1
          RX packets:47 errors:0 dropped:0 overruns:0 frame:0
          TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 

eth0      Link encap:Ethernet  HWaddr 00:90:27:1A:8A:C9  
          inet addr:140.221.9.232  Bcast:140.221.11.255  Mask:255.255.252.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9756 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4876 errors:0 dropped:0 overruns:0 carrier:0
          collisions:694 txqueuelen:100 
          Interrupt:9 Base address:0xef20 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:58 errors:0 dropped:0 overruns:0 frame:0
          TX packets:58 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 

labrata # netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
140.221.9.232   0.0.0.0         255.255.255.255 UH        0 0          0 eth0
127.0.0.1       0.0.0.0         255.255.255.255 UH        0 0          0 lo
140.221.46.0    0.0.0.0         255.255.255.0   U         0 0          0 atm0
140.221.46.0    0.0.0.0         255.255.255.0   U         0 0          0 atm0
140.221.8.0     0.0.0.0         255.255.252.0   U         0 0          0 eth0
0.0.0.0         140.221.11.253  0.0.0.0         UG        0 0          0 eth0

-- Ping ATM and ethernet gateways

labrata # ping 140.221.46.253
PING 140.221.46.253 (140.221.46.253): 56 data bytes
64 bytes from 140.221.46.253: icmp_seq=0 ttl=255 time=12.5 ms
64 bytes from 140.221.46.253: icmp_seq=1 ttl=255 time=11.5 ms
64 bytes from 140.221.46.253: icmp_seq=2 ttl=255 time=10.9 ms
64 bytes from 140.221.46.253: icmp_seq=3 ttl=255 time=10.6 ms
64 bytes from 140.221.46.253: icmp_seq=4 ttl=255 time=10.2 ms
64 bytes from 140.221.46.253: icmp_seq=5 ttl=255 time=12.9 ms
64 bytes from 140.221.46.253: icmp_seq=6 ttl=255 time=12.6 ms
64 bytes from 140.221.46.253: icmp_seq=7 ttl=255 time=12.1 ms
64 bytes from 140.221.46.253: icmp_seq=8 ttl=255 time=11.5 ms
64 bytes from 140.221.46.253: icmp_seq=9 ttl=255 time=11.2 ms
64 bytes from 140.221.46.253: icmp_seq=10 ttl=255 time=10.8 ms
64 bytes from 140.221.46.253: icmp_seq=11 ttl=255 time=26.6 ms
64 bytes from 140.221.46.253: icmp_seq=12 ttl=255 time=9.9 ms
64 bytes from 140.221.46.253: icmp_seq=13 ttl=255 time=12.7 ms
64 bytes from 140.221.46.253: icmp_seq=14 ttl=255 time=12.1 ms
64 bytes from 140.221.46.253: icmp_seq=15 ttl=255 time=11.8 ms
64 bytes from 140.221.46.253: icmp_seq=16 ttl=255 time=11.4 ms
64 bytes from 140.221.46.253: icmp_seq=17 ttl=255 time=10.8 ms
64 bytes from 140.221.46.253: icmp_seq=18 ttl=255 time=10.5 ms
64 bytes from 140.221.46.253: icmp_seq=19 ttl=255 time=13.3 ms
64 bytes from 140.221.46.253: icmp_seq=20 ttl=255 time=12.7 ms
64 bytes from 140.221.46.253: icmp_seq=21 ttl=255 time=12.4 ms
64 bytes from 140.221.46.253: icmp_seq=22 ttl=255 time=12.0 ms
64 bytes from 140.221.46.253: icmp_seq=23 ttl=255 time=11.4 ms
64 bytes from 140.221.46.253: icmp_seq=24 ttl=255 time=11.1 ms
64 bytes from 140.221.46.253: icmp_seq=25 ttl=255 time=10.6 ms
64 bytes from 140.221.46.253: icmp_seq=26 ttl=255 time=10.1 ms
64 bytes from 140.221.46.253: icmp_seq=27 ttl=255 time=13.0 ms
64 bytes from 140.221.46.253: icmp_seq=28 ttl=255 time=12.6 ms
64 bytes from 140.221.46.253: icmp_seq=29 ttl=255 time=12.0 ms
64 bytes from 140.221.46.253: icmp_seq=30 ttl=255 time=11.7 ms
64 bytes from 140.221.46.253: icmp_seq=31 ttl=255 time=11.2 ms
64 bytes from 140.221.46.253: icmp_seq=32 ttl=255 time=10.7 ms
64 bytes from 140.221.46.253: icmp_seq=33 ttl=255 time=10.3 ms
64 bytes from 140.221.46.253: icmp_seq=34 ttl=255 time=9.9 ms
64 bytes from 140.221.46.253: icmp_seq=35 ttl=255 time=12.6 ms
64 bytes from 140.221.46.253: icmp_seq=36 ttl=255 time=12.3 ms
64 bytes from 140.221.46.253: icmp_seq=37 ttl=255 time=11.8 ms
64 bytes from 140.221.46.253: icmp_seq=38 ttl=255 time=11.3 ms
64 bytes from 140.221.46.253: icmp_seq=39 ttl=255 time=10.9 ms
64 bytes from 140.221.46.253: icmp_seq=40 ttl=255 time=13.8 ms
64 bytes from 140.221.46.253: icmp_seq=41 ttl=255 time=9.9 ms
64 bytes from 140.221.46.253: icmp_seq=42 ttl=255 time=12.9 ms
64 bytes from 140.221.46.253: icmp_seq=43 ttl=255 time=12.4 ms
64 bytes from 140.221.46.253: icmp_seq=44 ttl=255 time=11.9 ms
64 bytes from 140.221.46.253: icmp_seq=45 ttl=255 time=11.5 ms
64 bytes from 140.221.46.253: icmp_seq=46 ttl=255 time=11.1 ms
64 bytes from 140.221.46.253: icmp_seq=47 ttl=255 time=10.5 ms
64 bytes from 140.221.46.253: icmp_seq=48 ttl=255 time=10.2 ms
64 bytes from 140.221.46.253: icmp_seq=49 ttl=255 time=9.7 ms
64 bytes from 140.221.46.253: icmp_seq=50 ttl=255 time=71.4 ms
64 bytes from 140.221.46.253: icmp_seq=51 ttl=255 time=12.1 ms

--- 140.221.46.253 ping statistics ---
52 packets transmitted, 52 packets received, 0% packet loss
round-trip min/avg/max = 9.7/12.9/71.4 ms
labrata # ping 140.221.11.253
PING 140.221.11.253 (140.221.11.253): 56 data bytes
64 bytes from 140.221.11.253: icmp_seq=0 ttl=255 time=2.4 ms
64 bytes from 140.221.11.253: icmp_seq=1 ttl=255 time=1.2 ms
64 bytes from 140.221.11.253: icmp_seq=2 ttl=255 time=1.2 ms
64 bytes from 140.221.11.253: icmp_seq=3 ttl=255 time=1.0 ms
64 bytes from 140.221.11.253: icmp_seq=4 ttl=255 time=1.2 ms
64 bytes from 140.221.11.253: icmp_seq=5 ttl=255 time=2.5 ms
64 bytes from 140.221.11.253: icmp_seq=6 ttl=255 time=1.0 ms
64 bytes from 140.221.11.253: icmp_seq=7 ttl=255 time=1.1 ms
64 bytes from 140.221.11.253: icmp_seq=8 ttl=255 time=7.9 ms
64 bytes from 140.221.11.253: icmp_seq=9 ttl=255 time=1.1 ms
64 bytes from 140.221.11.253: icmp_seq=10 ttl=255 time=1.1 ms
64 bytes from 140.221.11.253: icmp_seq=11 ttl=255 time=1.3 ms
64 bytes from 140.221.11.253: icmp_seq=12 ttl=255 time=1.0 ms
64 bytes from 140.221.11.253: icmp_seq=13 ttl=255 time=1.3 ms

--- 140.221.11.253 ping statistics ---
14 packets transmitted, 14 packets received, 0% packet loss
round-trip min/avg/max = 1.0/1.8/7.9 ms

-- Output from /proc/atm after pinging

labrata # cat /proc/atm/*
IPitf TypeEncp Idle IP address      ATM address
atm0  SVC LLC    12 140.221.46.253  47.0005.8000570000000010FC01.00E0A3205880.02
Itf Type    ESI/"MAC"addr AAL(TX,err,RX,err,drop) ...
  0 pca200e 00204808c0d0  0 ( 0 0 0 1 0 )  5 ( 647 0 736 0 0 )
Itf  MAC          ATM destination                          Status            Flags VPI/VCI Recv VPI/VCI

 device:
   internal name:		PCA-200E-0
   PCI bus number:		0
   device function:		0x0
   interrupt line:		5
   physical rambase:		0xfe800000
   virtual rambase:		0xc8804000
   HW address (ESI):		00:20:48:08:c0:d0
   Serial No:			49360
   active b1 small buffs:	20
   active b1 large buffs:	32
   active b2 small buffs:	43
   active b2 large buffs:	32
   card init state:		11


 cpqueue:
   heartbeat state:		0x0c1365f9
   firmware release:		4.1.12
   monitor release:		12.0
   media type:			MultiMode 155 Mbps OC3 SC


 monitor:
   boot status word:		0xce11feed
   version number:		12


 device statistics:
  PHY_4b5b:
     crc_header_errors:		         0
     framing_errors:		         0

  PHY_OC3:
     section_bip8_errors:	         0
     path_bip8_errors:		         0
     line_bip24_errors:		         0
     line_febe_errors:		         0
     path_febe_errors:		         0
     corr_hcs_errors:		         0
     ucorr_hcs_errors:		         0

   ATM:				     cells
     TX:			         0
     RX:			         0
     vpi out of range:		         0
     vpi no conn:		         0
     vci out of range:		         0
     vci no conn:		        42

   AAL0:			     cells
     TX:			         0
     RX:			         0
     dropped:			         0

   AAL4:
     SAR sublayer:		     cells
       TX:			         0
       RX:			         0
       dropped:			         0
       CRC errors:		         0
       protocol errors:		         0

     CS  sublayer:		      PDUs
       TX:			         0
       RX:			         0
       dropped:			         0
       protocol errors:		         0

   AAL5:
     SAR sublayer:		     cells
       TX:			      1259
       RX:			      1549
       dropped:			         1
       congestions:		         1

     CS  sublayer:		      PDUs
       TX:			       900
       RX:			      1088
       dropped:			         0
       CRC errors:		         1
       protocol errors:		         0

   AUX:		       allocation failures
     small b1:			         0
     large b1:			         0
     small b2:			         0
     large b2:			         0
     RX PDUs:			         0

 receive carrier:			OFF!

 VCCs:
  c7c82600 0.5:5 
  c7c82400 0.16:5 
  c7988a00 0.141:5 
Itf VPI VCI   AAL RX(PCR,Class) TX(PCR,Class)
  0   0     5 5         0 UBR         0 UBR   
  0   0    16 5         0 UBR         0 UBR   
Itf VPI VCI   State      Remote
  0   0   141 CONNECTED  4700058000570000000010fc0100e0a320588002
Unassigned    LISTEN     

-- atmdiag output

labrata # atmdiag -z 0
Itf       TX_okay   TX_err    RX_okay   RX_err    RX_drop
  0 AAL0         0         0         0         1         0
    AAL5       650         0       740         0         0

-- sonetdiag output

labrata # sonetdiag -z 0
Section BIP errors:          7
Line BIP errors:     134513060
Path BIP errors:     134520108
Line FEBE:          1073924075
Path FEBE:          1074423500
Correctable HCS:     134515328
Uncorrectable HCS:   134514172
TX cells:           -1073744524
RX cells:           1073924025
labrata # exit
exit

Script done on Tue Mar 23 16:04:23 1999

-- Output from dmesg

pca200e: FORE Systems PCA-200E driver v0.3 - Uwe.Dannowski@inf.tu-dresden.de
pca200e: PCA-200E found at 0xfe800000, IRQ 5
pca200e: Rev D, S/N: 49360, ESI: 00:20:48:08:c0:d0

atm_connect (TX: cl 1,bw 0-0,sdu 1000; RX: cl 1,bw 0-0,sdu 1000,AAL 5)
atm_connect (TX: cl 1,bw 0-0,sdu 484; RX: cl 1,bw 0-0,sdu 484,AAL 5)
atm_connect (TX: cl 1,bw 0-353208,sdu 9188; RX: cl 1,bw 0-353208,sdu 9188,AAL 5)
atm_connect (TX: cl 1,bw 0-260,sdu 9188; RX: cl 1,bw 0-260,sdu 9188,AAL 5)



Home | Main Index | Thread Index