tcpdump mailing list archives

Re: tcpdump vs libpcap : CPU usage shooting high for two simultaneous captures on wireless monitor interfaces


From: abhinav narain <abhinavnarain10 () gmail com>
Date: Thu, 18 Apr 2013 08:37:29 -0400

hi Guy,

What happens if you eliminate that (and any code paths that eliminating
that breaks)?

That seems to be the biggest difference between your code and tcpdump's
code (both your program and tcpdump use pcap_loop() as their main loops).


I turned off SIGPROCMASK stuff ... it did not help bringing down the CPU
utilization :'(
-
Abhinav
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


Current thread: