Re: 2.2.18/kernel-turbopacket.dif - 2.4.2/PACKET_RX_RING

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

 



Hello again,

I have found that tcpdump, on FDDI, using mmap ring buffer in libpcap,
on 2.4.2 works like a champ if Symmetric multi-processing support is
turned off.

It loses it's shared memory when run on 2.4.2 SMP.  Our fddi can get
pretty busy.  But, it's only around 40 to 50% utilization when it dies.
And it usually dies after about 250,000 to  300,000 packets. 

I suspect some problem in defxx.c.  It has changed quite a bit since the
2.2.18 days when it worked on Symmetric multi-processing kernel.  It 
didn't work at first.  But, was tweaked for multi-processing, and worked
fine for simple applications that did not fork a lot of children (one
of which would abscond with the shared memory).

But, my tcpdump doesn't do any forking around.

Help?

-- 
Phil Wood, cpw@lanl.gov

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux