Wireshark mailing list archives
Re: New packet list - out of memory?
From: Jeff Morriss <jeff.morriss.ws () gmail com>
Date: Tue, 06 Oct 2009 15:30:24 -0400
Anders Broman wrote:
Should we have a new allocator without the canaries?I think either the current se_ allocations implementation need to be changed Or the function removed. The result where WIRESHARK_DEBUG_SE_NO_CHUNKS=T And loading is faster is puzzling.
Trying that on Linux (64-bit) with a capture file of mine, I get (all with SVN 30347, new packet list): (no env settings) CPU time ("user time" from 'times'): 40.491 seconds VSZ (from ps aux): 995,644 With WIRESHARK_DEBUG_SE_NO_CHUNKS set: CPU time: 43.048 seconds VSZ: 1,128,076 With WIRESHARK_DEBUG_EP_NO_CHUNKS and WIRESHARK_DEBUG_SE_NO_CHUNKS set: CPU time: 48.536 seconds VSZ: 1,120,308 (It's a bit odd that memory usage goes up when chunks are off.) Maybe Windows doesn't like big (10Mb) allocations? Another thing is that turning off chunks also turns off canaries. Don't know why that would make a difference in loading time. I can't imagine generating a few random numbers for each chunk would be that expensive. ___________________________________________________________________________ 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:
- Re: New packet list - out of memory?, (continued)
- Re: New packet list - out of memory? Anders Broman (Oct 05)
- Re: New packet list - out of memory? Bill Meier (Oct 05)
- Re: New packet list - out of memory? Bill Meier (Oct 05)
- Re: New packet list - out of memory? Anders Broman (Oct 06)
- Re: New packet list - out of memory? didier (Oct 06)
- Re: New packet list - out of memory? Anders Broman (Oct 07)
- Re: New packet list - out of memory? didier (Oct 08)
- Re: New packet list - out of memory? Anders Broman (Oct 08)
- Re: New packet list - out of memory? Bill Meier (Oct 05)
- Re: New packet list - out of memory? Anders Broman (Oct 05)
- Re: New packet list - out of memory? Anders Broman (Oct 06)
- Re: New packet list - out of memory? Jeff Morriss (Oct 06)
- Re: New packet list - out of memory? didier (Oct 06)