Home page logo

wireshark logo Wireshark mailing list archives

Re: Filebacked-tvbuffs : GSoC'13
From: Ambarisha B <b.ambarisha () gmail com>
Date: Thu, 18 Apr 2013 23:31:41 +0530

On Thu, Apr 18, 2013 at 9:25 PM, Jeff Morriss <jeff.morriss.ws () gmail com>wrote:

  The real problem (which I thought file-backed-tvbuffs might solve) would
be when dissectors have to make copies of tvbuffs in order to do, for
example, reassembly.  Those copies are malloc()'d and it is believed that,
in some situations, they account for a lot of Wireshark's memory usage.

Yeah, you did suggest the idea in that context first. Guy also mentioned a
couple of times that the reassembly is retained in wireshark's address
space. I just used the views as a lead to get into the code first time.

I doubt there's much in the way of a bug to look at; I think to get your
hands dirty you'd have to start digging into how, for example, the tvbuffs
and reassembly work and see if it can be put together.

Indeed, I was going through the reassembly code only today. I'll also see
if I can get a profile from massif as Evan suggested.

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

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]