Linux: Evaluate only using fontconfig in the parent process
Categories
(Core :: Graphics: Text, enhancement, P3)
Tracking
()
Performance Impact | low |
People
(Reporter: jesup, Unassigned)
References
(Blocks 3 open bugs)
Details
(Keywords: memory-footprint, Whiteboard: [MemShrink:P1][gfx-noted][sb+][overhead:>2MB])
Reporter | ||
Updated•8 years ago
|
Updated•8 years ago
|
Comment 1•8 years ago
|
||
Updated•8 years ago
|
Updated•7 years ago
|
![]() |
||
Updated•7 years ago
|
Comment 2•7 years ago
|
||
Comment 3•7 years ago
|
||
Comment 4•7 years ago
|
||
Updated•7 years ago
|
Comment 5•7 years ago
|
||
Comment 6•7 years ago
|
||
Comment 7•7 years ago
|
||
Comment 8•7 years ago
|
||
Comment 9•7 years ago
|
||
Comment 11•7 years ago
|
||
Comment 12•7 years ago
|
||
Comment 13•7 years ago
|
||
Comment 14•7 years ago
|
||
Updated•7 years ago
|
Comment 15•7 years ago
|
||
Comment 16•7 years ago
|
||
Pretty sure this is being worked on in bug 1514869.
Comment 17•7 years ago
|
||
(In reply to Eric Rahm [:erahm] (ni? for phab reviews) from comment #16)
Pretty sure this is being worked on in bug 1514869.
According to Jonathan Kew [:jfkthame] in an email thread that's been going on, the current work would share data to save memory but at least in some cases content processes will still need to access the OS font APIs directly. I don't know offhand how the main thread jank problem on Linux would be affected.
Comment 18•7 years ago
|
||
It was suggested that this might be related to https://bugzilla.mozilla.org/show_bug.cgi?id=1468889 If so I'm hoping this fix can reach the next Firefox version and close that as well.
I experience a roughly 1 second delay whenever opening a new tab, if my number of existing tabs is lower than the maximum number of processes Firefox may spawn. The analysis I submitted at the time suggested this might be related to libfontconfig.
Comment 19•6 years ago
|
||
Eric, is the memory part of this mostly solved now due to bug 1514869? Can we downgrade this for MemShrink (and put a MemShrink:P1 tag on the other bug) or remove it entirely?
Updated•6 years ago
|
Comment 20•6 years ago
|
||
(In reply to Andrew McCreight [:mccr8] from comment #19)
Eric, is the memory part of this mostly solved now due to bug 1514869? Can we downgrade this for MemShrink (and put a MemShrink:P1 tag on the other bug) or remove it entirely?
I'm not totally sure, there might be paths where we load fontconfig in the content process which could be problematic. Jonathan, is there still work to be done here or are things as good as they're going to get?
Comment 21•6 years ago
|
||
Note that the shared-memory implementation from bug 1514869 is not yet preffed-on, so unless you explicitly add gfx.e10s.font-list.shared=true to about:config, you won't see the effect of it.
There's also work to be done (bug 1552941) to enhance the fontconfig integration; how much of that will need to run in the content process, and how much can be pushed into the parent, is not completely clear to me yet. So it's possible some of the wins we get when bug 1514869 is preffed on might be partially reversed there.
So - bug 1514869 (when preffed on) should give a noticeable win, but this may not be the end of the story. Work still ongoing.
Updated•5 years ago
|
Updated•5 years ago
|
Updated•4 years ago
|
Updated•3 years ago
|
Description
•