Difference between revisions of "Plugin:Hugepages"
m (Add links to Barometer and test plan)
|Line 38:||Line 38:|
== See also ==
== See also ==
Revision as of 14:57, 12 March 2020
|Copyright:||2016 Intel Corporation|
|List of Plugins|
The purpose of hugepages plugin is to report the number of free and used huge pages on a system for intelligent workload placement. Huge pages can be used by applications to improve performance such as the memory backing for virtual machines. They are allocated per socket across a platform through configuration files or systemctl. Huge pages help improve the performance of applications by reducing the TLB lookups as the page size is increased from 4KB to 2MB or 1GB. Please note, 1GB huge pages must be configured through grub so they are allocated at boot up time. To collect hugepages information, the following directories are read:
The plugin reads the free_hugepages, surplus and nr_hugepages files under the directories listed above, determines the used pages (nr_hugepages + surplus pages - free_hugepages) and reports the free and used huge pages on a per node level or what’s available across the system (per hugepage size), results are available in terms of:
- The number
- The size in bytes
- The percentage
For a full description of available options please refer to the collectd.conf(5) manual page.
<Plugin hugepages> ReportPerNodeHP true ReportRootHP true ValuesPages true ValuesBytes false ValuesPercentage false </Plugin>
None yet. Add one now!