[Starlingx-discuss] Default Huge Page Configuration

Michel Thebeau michel.thebeau at windriver.com
Thu Jan 31 13:49:15 UTC 2019


Hi Himanshu Goyal,

The 'system host-memory-modify' command can be used for that.

Please let us know if you think the algorithm for choosing defaults
could use adjustment.


usage: system host-memory-modify [-m <Platform Reserved MiB>]
                                 [-2M <2M hugepages number>]
                                 [-1G <1G hugepages number>]
                                 <hostname or id> <processor>

Modify platform reserved and/or application huge page memory attributes
for worker nodes.

Positional arguments:
  <hostname or id>      Name or ID of host
  <processor>           processor

Optional arguments:
  -m <Platform Reserved MiB>, --platform_reserved_mib <Platform
Reserved MiB>
                        The amount of platform memory (MiB) for the
numa node
  -2M <2M hugepages number>, --vm_hugepages_nr_2M_pending <2M hugepages
number>
                        The number of 2M vm huge pages for the numa
node
  -1G <1G hugepages number>, --vm_hugepages_nr_1G_pending <1G hugepages
number>
                        The number of 1G vm huge pages for the numa
node


M


On Thu, 2019-01-31 at 16:54 +0530, Himanshu Goyal wrote:
> Hi,
> 
> Please suggest how we can modify the default Huge pages configuration
> & Memory reserved for platform on compute node. 
> 
> Regards,
> Himanshu Goyal
> _______________________________________________
> Starlingx-discuss mailing list
> Starlingx-discuss at lists.starlingx.io
> http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss



More information about the Starlingx-discuss mailing list