Wireshark mailing list archives
Re: recv/drop numbers in pcapng files
From: Guy Harris <guy () alum mit edu>
Date: Wed, 25 Apr 2012 12:28:55 -0700
On Apr 25, 2012, at 12:06 PM, Michael Tuexen wrote:
When using threads, we run a thread for each source. Once the packet has been read it is stored in a queue.
I'm assuming here that "stored in a queue" doesn't mean "the raw packet contents are copied", as that would add to dumpcap's memory bandwidth requirements and reduce its ability to avoid dropping packets, relative to the 1.6.x version of dumpcap; if the raw packet contents *are* copied, that's a bug. Given that, I would be inclined to dynamically allocate the queue elements, which should be small as they don't have to include packet data, so that packets are dropped by the capture mechanism because dumpcap can't read them fast enough, but not by dumpcap itself. If that's impossible, I would add "dropped by the capture mechanism" and "dropped by dumpcap" together and use that as a count of packets dropped. ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- recv/drop numbers in pcapng files Michael Tuexen (Apr 25)
- Re: recv/drop numbers in pcapng files Anders Broman (Apr 25)
- Re: recv/drop numbers in pcapng files Michael Tuexen (Apr 25)
- Re: recv/drop numbers in pcapng files Guy Harris (Apr 25)
- Re: recv/drop numbers in pcapng files Michael Tuexen (Apr 25)
- Re: recv/drop numbers in pcapng files Guy Harris (Apr 25)
- Re: recv/drop numbers in pcapng files Michael Tuexen (Apr 25)
- Re: recv/drop numbers in pcapng files Guy Harris (Apr 25)
- Re: recv/drop numbers in pcapng files Michael Tuexen (Apr 25)
- Re: recv/drop numbers in pcapng files Michael Tuexen (Apr 25)
- Re: recv/drop numbers in pcapng files Anders Broman (Apr 25)