- Infos im HLRS Wiki sind nicht rechtsverbindlich und ohne Gewähr -
- Information contained in the HLRS Wiki is not legally binding and HLRS is not responsible for any damages that might result from its use -

HugePages: Difference between revisions

From HLRS Platforms
Jump to navigationJump to search
Line 6: Line 6:
== How to use HugePages? ==
== How to use HugePages? ==
The following hugepages are available on hazelhen:
The following hugepages are available on hazelhen:
  craype-hugepages128K  craype-hugepages2M    craype-hugepages512M
  craype-hugepages2M    craype-hugepages32M  craype-hugepages512M
  craype-hugepages128M  craype-hugepages32M  craype-hugepages64M
  craype-hugepages4M    craype-hugepages64M    
  craype-hugepages16M  craype-hugepages4M   craype-hugepages8M
  craype-hugepages8M   craype-hugepages128M
  craype-hugepages256M  craype-hugepages512K
  craype-hugepages16M  craype-hugepages256M  
   


If you want to use HugePages you have to do both of the steps below if you compile yourself.
If you want to use HugePages you have to do both of the steps below if you compile yourself.

Revision as of 16:00, 9 December 2015

What are HugePages?

For an introduction for HugePages check [[ https://en.wikipedia.org/wiki/Page_%28computer_memory%29#Huge_pages |HugePage@Wiki ]]

Why use HugePages?

How to use HugePages?

The following hugepages are available on hazelhen:

craype-hugepages2M    craype-hugepages32M   craype-hugepages512M
craype-hugepages4M    craype-hugepages64M     
craype-hugepages8M    craype-hugepages128M 
craype-hugepages16M   craype-hugepages256M 

If you want to use HugePages you have to do both of the steps below if you compile yourself.

Self compiled applications

  • During Compilation
    • one of the craype-hugepages<size> (i.e. craype-hugepages16M) modules has to be loaded.
    • This will link the hugepages library to your application.
  • During runtime
    • Load the craype-hugepages<size> module with the pagesize you want to use.
    • The size chosen during runtime is completely independent from the size you have chosen during compilation.
    • Therefore you can compile once and test different sizes during runtime without changing the binary.

precompiled, dynamically linked applications