/hugepage-shm-memory-allocation-test

Tests huge page and regular memory allocation

Primary LanguageC

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.