Trailing guard pages for normal allocations
Categories
(Core :: Memory Allocator, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: gcp, Assigned: gcp)
References
(Blocks 1 open bug)
Details
Attachments
(2 files, 4 obsolete files)
+++ This bug was initially created as a clone of Bug #1529922 +++
Split off from bug 1446040. Trailing guard pages for huge allocations were done in the first patch, this adds them for normal allocations.
Assignee | ||
Comment 1•5 years ago
|
||
I'm cleaning all codepaths to take the COMMIT/DECOMMIT paths, and while I was wondering why we weren't doing this before, I noticed this comment:
https://github.com/jemalloc/jemalloc/issues/261#issuecomment-137308537
Which seems to imply glandium has tested this on macOS already.
Assignee | ||
Comment 2•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=c99335a711cd8dd307ef9866e7fdb572ed4daf17
Assignee | ||
Comment 3•5 years ago
|
||
Depends on D21566
Assignee | ||
Comment 4•5 years ago
|
||
Assignee | ||
Comment 5•5 years ago
|
||
Depends on D21565
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 6•5 years ago
|
||
So, the only worrisome part is an ASAN failure, but IIRC, ASAN builds don't use malloc?!
Assignee | ||
Comment 7•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=77762430fde2954f7acfe906e7f9f818a1767af3
Updated•5 years ago
|
Assignee | ||
Comment 8•5 years ago
|
||
Depends on D26351
Updated•5 years ago
|
Assignee | ||
Comment 9•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=b2db9db56ff5b74f929221afe97f6183f4d7f9e4
Assignee | ||
Comment 10•5 years ago
•
|
||
Talos for only guarding 1 page per chunk, so this bug but with the dependency on bug 1542290 removed. https://treeherder.mozilla.org/#/jobs?repo=try&revision=2abc01bd9cfe7a8d8a78ec27a6d6b8e0e9edc3f5
Assignee | ||
Comment 11•5 years ago
|
||
Talos for only guarding 1 page per chunk, so this bug but with the dependency on bug 1542290 removed.
As expected, this is mostly a wash.
Assignee | ||
Comment 12•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=f1d1868c4f90971dcf9b77d3ac2faaa4e482ce01
Assignee | ||
Comment 13•5 years ago
|
||
Assignee | ||
Comment 14•5 years ago
|
||
Depends on D27912
Updated•5 years ago
|
Updated•5 years ago
|
Comment 15•5 years ago
|
||
Pushed by gpascutto@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dd542aa67434 Trailing guard pages for normal allocations. r=glandium
Comment 16•5 years ago
|
||
Pushed by gpascutto@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7a92af28d8e1 Test for trailing guard pages for normal allocations. r=glandium
Comment 17•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/dd542aa67434
https://hg.mozilla.org/mozilla-central/rev/7a92af28d8e1
Comment 18•5 years ago
|
||
Hi :gcp, look like your patch indeed came with this improvement:
== Change summary for alert #21621 (as of Thu, 27 Jun 2019 04:15:05 GMT) ==
Improvements:
5% Resident Memory linux64-shippable opt 667,984,142.65 -> 633,197,812.91
5% Resident Memory linux64-shippable opt 664,312,554.01 -> 631,185,026.74
For up to date results, see: https://treeherder.mozilla.org/perf.html#/alerts?id=21621
Description
•