Skip to content

Quick and dirty transparent huge pages benchmark

Notifications You must be signed in to change notification settings

aiberia/hugetest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Usage

hugetest [SIZE] [HUGE]
 
  SIZE = Amount of memory to use in megabytes (MB)

  HUGE = 1 to request hugepages (MADV_HUGEPAGE)
       = 0 to disable hugepages (MADV_NOHUGEPAGE)

Example

$ ./hugetest 1024 0
allocating memory...
1073741824 allocated at: 0x7f3080400000
disabling hugepages...
touching pages...
running test...
test complete in: 12.917s
$ ./hugetest 1024 1
allocating memory...
1073741824 allocated at: 0x7efbf4800000
requesting hugepages...
touching pages...
running test...
test complete in: 9.954s

About

Quick and dirty transparent huge pages benchmark

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published