Power Stress and EDP Tests Plugins Design, Switches and Parameters
On this Page
Power Stress and EDP Tests Plugins Design, Switches and Parameters¶
This section describes plugin specific switches, however, it will not focus on the common switches although these switches will be mentioned here for the completeness of the command examples. To see the common plugin switches and parameters, refer to hl_qual Common Plugin Switches and Parameters.
Gaudi2 Power Stress Plugin Design Consideration and Responsibilities¶
The power stress plugin runs a power stress test and puts the device in constant and equal level power load. The test can run for long hours (more than 2 hours) and test the following device functionalities:
Thermal stress test, cooling system functionality, temperature dissipation and thermal protection mechanisms can be checked while running power stress plugin in extreme load.
PID module responsible for the power management and keeping power usage below allowable MAX power of 550 [watts].
The power stress plugin performs a maximum power stress on the device. The test plugin supports two power levels:
Extreme - measured power level: 530-560 [watt]
High – measured power level: 450-490 [watt]
Note
The above power measurements were achieved on an HL-225H device and are peak power levels measured by the HLML API.
Prerequisite¶
Before running this test on Gaudi2, load the driver by executing the following command:
sudo modprobe habanalabs timeout_locked=0
Power Stress Test - Pass/fail Criteria¶
The pass/fail criteria consists of the following:
Test must not trigger the builtin temperature protection.
MME engine calculation must be bit-exact.
First-gen Gaudi Power Stress Plugin Design Consideration and Responsibilities¶
The power stress plugin runs a power stress test and puts the device in constant and equal level power load. The tests can run for long hours (more than 2 hours) and test the following device functionalities:
Thermal stress test, cooling system functionality, temperature dissipation and thermal protection mechanisms can be checked while running power stress plugin in extreme load.
Power limiter and clock relaxation mechanisms – The power limiter is a mechanism that limits the power usage below 300 [watts]. When the power limit is met, the device clocks are lowered. To test the power limiter mechanism, the plugin must run at an extreme power level.
Long work periods in typical power levels (extreme, mid).
Power usage and reported temperature may differ according to the tested server as they depend on the ambient condition of the server (fan speed, ambient temperature and number of devices been tested).
The power stress plugin conducts multi-level power stress test.
The power levels are configurable via plugin switches and are aligned with the following levels:
Extreme - measured power level: 345 - 355 [watt]
Mid – measured power level: 230 - 240 [watt]
Note
The above power measurements were achieved on an HL-205 device and are peak power levels measured by the HLML API.
Tests should run longer than 30 seconds to reach maximum power.
Power Stress Test - Pass/fail Criteria¶
The power stress tests must run until completion without overheating or power supply failures.
Power Stress Test Plugin Switches and Parameters¶
First-gen Gaudi and Gaudi2 test variants differ in the test capabilities as demonstrated in the command line below:
hl_qual -gaudi2 -c <pci bus id> [-t <time in seconds>] -rmod <serial | parallel> [-dis_mon] [-l <extreme | high]
-s
Log File |
Description |
---|---|
|
Power stress test duration in seconds. If this switch is omitted, the default value is 60 seconds . |
|
Power stress test selector. |
|
Power level selector for 54V power supply:
|
./hl_qual -gaudi2 -c all -rmod parallel -s -t 120
hl_qual -gaudi -c <pci bus id> [-t <time in seconds>] -rmod <serial | parallel> [-dis_mon]
-s [-l <extreme | mid >]
Log File |
Description |
---|---|
|
Power stress test duration in seconds. If this switch is omitted, the default value is 40 seconds. |
|
Power stress test selector. |
|
Power level selector:
If the value is not specified, the default value is MID. |
./hl_qual -gaudi -c all -rmod parallel -s l extreme -t 120
EDP Stress Test Plugin Design Consideration and Responsibilities¶
The EDP stress test verifies the functionality of the power supply by generating a fast power usage transient from low power to high power and vice versa.
The power cycles repeat throughout the test’s execution time.
Figure 21 EDP Stress Test Power Cycles¶
The test’s configurable parameters, -tw/-ts <time>, set the duration of the power cycle which consists of high-power level and low-power level (idle state) usage.
Prerequisite¶
Before running this test on Gaudi2, load the driver by executing the following command:
sudo modprobe habanalabs timeout_locked=0
EDP Stress Test - Pass/fail Criteria¶
The EDP stress test must run until completion without overheating or power supply failures.
Gaudi2 EDP Stress Test Plugin Switches and Parameters¶
./hl_qual -gaudi2 -c <pci bus id> [-t <time in seconds>] -rmod <serial | parallel> [-dis_mon] [-mon_cfg <monitor INI path>]
-e [-sync] [-inc_power] [-enable_ports_check <all | int>] [-Tw <time in seconds>][-Ts <time in seconds>]
Log File |
Description |
---|---|
|
Power stress test duration in seconds. If this switch is omitted, the default value is 40 seconds. |
|
EDP test selector. |
|
Enables device sync. When using this switch, the raising edge of the power cycle will be synchronized between all devices. |
|
Enables NIC execution which ensures high power usage. |
|
Indicates whether the ports are UP or DOWN. If they are are DOWN, it will result in a test failure.
|
|
Sets the duration of the high power time for the EDP power cycle which is measured in seconds. |
|
Sets the duration of the idle time for the EDP power cycle which is measured in seconds. |
./hl_qual -gaudi2 -c all -rmod parallel -t 40 -e -Tw 3 -Ts 1
The above command line executes the EDP stress test for 40 seconds and runs 10 power cycles. Each power cycle runs 3 seconds of high power usage and 1 second of low power usage.
First-gen Gaudi EDP Stress Test Plugin Switches and Parameters¶
hl_qual -gaudi -c <pci bus id> [-t <time in seconds>] -rmod <serial | parallel> [-dis_mon] [-mon_cfg <monitor INI path>]
-e [-tw <time in seconds>] [-ts <time in seconds>] [-l <extreme | mid>]
Log File |
Description |
---|---|
|
Power stress test duration in seconds. |
|
EDP test selector. |
|
Power level selector:
If the value is not specified, the default value is High. |
|
Time duration of high power usage in the EDP test power cycle. |
|
Time duration of low power usage (idle mode) in the EDP test power cycle. |
Note
ts and tw should be multiple of 200 ms. hl_qual will round them to the nearest multiple of 200 ms.
./hl_qual -gaudi -c all -rmod parallel -t 40 -e -l extreme -tw 2000 -ts 2000
The above command line executes the EDP stress test for 40 seconds and runs 10 power cycles. Each power cycle runs 2 seconds of high power usage and 2 seconds of low power usage.