-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Description
Issue
As it stands, Mesh can't make effective use of huge pages -- its design depends on smallish pages (e.g., 4K).
Desired Behavior
Mesh would be able to take advantage of huge pages and the consequent reduction of TLB footprint (and thus likely increased performance for very large heaps).
Proposed Design
I think it'd be possible to make a huge-page version of Mesh that uses huge pages by treating some smaller grain chunk (e.g., 1/256th of the huge page size) as a single "bit" -- 1 if there is any memory allocated in that chunk, 0 otherwise. The smaller grain chunks could be managed by a more conventional allocator (possibly from a single size class). Then, meshing would operate on the bitmaps for the huge pages, essentially as it already does today for standard page sizes.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels