Documentation ¶
Index ¶
Constants ¶
View Source
const ( RhelDefaultHugepagesz = 2048 // kB RhelDefaultHugepages = 0 HugepagesParam = "hugepages" HugepageszParam = "hugepagesz" DefaultHugepagesz = "default_hugepagesz" KernArgsKeyValueSplitLen = 2 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tester ¶
type Tester struct {
// contains filtered or unexported fields
}
func (*Tester) HasMcSystemdHugepagesUnits ¶
func (*Tester) TestNodeHugepagesWithKernelArgs ¶
TestNodeHugepagesWithKernelArgs compares node hugepages against kernelArguments config. The total count of hugepages of the size defined in the kernelArguments must match the kernArgs' hugepages value. For other sizes, the sum should be 0.
func (*Tester) TestNodeHugepagesWithMcSystemd ¶
TestNodeHugepagesWithMcSystemd compares the node's hugepages values against the mc's systemd units ones.
Click to show internal directories.
Click to hide internal directories.