Re: Wireless capture: select() and dropped packets

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

 



David Dillow wrote:
> > Try libpcap.
> 
> And if you want to maximize the speed, use one modified to use mmap
> rings, like http://public.lanl.gov/cpw/

Yes, using mmap can make a huge difference.

I've captured 99% of 100Mbit wired ethernet at line speeds with close
to minimum size packets with mmap, but on the same machine getting
only about 20% of the packets using tcpdump (which uses libpcap).

-- Jamie
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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