Dasharo Performance: CPU temperature measure
Common
Test setup
- Proceed with the Generic test setup: firmware.
- Proceed with the Generic test setup: OS installer.
- Proceed with the Generic test setup: OS installation.
- Install
lm-sensors
package:sudo apt install lm-sensors
.
CPT001.001 CPU temperature without load (Ubuntu)
Test description
This test aims to verify whether the temperature of CPU cores after system booting is not higher than the maximum allowed temperature.
Test configuration data
FIRMWARE
= corebootOPERATING_SYSTEM
=Ubuntu
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
-
Open a terminal window and run the following command:
sensors
-
Note the result.
Expected result
Example output:
coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +34.0°C (high = +100.0°C, crit = +100.0°C)
Core 0: +34.0°C (high = +100.0°C, crit = +100.0°C)
Core 1: +34.0°C (high = +100.0°C, crit = +100.0°C)
Core 2: +32.0°C (high = +100.0°C, crit = +100.0°C)
Core 3: +33.0°C (high = +100.0°C, crit = +100.0°C)
Displayed temperature should be not higher than declared by the DUT specifications.
CPT002.001 CPU temperature during stress test (Ubuntu)
Test description
This test aims to verify whether the temperature of the CPU cores is not higher than the maximum allowed temperature during stress test.
Test configuration data
FIRMWARE
= corebootOPERATING_SYSTEM
=Ubuntu
Test setup
- Proceed with the Test cases common documentation section.
- Install the
stress-ng
package:sudo apt install stress-ng
.
Test steps
- Power on the DUT.
- Boot into the system.
- Log into the system by using the proper login and password.
-
Open a terminal window and run the following command to turn on the stressor:
stress-ng --cpu 0 --tz -t 60m
Stress test duration time might be changed by change the value of the parameter
-t
. -
While test runs, open a terminal window and run the following command every one minute until the test finishes, to check the current temperature.
sensors
-
Note the results.
Expected result
Example output:
coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +54.0°C (high = +100.0°C, crit = +100.0°C)
Core 0: +50.0°C (high = +100.0°C, crit = +100.0°C)
Core 1: +49.0°C (high = +100.0°C, crit = +100.0°C)
Core 2: +53.0°C (high = +100.0°C, crit = +100.0°C)
Core 3: +51.0°C (high = +100.0°C, crit = +100.0°C)
The displayed temperatures should be not higher than displayed high and critical. Also the temperatures should be not higher than those declared by the DUT's producer.