Skip to content

Virtual Memory Page Size Modifier #1146

@michaelmckinsey1

Description

@michaelmckinsey1

Enable modifier that can set the required environment options to enable Transparent Huge Pages (THP) or HugeTLB (libhugelbfs) to configure "huge" page sizes for CPU memory malloc from default 4kb size. Refer to internal resources for how to configure huge pages and expected results.

Note: hipMalloc already requests 2MB huge pages regardless if THP or HugeTLB are used. THP and libhugetlbfs target system allocated memory, not hipMalloc'ed memory.

  • Enable use of Transparent Huge Pages (THP) a mechanism from the linux kernel where virtual memory pages are automatically promoted/demoted into "huge page" sizes
  • Enable use of HugeTBL - libhugetlbfs is a library that interacts with the hugetlbfs filesystem.
  • Have variant option for either none, THP, or hugetlb

Metadata

Metadata

Labels

featureNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions