Open Bug 1545578 Opened 7 years ago Updated 4 years ago

Investigate loading early libraries with RTLD_DEEPBIND for WebRender talos wins

Categories

(Core :: Graphics: WebRender, enhancement, P3)

Unspecified
Android
enhancement

Tracking

()

Performance Impact low

People

(Reporter: alexical, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: perf)

This is on Linux, though it's unclear right now if it might have similar wins on Android. I've been toying around in nsXPCOMGlue lately investigating whether our ReadAheadLib that we do before loading libraries is correct or not, and in looking at dlopen I stumbled on the RTLD_DEEPBIND flag. I'm not sure what prompted me to try it, but I ran it through some perf tests on try and these are the results. (~5% win on tsvg_static for linux64-qr, and 3% win on tsvgx for linux64-qr, traded for a 2% loss on rasterflood_gradient on linux64). At this stage I'm really not certain why this difference is present, but it seems worth looking into.

Keywords: perf
Whiteboard: [qf]
Blocks: wr-perf
Priority: -- → P3
Whiteboard: [qf] → [qf:investigate]
OS: Unspecified → Android
Performance Impact: --- → ?
Whiteboard: [qf:investigate]
Performance Impact: ? → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.