-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or request
Description
runMosalloc.py script, currently, receives a configuration file that is passed to Mosalloc library.
The configuration file should contain the pool sizes and a separated line for each hugepages window of the following form:
,,,
This configuration file is not human readable, especially since windows are added by their offsets in bytes and the windows could be started at a 4KB offset (which could be not 2MB-aligned).
This issue is to request modifying the runMosalloc.py command line to the following:
--library --anonymous-size <size in B/K/M/G> --anonymous-2MB --anonymous-1GB --brk-size <size in B/K/M/G> --brk-2MB --brk-1GB --file-size <size in B/K/M/G> --start-offset <value between 0 and 511>
- anonymous-size / brk-size / file-size: the size of the specified pool in bytes/kilobytes/megabytes/gigabytes
- anonymous-2MB / brk-2MB: specifies the hugepages list that defines the 2MB-hugepages windows. The list can contain single-page numbers or page ranges, for example: 0,1,3-10,11
- anonymous-1GB / brk-1GB: specifies the hugepages list that defines the 1GB-hugepages windows. The list can contain single-page numbers or page ranges, for example: 0,1,3-10,11
- start-offset: specifies the start offset of all hugepage windows, this argument is provided as a base pages (4KB) number, i.e., valid values are [0-511]
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request