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:
- tcpdump vs libpcap : CPU usage shooting high for two simultaneous captures on wireless monitor interfaces abhinav narain (Apr 17)
- Re: tcpdump vs libpcap : CPU usage shooting high for two simultaneous captures on wireless monitor interfaces Guy Harris (Apr 17)
- Re: tcpdump vs libpcap : CPU usage shooting high for two simultaneous captures on wireless monitor interfaces abhinav narain (Apr 18)
- Re: tcpdump vs libpcap : CPU usage shooting high for two simultaneous captures on wireless monitor interfaces Guy Harris (Apr 18)
- Re: tcpdump vs libpcap : CPU usage shooting high for two simultaneous captures on wireless monitor interfaces abhinav narain (Apr 18)
- Re: tcpdump vs libpcap : CPU usage shooting high for two simultaneous captures on wireless monitor interfaces Guy Harris (Apr 18)
- Re: tcpdump vs libpcap : CPU usage shooting high for two simultaneous captures on wireless monitor interfaces abhinav narain (Apr 18)
- Re: tcpdump vs libpcap : CPU usage shooting high for two simultaneous captures on wireless monitor interfaces abhinav narain (Apr 18)
- Re: tcpdump vs libpcap : CPU usage shooting high for two simultaneous captures on wireless monitor interfaces abhinav narain (Apr 18)
- Re: tcpdump vs libpcap : CPU usage shooting high for two simultaneous captures on wireless monitor interfaces abhinav narain (Apr 19)
- Re: tcpdump vs libpcap : CPU usage shooting high for two simultaneous captures on wireless monitor interfaces abhinav narain (Apr 19)
- Re: tcpdump vs libpcap : CPU usage shooting high for two simultaneous captures on wireless monitor interfaces abhinav narain (Apr 24)
- Re: tcpdump vs libpcap : CPU usage shooting high for two simultaneous captures on wireless monitor interfaces abhinav narain (Apr 18)
- Re: tcpdump vs libpcap : CPU usage shooting high for two simultaneous captures on wireless monitor interfaces Guy Harris (Apr 17)