diff options
author | Peter Schiffer <pschiffe@redhat.com> | 2013-04-30 15:09:33 +0200 |
---|---|---|
committer | Peter Schiffer <pschiffe@redhat.com> | 2013-04-30 16:58:58 +0200 |
commit | b2d1d95ef4b0812aca631d11c2b08946c73203c8 (patch) | |
tree | d4943199a06715e1c8119c77ec71b265968eaf58 /mof | |
parent | 9d055e9cec6a305d553fd88e74345d75f10fab1e (diff) | |
download | openlmi-providers-b2d1d95ef4b0812aca631d11c2b08946c73203c8.tar.gz openlmi-providers-b2d1d95ef4b0812aca631d11c2b08946c73203c8.tar.xz openlmi-providers-b2d1d95ef4b0812aca631d11c2b08946c73203c8.zip |
Hardware: Added additional information to the Memory provider
Added information:
* detect NUMA layout
* standard memory page size
* all supported sizes of huge memory pages
* current state of transparent huge pages
Diffstat (limited to 'mof')
-rw-r--r-- | mof/60_LMI_Hardware.mof | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mof/60_LMI_Hardware.mof b/mof/60_LMI_Hardware.mof index 63c1a74..cba6459 100644 --- a/mof/60_LMI_Hardware.mof +++ b/mof/60_LMI_Hardware.mof @@ -169,6 +169,26 @@ class LMI_ProcessorChipRealizes: CIM_Realizes [ Provider("cmpi:cmpiLMI_Memory") ] class LMI_Memory: CIM_Memory { + [ Description("Indicates whether memory has NUMA layout.") ] + boolean HasNUMA; + + [ Description("Standard memory page size in kB."), + Units("Kilobytes"), PUnit("kilobyte")] + uint32 StandardMemoryPageSize; + + [ Description("All supported huge memory page sizes in currently " + "running kernel in kB."), + Units("Kilobytes"), PUnit("kilobyte")] + uint32 SupportedHugeMemoryPageSizes[]; + + [ Description ("Current state of the transparent huge memory pages. The " + "state can be \"Unsupported\", what means that the feature is not " + "available on the system, \"Never\" when the feature is disabled, " + "\"Madvise\" when huge pages are used only in marked memory area or " + "\"Always\" when this feature is used all the time. "), + ValueMap { "0", "1", "2", "3" }, + Values { "Unsupported", "Never", "Madvise", "Always" } ] + uint16 TransparentHugeMemoryPageStatus; }; [ Provider("cmpi:cmpiLMI_PhysicalMemory") ] |