Disable spectre mitigations by default
Categories
(Core :: JavaScript Engine, defect, P3)
Tracking
()
People
(Reporter: jrmuizel, Assigned: jrmuizel)
References
(Blocks 2 open bugs)
Details
(Keywords: perf-alert, sec-other, Whiteboard: [adv-main149-])
Attachments
(1 external file)
This makes it so the shell has spectre mitigations off by default which
is less suprising given it's our default configuration on desktop.
It also fixes a problem where the behaviour didn't match the help text.
i.e. help says "Whether Spectre mitigations are enabled (default: off, on to enable)"
but spectre mitigations are actually on by default.
XPCJSContext.cpp sets these manually so browser builds are not affected.
| Assignee | ||
Comment 1•10 months ago
|
||
This makes it so the shell has spectre mitigations off by default which
is less suprising given it's our default configuration on desktop.
It also fixes a problem where the behaviour didn't match the help text.
i.e. help says "Whether Spectre mitigations are enabled (default: off, on to enable)"
but spectre mitigations are actually on by default.
XPCJSContext.cpp sets these manually so browser builds are not affected.
Comment 4•9 months ago
|
||
Backed out for causing SM bustages.
Backout link: https://hg-edge.mozilla.org/integration/autoland/rev/4638e157ee0dccc0d5598915ba697b4f2932428e
Updated•9 months ago
|
Comment 5•9 months ago
|
||
Is it safe to land this now?
Updated•8 months ago
|
Comment 7•8 months ago
|
||
Comment 8•8 months ago
|
||
smattering of improvements on shell-only Js benchmarks on Linux
Comment 9•8 months ago
|
||
(In reply to Pulsebot from comment #6)
Pushed by jmuizelaar@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/730da4759675
https://hg.mozilla.org/integration/autoland/rev/b07032c6abae
Disable spectre mitigations by default r=rhunt,jandem
Perfherder has detected a js-bench performance change from push b07032c6abaed15e440945fc7b8d8cc46f1286ca.
No action is required from the author; this comment is provided for informational purposes only.
| Improvement | Test | Platform | Options | Absolute values [old vs new] |
|---|---|---|---|---|
| 5% | ares6-sm | linux64-shippable | 41.93 ms -> 39.91 ms | |
| 5% | web-tooling-benchmark-sm | linux64-shippable | 8.73 score -> 9.13 score |
Need Help or Information?
If you have any questions, please reach out to aesanu@mozilla.com. Alternatively, you can find help on Slack by joining #perf-help, and on Matrix you can find help by joining #perftest.
Details of the alert can be found in the alert summary, including links to graphs and comparisons for each of the affected tests.
Updated•8 months ago
|
Updated•8 months ago
|
Updated•7 months ago
|
Updated•3 months ago
|
Description
•