MannerMan / hugepage-shm-memory-allocation-test

Tests huge page and regular memory allocation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hugepage-memory-allocator-test:

This application is a hacky merge of these two with few changes;

Essentially this application allocates a configurable amount of Huge Pages, by default 4gb (see LENGTH). It then proceedes to allocate regular memory in 100mb chunks until it fails. This can be used for testing when configuring hugepages manually in combination with vm.overcommit_memory=2, to check that memory boundaries works as expected.

All credit goes to the creators of respective applications linked above.

About

Tests huge page and regular memory allocation


Languages

Language:C 100.0%