[3310] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Locked Network Buffers, Emerging Technologies, and Dummy modules

daemon@ATHENA.MIT.EDU (Andrew Stanley-Jones)
Tue Jun 18 19:54:53 1996

Date: 	Tue, 18 Jun 1996 13:29:14 -0600 (MDT)
From: Andrew Stanley-Jones <asj@cban.com>
To: alan@lxorguk.ukuu.org.uk
cc: dennis@etinc.com, linux-net@vger.rugers.edu

Hi,

	I've been dealing with Dennis at Emerging Technologies trying to
solve a problem I began having after installing his Sync card and using
the Dummy module under linux 1.2.13.

Desc:

cban.cban.com routes a 64k sync ISDN line.  It also servers WWW traffic
for 7 virtual domains.  (Apache httpd)


Problem: 

As the machine runs it accumulates locked network buffers.  At the same
time the "Total free while locked events" matches the number of locked
network buffers exactly. 


Trouble shooting:

For the virtual domains I simply load the dummy module 7 times. 
(/sbin/insmod dummy -o dummy0).  I setup a test machine running under very
similar conditions, except without Emerging Tech's sync card, and there
were no problems.  Ran for a day and served 100,000 hits. No locked
buffers, nothing. 

It looked like the dummy modules were ok so trying to isolate the problem
I moved the virtual WWW servers off of cban.cban.com on the test machine. 
When I did this though, all the locked network buffers stopped growing.

So it seemed that Emerging Technologies driver was working ok by itself.

With the combination of Emerging Tech's card and the dummy modules the
problem appears.  

Dennis can't solve the problem, and he doesn't think it's his driver. He 
beleives it's something to do with the dummy modules and how they 
operate.

I've tried 2.0.0 as well, and the problem seemed to be there as well. 
Unfortunatly, I cannot provide much information because Dennis' beta
module for 2.0.0 crashes within a couple a few minutes.  (nor do I know 
if IP aliases solve the problem)

If you have any ideas, or know how to solve the problem it would be 
apprecaited.  If you need more information, please let me know.

Thank you, Andrew


Details:

Hardware:

486DX2/66
24 megs of memory 
1 IDE HD
1 IDE Cdrom
1 SCSI HD (controller aha152x)
1 floppy
1 floppy tape drive
3c509a ethernet
ET5025/16 Sync card

Software: 

Slackware 3.0 
Linux 1.2.13 (aout, or ELF no diffrence)
GCC 2.7.2
Libc 5.2.18
Apache/1.1b2 
Harvest (cached, broker, gatherer)

Sample log message:

Jun 12 19:35:31 cban kernel: Networking buffers in use          : 1133
Jun 12 19:35:31 cban kernel: Memory committed to network buffers: 781242
Jun 12 19:35:31 cban kernel: Network buffers locked by drivers  : 1008
Jun 12 19:35:31 cban kernel: Total network buffer allocations   : 11037551
Jun 12 19:35:31 cban kernel: Total failed network buffer allocs : 0
Jun 12 19:35:31 cban kernel: Total free whilelocked events      : 1008

Jun 13 19:40:01 cban kernel: Networking buffers in use          : 1229
Jun 13 19:40:01 cban kernel: Memory committed to network buffers: 867919
Jun 13 19:40:01 cban kernel: Network buffers locked by drivers  : 1184
Jun 13 19:40:01 cban kernel: Total network buffer allocations   : 12015758
Jun 13 19:40:01 cban kernel: Total failed network buffer allocs : 0
Jun 13 19:40:01 cban kernel: Total free while locked events     : 1183

Jun 14 11:37:32 cban kernel: Networking buffers in use          : 1389
Jun 14 11:37:32 cban kernel: Memory committed to network buffers: 977073
Jun 14 11:37:32 cban kernel: Network buffers locked by drivers  : 1290
Jun 14 11:37:32 cban kernel: Total network buffer allocations   : 12747266
Jun 14 11:37:32 cban kernel: Total failed network buffer allocs : 0
Jun 14 11:37:32 cban kernel: Total free while locked events     : 1289


lsmod:

Module:        #pages:  Used by:
et5025test        50
dummy6             1
dummy5             1
dummy4             1
dummy3             1
dummy2             1
dummy1             1
dummy0             1   

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
          UP BROADCAST LOOPBACK RUNNING  MTU:2000  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0
          TX packets:1447 errors:0 dropped:0 overruns:0

eth0      Link encap:10Mbps Ethernet  HWaddr 00:60:8C:53:AD:FA
          inet addr:204.209.161.100  Bcast:204.209.161.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11362 errors:0 dropped:0 overruns:0
          TX packets:11662 errors:0 dropped:0 overruns:0
          Interrupt:12 Base address:0x300
                                                      
dummy0    Link encap:10Mbps Ethernet  HWaddr 00:00:00:00:00:00
          inet addr:204.209.160.6  Bcast:204.209.160.255  Mask:255.255.255.0
          UP BROADCAST RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0
          TX packets:0 errors:0 dropped:0 overruns:0
          Interrupt:0 Base address:0x0                 

<SNIP>

ets0      Link encap:Point-Point Protocol
          inet addr:206.75.11.86  P-t-P:206.75.11.85  Mask:255.255.255.0
          UP POINTOPOINT RUNNING  MTU:1500  Metric:1
          RX packets:14400 errors:0 dropped:0 overruns:0
          TX packets:14470 errors:0 dropped:0 overruns:0             

---
Andrew Stanley-Jones                Canadian Business Advertising Network
WWW: http://www.cban.com          Tel: (403) 486-7783 Fax: (403) 484-6004





home help back first fref pref prev next nref lref last post