You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support for running commands on the EBMC of an LPAR is required to automate experiments which require running some commands on the EBMC console of the LPAR. For example, I would like to automate an Energy management related experiment using op-test where I need to run the following commands on the EBMC of the LPAR:
To set system frequency - busctl call org.open_power.OCC.Control /org/open_power/control/occ0 org.open_power.OCC.PassThrough SetMode yq 11 <frequency_MHz>
For example, to set the frequency to 3250 MHz, the command would be busctl call org.open_power.OCC.Control /org/open_power/control/occ0 org.open_power.OCC.PassThrough SetMode yq 11 3250
To get the power consumed by a component - busctl get-property org.open_power.OCC.Control /xyz/openbmc_project/sensors/power/<sensor_name> xyz.openbmc_project.Sensor.Value Value
For example, to get the power consumed by the IO link A, the command would be busctl get-property org.open_power.OCC.Control /xyz/openbmc_project/sensors/power/io_a_power xyz.openbmc_project.Sensor.Value Value
The possible values for <sensor_name> are - p1_cache_power, p1_power, io_a_power, p1_mem_power, proc0_core7_1_temp, total_power, p0_mem_power, storage_a_power, fans_a_power, p0_power.
To sleep for some time period.
For example, sleep 60 to sleep for one minute on the BMC after the benchmark has been started in the LPAR before measuring the power consumed.
The text was updated successfully, but these errors were encountered:
Support for running commands on the EBMC of an LPAR is required to automate experiments which require running some commands on the EBMC console of the LPAR. For example, I would like to automate an Energy management related experiment using op-test where I need to run the following commands on the EBMC of the LPAR:
busctl call org.open_power.OCC.Control /org/open_power/control/occ0 org.open_power.OCC.PassThrough SetMode yq 11 <frequency_MHz>
For example, to set the frequency to 3250 MHz, the command would be
busctl call org.open_power.OCC.Control /org/open_power/control/occ0 org.open_power.OCC.PassThrough SetMode yq 11 3250
busctl get-property org.open_power.OCC.Control /xyz/openbmc_project/sensors/power/<sensor_name> xyz.openbmc_project.Sensor.Value Value
For example, to get the power consumed by the IO link A, the command would be
busctl get-property org.open_power.OCC.Control /xyz/openbmc_project/sensors/power/io_a_power xyz.openbmc_project.Sensor.Value Value
The possible values for
<sensor_name>
are -p1_cache_power, p1_power, io_a_power, p1_mem_power, proc0_core7_1_temp, total_power, p0_mem_power, storage_a_power, fans_a_power, p0_power
.sleep
for some time period.For example,
sleep 60
to sleep for one minute on the BMC after the benchmark has been started in the LPAR before measuring the power consumed.The text was updated successfully, but these errors were encountered: