Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Mechanics of HugePages

    Posted on

    I have a system with 8GB or RAM and accidentally set the nr_hugepages parameter to 5000 (~10GB). In practice the number allocated was limited by the available RAM at the time.

    However, I am curious on a more fundamental level of how the Kernel deals with this.

    -Is there some limit that the Kernel would impose on the percentage of RAM that can be allocated to Huge Pages?

    -If the vast majority of RAM gets allocated to Huge Pages will that preclude many applications and/or libraries from getting loaded into memory or will they also get placed in Huge Pages?

    -In general is there a reason to not allocate as much RAM as possible to Huge Pages?

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2025 Red Hat