On Nov 26, 2012, at 12:58 PM, abhinav narain wrote:
> @Guy,
> Basically, I was adding my own header (instead of radiotap) in kernel and
> processing it in userland with my own code. Basically I wrote my own pcap
> for that.
For your own radio header, what you'd need would be:
your own
@Guy,
Basically, I was adding my own header (instead of radiotap) in kernel and
processing it in userland with my own code. Basically I wrote my own pcap
for that.
Since, I did not get the performance, Now I have added extra fields in
radiotap.
But I still see high CPU usage.
Its interesting that y
> hi,
> I just checked the two mechanism :
> (1) Using mmap to fetch packets from kernel to userspace
> (2) Using recvfrom() call to fetch packets
>
> I see top reports
> (1) 34% memory 20% cpu usage
> (2) 21% memory 7% cpu usage !
It is worth remembering that the cpu usage reported by top isn'
On Nov 5, 2012, at 11:03 AM, abhinav narain wrote:
> I just checked the two mechanism :
> (1) Using mmap to fetch packets from kernel to userspace
> (2) Using recvfrom() call to fetch packets
>
> I see top reports
> (1) 34% memory 20% cpu usage
> (2) 21% memory 7% cpu usage !
>
> I wanted a p
hi,
I just checked the two mechanism :
(1) Using mmap to fetch packets from kernel to userspace
(2) Using recvfrom() call to fetch packets
I see top reports
(1) 34% memory 20% cpu usage
(2) 21% memory 7% cpu usage !
I wanted a performance improvement using mmap but I am slowing my small
router
On Mar 3, 2011, at 10:21 PM, 吴仁科 wrote:
> Does the latest libpcap release use mmap functionality?
libpcap 1.1.x supports the memory-mapped capture mechanisms for regular network
adapters on both Linux and FreeBSD, as well as the memory-mapped capture
mechanism for USB on Linux.
-
This is the
Does the latest libpcap release use mmap functionality?
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.
you can use the gcc -E option to check which part of which part of source
code is compiled.
Tao
On Fri, Aug 14, 2009 at 10:02 AM, Sashan Govender <
sashan.goven...@exinda.com> wrote:
> Hi
>
> Will libpcap 1.0.0 use mmap packets if the linux kernel has
> CONFIG_PACKET_MMAP
> enabled? As far as
On Aug 13, 2009, at 7:02 PM, Sashan Govender wrote:
Will libpcap 1.0.0 use mmap packets if the linux kernel has
CONFIG_PACKET_MMAP
enabled?
If it was built on the same version of the OS as the one on which it's
running, yes; that should be the case, for example, with versions of
libpcap
Hi
Will libpcap 1.0.0 use mmap packets if the linux kernel has CONFIG_PACKET_MMAP
enabled? As far as I can tell, there's code in libpcap to use the mmaped sockets
but it's not used unless HAVE_PACKET_RING is defined?
Thanks
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to u
PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dmitry
Rubinstein
Sent: Monday, January 08, 2007 11:56 AM
To: tcpdump-workers@lists.tcpdump.org
Subject: [tcpdump-workers] mmap-ed tcpdump and gigabit ethernet
Greetings, all!
I would like to have an efficient capturing solution for a gigabit
Greetings, all!
I would like to have an efficient capturing solution for a gigabit
network. It seems as if Phil Wood's libpcap should do the work. However,
I am not sure as for its support for the jumbo frames. When in MMAP
mode, this version of tcpdump doesn't seem to cope with -s 0 or -s N for
12 matches
Mail list logo