Wireshark mailing list archives
Re: Reduce memory consumption by re-reading data from file for reassembled packets.
From: Jeff Morriss <jeff.morriss.ws () gmail com>
Date: Wed, 03 Nov 2010 15:11:50 -0400
Guy Harris wrote:
On Nov 3, 2010, at 11:25 AM, Jakub Zawadzki wrote:
Btw. it's like reinventing swap, so if you want to use your disk as memory, it's enough to create some big file and do mkswap & swapon. (Well maybe on 32-bit systems it's not so easy...)Yes - adding swap space (which happens automatically in a fashion similar to the one you describe in the UN*X running on the machine on which I'm typing this) won't make a 32-bit address space bigger than 2^32 bytes.
And doing "our own swapping" has the distinct advantage that while clicking on a packet (which was reassembled and requires some non-trivial amount of I/O to access) might be slow sometimes, the rest of the UI--and indeed the rest of your computer--remains functional, something that can't be said if you're swapping heavily. ___________________________________________________________________________ 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: Reduce memory consumption by re-reading data from file for reassembled packets. Jeff Morriss (Nov 01)
- Re: Reduce memory consumption by re-reading data from file for reassembled packets. Anders Broman (Nov 01)
- Re: Reduce memory consumption by re-reading data from file for reassembled packets. Anders Broman (Nov 01)
- Re: Reduce memory consumption by re-reading data from file for reassembled packets. Jeff Morriss (Nov 02)
- Re: Reduce memory consumption by re-reading data from file for reassembled packets. Anders Broman (Nov 03)
- Re: Reduce memory consumption by re-reading data from file for reassembled packets. Jakub Zawadzki (Nov 03)
- Re: Reduce memory consumption by re-reading data from file for reassembled packets. Guy Harris (Nov 03)
- Re: Reduce memory consumption by re-reading data from file for reassembled packets. Jeff Morriss (Nov 03)
- Re: Reduce memory consumption by re-reading data from file for reassembled packets. Jakub Zawadzki (Nov 03)
- Re: Reduce memory consumption by re-reading data from file for reassembled packets. Anders Broman (Nov 03)
- Re: Reduce memory consumption by re-reading data from file for reassembled packets. Jeff Morriss (Nov 03)
- Re: Reduce memory consumption by re-reading data from file for reassembled packets. Jeff Morriss (Nov 03)
- Re: Reduce memory consumption by re-reading data from file for reassembled packets. Anders Broman (Nov 01)
- Re: Reduce memory consumption by re-reading data from file for reassembled packets. Jeff Morriss (Nov 03)
- Re: Reduce memory consumption by re-reading data from file for reassembled packets. Jakub Zawadzki (Nov 03)
- Re: Reduce memory consumption by re-reading data from file for reassembled packets. Jeff Morriss (Nov 03)
- Re: Reduce memory consumption by re-reading data from file for reassembled packets. Guy Harris (Nov 03)
- Re: Reduce memory consumption by re-reading data from file for reassembled packets. Jakub Zawadzki (Nov 03)
- Re: Reduce memory consumption by re-reading data from file for reassembled packets. Guy Harris (Nov 03)