diff options
author | Chris Cain <cjcain@us.ibm.com> | 2021-09-20 18:53:09 +0300 |
---|---|---|
committer | Chris Cain <cjcain@us.ibm.com> | 2021-11-02 16:27:36 +0300 |
commit | 37bbf98c8ba77196ba72864846ca3b4a4ff5be4b (patch) | |
tree | 4d81fbdcea0f8fe343f9b2934351027a87c4503e /Redfish.md | |
parent | 0a052baa566b3697419789dbf78934d43efc4ac4 (diff) | |
download | bmcweb-37bbf98c8ba77196ba72864846ca3b4a4ff5be4b.tar.xz |
Systems: Add IdlePowerSave support
Idle power saver is a system wide mode that will reduce the power usage
when the system reaches an idle state. The system will also exit idle
power save once the performance increases to a specified utilization.
The idle state is defined as when the processor utilization drops to
EnterUtilizationPercent for EnterDwellTimeSeconds. Once the utilization
increases to ExitUtilizationPercent for ExitDwellTimeSeconds, the system
will return to normal (non-idle) state.
Ran Validator on hardware and all /redfish/v1/Systems/system tests
passed.
Tested: I manually tested retrieving and setting the PowerMode property
on a Rainier system (with good and bad values)
$ curl -s -k -X GET https://$bmc/redfish/v1/Systems/system | grep -A6 IdlePowerSaver
"IdlePowerSaver": {
"Enabled": false,
"EnterDwellTimeSeconds": 240,
"EnterUtilizationPercent": 8,
"ExitDwellTimeSeconds": 10,
"ExitUtilizationPercent": 12
},
$ curl -k -X PATCH -d '{"IdlePowerSaver":{"Enabled":true}}' https://$bmc/redfish/v1/Systems/system
$ curl -k -X PATCH -d '{"IdlePowerSaver":{"Enabled":false,"EnterUtilizationPercent":8,"EnterDwellTimeSeconds":240,"ExitUtilizationPercent":12,"ExitDwellTimeSeconds":10}}' https://$bmc/redfish/v1/Systems/system
Signed-off-by: Chris Cain <cjcain@us.ibm.com>
Change-Id: Icdc948f133959dce4297ab9774c2e9c8acb620e3
Diffstat (limited to 'Redfish.md')
-rw-r--r-- | Redfish.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Redfish.md b/Redfish.md index c9785b9008..4fc377651f 100644 --- a/Redfish.md +++ b/Redfish.md @@ -517,6 +517,11 @@ the other. - BootProgress - Description - HostWatchdogTimer +- IdlePowerSaver/Enable +- IdlePowerSaver/EnterUtilizationPercent +- IdlePowerSaver/EnterDwellTimeSeconds +- IdlePowerSaver/ExitUtilizationPercent +- IdlePowerSaver/ExitDwellTimeSeconds - IndicatorLED - LastResetTime - Links/Chassis |