Experiment with preferring dirty memory even if it increases run fragmentation in chunks
Categories
(Core :: Memory Allocator, enhancement)
Tracking
()
People
(Reporter: pbone, Unassigned)
References
Details
Attachments
(1 file)
Extend Bug 1898647 further to prefer dirty memory at the cost of some fragmentation. We can control how much fragmentation and how expensive the search is and should experiment with these values.
| Reporter | ||
Comment 1•3 months ago
|
||
Try to further improve run allocation by allocating from a larger run if
that larger run is dirty and therefore won't incur a page fault.
Updated•3 months ago
|
| Reporter | ||
Comment 2•3 months ago
|
||
This doesn't make much of a difference with these conservative settings (the patch includes some constants for how hard to search). Increasing those limits improves Linux performance.
Fragmentation is better for base content processes but worse for used content processes.
Comment 3•3 months ago
|
||
I wonder if we could do an extreme experiment with just always taking from the largest dirty run, avoiding any search? Just to see where fragmentation would go?
Description
•