Memshrink: Investigate sharing font-related caches among Gecko processes
Categories
(Core :: Graphics, enhancement)
Tracking
()
People
(Reporter: cjones, Unassigned)
References
(Depends on 3 open bugs, Blocks 2 open bugs)
Details
(Whiteboard: [MemShrink:P2][tech-p2][layout:p1])
Comment 1•14 years ago
|
||
Comment 2•14 years ago
|
||
Comment 3•14 years ago
|
||
Comment 4•13 years ago
|
||
Reporter | ||
Updated•12 years ago
|
Updated•12 years ago
|
Reporter | ||
Comment 5•12 years ago
|
||
Comment 6•12 years ago
|
||
Updated•12 years ago
|
Comment 7•12 years ago
|
||
Comment 8•12 years ago
|
||
Comment 9•12 years ago
|
||
Comment 10•11 years ago
|
||
Updated•11 years ago
|
Comment 11•11 years ago
|
||
Comment 12•11 years ago
|
||
Comment 13•11 years ago
|
||
Comment 14•11 years ago
|
||
Updated•9 years ago
|
Updated•6 years ago
|
Comment 15•6 years ago
|
||
Comment 16•6 years ago
|
||
Comment 17•6 years ago
|
||
Comment 18•6 years ago
|
||
Comment 19•6 years ago
|
||
Comment 20•6 years ago
|
||
Comment 21•6 years ago
|
||
Comment 22•6 years ago
|
||
Comment 23•6 years ago
|
||
Comment 24•6 years ago
|
||
Comment 25•6 years ago
|
||
Comment 26•6 years ago
|
||
Comment 27•6 years ago
|
||
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Updated•6 years ago
|
Updated•5 years ago
|
Comment 31•5 years ago
|
||
The shared-fontlist work is part of this, so yes, that's in progress; bug 1533462 intends to start preffing it on once the dependencies there are resolved.
There's no current work on sharing the fonts' shaped-word caches between processes, which would be the other potential memory win (although it's unclear how big of a win in practice, and I'm pretty doubtful it could be made sufficiently performant).
Comment 32•4 years ago
|
||
There's no obvious and easily attainable memshrink wins identified here. I don't think fission team needs to track what's left.
Comment 33•4 years ago
|
||
Jonathan, it'd help to know what could be the memory win with this work. Would you possibly have time to investigate this? Or maybe you already have findings to share? :)
Updated•2 years ago
|
Comment 34•1 year ago
|
||
I think it's time to close this. The font-list metadata (lists of font families & faces with their properties, and character coverage) is now shared across processes (bug 1514869 and related work).
The memory win will depend greatly on the number/size of installed fonts, the number of processes we're running, and on the font usage by content. On my MBPro, I'm seeing an initial 200K reduction in the size of each preallocated content process. The win will be larger -- potentially as much as multiple MB/process -- as content is rendered, if large fonts (e.g. for CJK usage) are involved.
Description
•