Closed
Bug 826741
Opened 12 years ago
Closed 10 years ago
IonMonkey: Enable backtracking allocator by default
Categories
(Core :: JavaScript Engine: JIT, defect)
Tracking
()
RESOLVED
FIXED
mozilla39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: bhackett1024, Assigned: bhackett1024)
References
(Depends on 1 open bug)
Details
Attachments
(1 file)
834 bytes,
patch
|
jandem
:
review+
|
Details | Diff | Splinter Review |
With the patch in bug 826734, Ion does a little better on x86 benchmarks when using the backtracking allocator instead of lsra (1-2% v8/kraken improvement, smaller for ss) and the backtracking allocator significantly reduces the amount of spill code executed for both x86 and x64. This improvement isn't gigantic, but will become larger as the benchmarks are optimized further and using a better allocator will be important for autotranslated code (emscripten/asm.js). Enabling the backtracking allocator by default can be done after taking a couple steps:
- Examine ARM performance. The allocator hasn't had any ARM tuning and with the current state of the ARM assembler it isn't possible I think to easily examine the generated ARM code and make improvements. If the allocator does not do a good job on ARM out of the box, it could still be the default for x86/x64 until the assembler is fixed and regalloc issues diagnosed.
- Fuzzing. This can wait until after bug 826734 lands.
Comment 1•12 years ago
|
||
Working on fuzzing this now (mozilla-central with --ion-regalloc=backtracking).
Comment 2•11 years ago
|
||
This configuration/flag is now being tested continuously on fuzzer-linux7.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 3•11 years ago
|
||
Nice, this was meant for bug 864919.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•11 years ago
|
Updated•10 years ago
|
Assignee: general → nobody
Comment 4•10 years ago
|
||
I asked Hannes to add a Backtracking line on AWFY for the Mac shell builds, so hopefully we will have some useful numbers soon. Once we have that we can decide which tests need to be fixed before we can enable BT by default.
Locally I no longer see the Octane-Gameboy regression (bug 1063603). BT is a bit faster there now so that's great, but overall it's still slower on Octane.
Component: JavaScript Engine → JavaScript Engine: JIT
OS: Mac OS X → All
Hardware: x86 → All
Updated•10 years ago
|
Assignee | ||
Comment 5•10 years ago
|
||
Not all regressions with the backtracking allocator have been fixed (mainly bug 1134510), but its performance on octane and the other benchmarks we track is pretty much in line with LSRA, and it would be good to turn it on by default after the merge tomorrow, before doing more work to improve it in the next release cycle.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=c8b1fd2a9b9e
Assignee: nobody → bhackett1024
Attachment #8568114 -
Flags: review?(jdemooij)
Comment 6•10 years ago
|
||
Comment on attachment 8568114 [details] [diff] [review]
patch
Review of attachment 8568114 [details] [diff] [review]:
-----------------------------------------------------------------
Awesome.
Attachment #8568114 -
Flags: review?(jdemooij) → review+
Assignee | ||
Comment 7•10 years ago
|
||
Comment 8•10 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 11 years ago → 10 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla39
You need to log in
before you can comment on or make changes to this bug.
Description
•