[Webkit-unassigned] [Bug 49659] UpdateChunk's need too many memory allocation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 24 06:23:37 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=49659


Balazs Kelemen <kbalazs at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #74117|0                           |1
        is obsolete|                            |




--- Comment #14 from Balazs Kelemen <kbalazs at webkit.org>  2010-11-24 06:23:37 PST ---
Created an attachment (id=74754)
 --> (https://bugs.webkit.org/attachment.cgi?id=74754&action=review)
darft patch for feedback - pooling of chunks

I am uploading this for feedback, this is not ready. The idea is to reuse chunks for requests with the same or a little bit smaller size.
The policy of releasing the chunks is time oriented: release a chunk if it was not used in a given time interval. This means that reusing
takes effect when we have a heavy load. I have reworked UpdateChunk to be a common class with only 2 platform specific methods. This was
done by using SharedMemory instead of the platform specific shared memory API-s. I have only built that and testedon Qt so the EWS-s will
likely be red. I have tested it on Qt-linux and the MiniBrowser was working well. The characteristics of shared memory usage was the
expected according to ipcs (you can check this by 'while [1]; do ipcs; sleep 1; done').

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list