Content processes on Android should disable small malloc randomization
Categories
(Core :: DOM: Content Processes, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox133 | --- | fixed |
People
(Reporter: gerard-majax, Assigned: gerard-majax)
References
(Blocks 1 open bug)
Details
(Keywords: perf-alert, Whiteboard: [sp3])
Attachments
(1 file, 1 external file)
|
1.22 KB,
patch
|
Details | Diff | Splinter Review |
From backout https://bugzilla.mozilla.org/show_bug.cgi?id=1917844#c4
Investigating shows that even just this assertion breaks when applied without the whole forkserver stack, so we have an issue on Android, content processes do not apply malloc options
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
This seems to be enough, mike, does that sounds about right? it looks like we cannot rely on XRE_* from there
| Assignee | ||
Comment 2•2 years ago
|
||
| Assignee | ||
Updated•2 years ago
|
Comment 4•2 years ago
|
||
Backed out for causing failures at Sandbox.cpp.
Backout link: https://hg.mozilla.org/integration/autoland/rev/29f4b90ad4d88cea4bf520db602bc2726d921690
Failure log: https://treeherder.mozilla.org/logviewer?job_id=479026804&repo=autoland&lineNumber=8269
Updated•2 years ago
|
Comment 6•2 years ago
|
||
| bugherder | ||
Comment 7•2 years ago
|
||
Seems to improve SP3 a bit (even though the numbers are noisy)
0.3% overall
Some improvements on sub-benchamrks:
4.6% on TodoMVC-JavaScript-ES6-Webpack-Complex-DOM/CompletingAllItems/Sync
2.4% on React-Stockcharts-SVG/PanTheChart/total
In general, SVG and Complex-DOM benchamarks on SP3 got good improvements with this patch.
| Assignee | ||
Comment 8•2 years ago
|
||
(In reply to Mayank Bansal from comment #7)
Seems to improve SP3 a bit (even though the numbers are noisy)
0.3% overall
Some improvements on sub-benchamrks:
4.6% on TodoMVC-JavaScript-ES6-Webpack-Complex-DOM/CompletingAllItems/Sync2.4% on React-Stockcharts-SVG/PanTheChart/total
In general, SVG and Complex-DOM benchamarks on SP3 got good improvements with this patch.
I was expecting a bit more :(
Comment 9•2 years ago
|
||
(In reply to :gerard-majax from comment #8)
I was expecting a bit more :(
Dont quote me on this yet, but looks like the perf system recorded larger improvements
Comment 10•2 years ago
|
||
(In reply to Pulsebot from comment #5)
Pushed by alissy@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f923d8af41b9
Properly set small alloc randomization on Android content processes as well
r=jld
Perfherder has detected a browsertime performance change from push f923d8af41b965383bc809665f5efd0d702fdfed.
Improvements:
| Ratio | Test | Platform | Options | Absolute values (old vs new) |
|---|---|---|---|---|
| 8% | speedometer3 TodoMVC-JavaScript-ES6-Webpack-Complex-DOM/DeletingAllItems/Sync | android-hw-a55-14-0-aarch64-shippable | webrender | 50.11 -> 46.21 |
| 8% | speedometer3 TodoMVC-JavaScript-ES6-Webpack-Complex-DOM/CompletingAllItems/Sync | android-hw-a55-14-0-android-aarch64-shippable-qr | webrender | 55.79 -> 51.48 |
| 8% | speedometer3 TodoMVC-JavaScript-ES6-Webpack-Complex-DOM/DeletingAllItems/Sync | android-hw-a55-14-0-aarch64-shippable | webrender | 50.12 -> 46.29 |
| 7% | speedometer3 TodoMVC-JavaScript-ES6-Webpack-Complex-DOM/CompletingAllItems/Sync | android-hw-a55-14-0-android-aarch64-shippable-qr | webrender | 56.17 -> 52.10 |
| 7% | speedometer3 TodoMVC-JavaScript-ES6-Webpack-Complex-DOM/DeletingAllItems/Sync | android-hw-a55-14-0-android-aarch64-shippable-qr | webrender | 49.77 -> 46.21 |
| ... | ... | ... | ... | ... |
| 2% | speedometer3 React-Stockcharts-SVG/PanTheChart/total | android-hw-a55-14-0-android-aarch64-shippable-qr | webrender | 50.24 -> 49.21 |
Details of the alert can be found in the alert summary, including links to graphs and comparisons for each of the affected tests.
If you need the profiling jobs you can trigger them yourself from treeherder job view or ask a sheriff to do that for you.
You can run these tests on try with ./mach try perf --alert 2617
For more information on performance sheriffing please see our FAQ.
Updated•2 years ago
|
Comment 11•2 years ago
|
||
(In reply to Pulsebot from comment #3)
Pushed by alissy@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fbe9fbb6ae72
Properly set small alloc randomization on Android content processes as well
r=jld
Perfherder has detected a browsertime performance change from push ce21382483196b42fb41d78e79a565a5082dec3e.
Improvements:
| Ratio | Test | Platform | Options | Absolute values (old vs new) |
|---|---|---|---|---|
| 10% | speedometer3 TodoMVC-JavaScript-ES6-Webpack-Complex-DOM/total | android-hw-a55-14-0-android-aarch64-shippable-qr | webrender | 212.47 -> 191.68 |
| 8% | speedometer3 TodoMVC-JavaScript-ES6-Webpack-Complex-DOM/DeletingAllItems/total | android-hw-a55-14-0-aarch64-shippable | webrender | 55.87 -> 51.48 |
| 6% | speedometer3 TodoMVC-Svelte-Complex-DOM/total | android-hw-a55-14-0-aarch64-shippable | webrender | 45.86 -> 43.08 |
| 6% | speedometer3 TodoMVC-Preact-Complex-DOM/CompletingAllItems/Sync | android-hw-a55-14-0-android-aarch64-shippable-qr | webrender | 3.99 -> 3.76 |
| 6% | speedometer3 TodoMVC-Svelte-Complex-DOM/CompletingAllItems/total | android-hw-a55-14-0-aarch64-shippable | webrender | 11.90 -> 11.21 |
| ... | ... | ... | ... | ... |
| 2% | speedometer3 React-Stockcharts-SVG/PanTheChart/total | android-hw-a55-14-0-aarch64-shippable | webrender | 50.16 -> 49.16 |
Details of the alert can be found in the alert summary, including links to graphs and comparisons for each of the affected tests.
If you need the profiling jobs you can trigger them yourself from treeherder job view or ask a sheriff to do that for you.
You can run these tests on try with ./mach try perf --alert 2685
For more information on performance sheriffing please see our FAQ.
Comment 12•2 years ago
|
||
(In reply to Atila Butkovits from comment #4)
Backed out for causing failures at Sandbox.cpp.
Backout link: https://hg.mozilla.org/integration/autoland/rev/29f4b90ad4d88cea4bf520db602bc2726d921690
Failure log: https://treeherder.mozilla.org/logviewer?job_id=479026804&repo=autoland&lineNumber=8269
Perfherder has detected a browsertime performance change from push 29f4b90ad4d88cea4bf520db602bc2726d921690.
Regressions:
| Ratio | Test | Platform | Options | Absolute values (old vs new) |
|---|---|---|---|---|
| 6% | speedometer3 TodoMVC-Lit-Complex-DOM/DeletingAllItems/Sync | android-hw-a55-14-0-aarch64-shippable | webrender | 4.60 -> 4.88 |
| 6% | speedometer3 TodoMVC-Preact-Complex-DOM/DeletingAllItems/Async | android-hw-a55-14-0-aarch64-shippable | webrender | 6.65 -> 7.03 |
| 5% | speedometer3 TodoMVC-Preact-Complex-DOM/DeletingAllItems/total | android-hw-a55-14-0-aarch64-shippable | webrender | 8.79 -> 9.26 |
| 4% | speedometer3 TodoMVC-Lit-Complex-DOM/CompletingAllItems/Sync | android-hw-a55-14-0-aarch64-shippable | webrender | 5.72 -> 5.97 |
| 4% | speedometer3 TodoMVC-Preact-Complex-DOM/Adding100Items/Sync | android-hw-a55-14-0-aarch64-shippable | webrender | 4.30 -> 4.46 |
| 4% | speedometer3 TodoMVC-Svelte-Complex-DOM/Adding100Items/Sync | android-hw-a55-14-0-aarch64-shippable | webrender | 7.28 -> 7.55 |
| 4% | speedometer jQuery-TodoMVC/Adding100Items/Sync | android-hw-a55-14-0-android-aarch64-shippable-qr | webrender | 110.44 -> 114.32 |
| 3% | speedometer3 TodoMVC-Svelte-Complex-DOM/total | android-hw-a55-14-0-aarch64-shippable | webrender | 43.13 -> 44.62 |
| 3% | speedometer3 TodoMVC-jQuery/Adding100Items/total | android-hw-a55-14-0-aarch64-shippable | webrender | 128.67 -> 132.94 |
| 3% | speedometer3 TodoMVC-jQuery/Adding100Items/Sync | android-hw-a55-14-0-aarch64-shippable | webrender | 123.14 -> 127.18 |
| 3% | speedometer3 React-Stockcharts-SVG/PanTheChart/Async | android-hw-a55-14-0-aarch64-shippable | webrender | 30.15 -> 30.98 |
| 2% | speedometer3 TodoMVC-WebComponents/DeletingAllItems/Sync | android-hw-a55-14-0-aarch64-shippable | webrender | 17.47 -> 17.83 |
| 2% | speedometer3 | android-hw-a55-14-0-aarch64-shippable | webrender | 6.63 -> 6.49 |
| 2% | speedometer3 score | android-hw-a55-14-0-aarch64-shippable | webrender | 6.63 -> 6.49 |
Improvements:
| Ratio | Test | Platform | Options | Absolute values (old vs new) |
|---|---|---|---|---|
| 4% | speedometer3 TodoMVC-JavaScript-ES5/Adding100Items/Sync | android-hw-a55-14-0-aarch64-shippable | webrender | 80.87 -> 77.81 |
As author of one of the patches included in that push, we need your help to address this regression.
Details of the alert can be found in the alert summary, including links to graphs and comparisons for each of the affected tests. Please follow our guide to handling regression bugs.
If you need the profiling jobs you can trigger them yourself from treeherder job view or ask a sheriff to do that for you.
You can run these tests on try with ./mach try perf --alert 2738
For more information on performance sheriffing please see our FAQ.
Updated•2 years ago
|
Updated•2 years ago
|
Description
•