Closed
Bug 988369
Opened 11 years ago
Closed 10 years ago
Reduce StoreBuffer chunk size on B2G and workers
Categories
(Core :: JavaScript: GC, defect)
Core
JavaScript: GC
Tracking
()
RESOLVED
DUPLICATE
of bug 1100652
tracking-b2g | + |
People
(Reporter: terrence, Assigned: terrence)
References
(Blocks 1 open bug)
Details
(Whiteboard: [Memshrink:P2][js4b2g])
Attachments
(1 file)
1.09 KB,
patch
|
sfink
:
review+
|
Details | Diff | Splinter Review |
It's currently allocated in 64KiB chunks, which is a bit too big for b2g. Try and make it one page per allocation and start decommitted.
Updated•11 years ago
|
Whiteboard: [MemShrink]
Assignee | ||
Updated•11 years ago
|
Whiteboard: [Memshrink]
Updated•11 years ago
|
Whiteboard: [Memshrink] → [Memshrink:P2]
Assignee | ||
Updated•11 years ago
|
Whiteboard: [Memshrink:P2] → [Memshrink:P2][js4b2g]
Assignee | ||
Comment 1•10 years ago
|
||
Comment 2•10 years ago
|
||
Comment on attachment 8490857 [details] [diff] [review]
smaller_storebuffer_on_b2g-v0.diff
Review of attachment 8490857 [details] [diff] [review]:
-----------------------------------------------------------------
Good catch!
Attachment #8490857 -
Flags: review?(sphink) → review+
Assignee | ||
Comment 3•10 years ago
|
||
Thank Andrew for asking about it in bug 1020751!
Assignee | ||
Comment 4•10 years ago
|
||
Assignee | ||
Comment 5•10 years ago
|
||
Seems to cause a fair number of timeouts. Let's try being a bit smarter about how we size things:
https://tbpl.mozilla.org/?tree=Try&rev=89e623b1688e
Comment 6•10 years ago
|
||
[Tracking Requested - why for this release]: Maybe this isn't the right tracking flag, but this really is needed when using generational GC on B2G.
tracking-firefox35:
--- → ?
Assignee | ||
Comment 7•10 years ago
|
||
(In reply to Andrew McCreight [:mccr8] from comment #6)
> [Tracking Requested - why for this release]: Maybe this isn't the right
> tracking flag, but this really is needed when using generational GC on B2G.
Do we know that that is true though? GGC was memory neutral when it landed on desktop and we've made a ton of fixes since then. It would be nice if we had AWSY coverage on B2G.
Comment 8•10 years ago
|
||
(In reply to Terrence Cole [:terrence] from comment #7)
> Do we know that that is true though? GGC was memory neutral when it landed
> on desktop and we've made a ton of fixes since then. It would be nice if we
> had AWSY coverage on B2G.
It was memory neutral on AWSY, but had to be delayed a release because of too many OOM crashes on beta, so I'm not too confident in our ability to quickly detect regressions. B2G regression detection is unfortunately probably worse than desktop, if anything.
Comment 10•10 years ago
|
||
I haven't noticed any flood of complaints about memory regressions, so maybe this isn't so critical after all.
Assignee | ||
Comment 11•10 years ago
|
||
Yeah, I expect it's probably a wash with ggc's generally lower max-heap, even on mobile. We do still need to put some more effort into shaving off the store buffer's performance cliffs and I think this bug is going to be part of that solution eventually.
Comment 12•10 years ago
|
||
This would not be a blocker for release and given this will probably get into the next fxos release which is 2.2. Tracking it via the B2G flag.
tracking-b2g:
--- → +
Flags: needinfo?(bbajaj)
Updated•10 years ago
|
tracking-firefox35:
? → ---
Assignee | ||
Comment 13•10 years ago
|
||
I think Steve found the problem here: we're currently scaling the thresholds proportional to the block size, so this would have been triggering way too many compactions and minor collections. Steve is currently re-balancing our store buffer tunings for mobile/ffos as part of bug 1078437, so I'll wait until after that is in, if it doesn't fix the size problem outright too.
Assignee | ||
Comment 14•10 years ago
|
||
We've now totally redesigned the StoreBuffer to vastly reduce the fixed initial outlay. Closing this unless we have specific test-cases that are still terrible.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•