-
Notifications
You must be signed in to change notification settings - Fork 78
Closed
Labels
A-heapArea: Heap (including Mmapper, VMMap)Area: Heap (including Mmapper, VMMap)C-bugCategory: BugCategory: BugP-normalPriority: Normal.Priority: Normal.
Description
The mem balancer paper uses a metric called 'bytes collected during GC'. I interpreted as 'bytes reclaimed'. But it turned out to be incorrect. It should actually be 'bytes traversed during GC'.
Basically our calculation for the following field is wrong. We should fix this.
mmtk-core/src/util/heap/gc_trigger.rs
Line 188 in 9175e68
| collection_pages: f64, |
As we use pages for our calculation (such as live pages, and allocation pages), the question for us is that how we can get the number of pages traversed by the GC. Earlier we added a way to count traversed bytes (#768), but it counts bytes not pages. We probably can calculate traversed pages from live pages and promoted pages.
Metadata
Metadata
Assignees
Labels
A-heapArea: Heap (including Mmapper, VMMap)Area: Heap (including Mmapper, VMMap)C-bugCategory: BugCategory: BugP-normalPriority: Normal.Priority: Normal.