Open
Bug 2093249
Opened 2 days ago
Updated 5 hours ago
Enforce the spare chunk limit asynchronously,
Categories
(Core :: Memory Allocator, enhancement, P1)
Core
Memory Allocator
Tracking
()
ASSIGNED
People
(Reporter: pbone, Assigned: pbone)
References
(Blocks 3 open bugs)
Details
Attachments
(6 external files)
Bug 2070617 introduced a limit (1) to the number of spare chunks per arena before releasing them. However it is enforces sychronously which can affect performance. Enforce it asynchronously as part of purge time. Rather than remove the sychronously limit, make it higher so that it provides safety if idle time scheduling is not favorable:
- Add arenas to the pending purge list if they have more spare chunks than the limit.
- Apply the refactoring patches that move Purge’s code into PurgeLoop.
- Don’t make the limits dynamic (yet).
- Always apply the limit regardless of recent dirty page reuse (see next item)
| Assignee | ||
Comment 1•7 hours ago
|
||
Note that Jens' version of this patch is better.
| Assignee | ||
Comment 2•7 hours ago
|
||
Jens' version folds this into part 1. It doesn't matter which version
we use.
| Assignee | ||
Comment 3•7 hours ago
|
||
Updated•7 hours ago
|
Assignee: nobody → pbone
Status: NEW → ASSIGNED
| Assignee | ||
Comment 4•7 hours ago
|
||
| Assignee | ||
Comment 5•7 hours ago
|
||
| Assignee | ||
Comment 6•5 hours ago
|
||
Add a counter for the number of spare chunks in the spare chunk list.
Updated•5 hours ago
|
Attachment #9685471 -
Attachment description: Bug 2093249 - p4. Raise the sychronous chunk limit to 4 r=glandium → Bug 2093249 - p5. Raise the sychronous chunk limit to 4 r=glandium
Updated•5 hours ago
|
Attachment #9685472 -
Attachment description: Bug 2093249 - p5. Apply the chunk limit asynchronously r=glandium → Bug 2093249 - p6. Apply the chunk limit asynchronously r=glandium
You need to log in
before you can comment on or make changes to this bug.
Description
•