Skip to content

Dasharo Performance: CPU temperature measure

Common

Test setup

  1. Proceed with the Generic test setup: firmware.
  2. Proceed with the Generic test setup: OS installer.
  3. Proceed with the Generic test setup: OS installation.
  4. 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

  1. FIRMWARE = coreboot
  2. OPERATING_SYSTEM = Ubuntu

Test setup

  1. Proceed with the Test cases common documentation section.

Test steps

  1. Power on the DUT.
  2. Boot into the system.
  3. Log into the system by using the proper login and password.
  4. Open a terminal window and run the following command:

    sensors
    
  5. 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

  1. FIRMWARE = coreboot
  2. OPERATING_SYSTEM = Ubuntu

Test setup

  1. Proceed with the Test cases common documentation section.
  2. Install the stress-ng package: sudo apt install stress-ng.

Test steps

  1. Power on the DUT.
  2. Boot into the system.
  3. Log into the system by using the proper login and password.
  4. 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.

  5. 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
    
  6. 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.