Dasharo Compatibility: CPU Status
Test cases common documentation
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.
- Proceed with the Generic test setup: OS boot from disk.
CPU001.001 CPU works (Ubuntu)
Test description
Check whether the mounted on the DUT CPU works.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
= Ubuntu
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Wait for the
OPERATING_SYSTEM
to boot and note the result.
Expected result
The OPERATING_SYSTEM
screen should be displayed.
CPU001.002 CPU works (Windows)
Test description
Check whether the mounted on the DUT CPU works.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
= Windows
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Wait for the
OPERATING_SYSTEM
to boot and note the result.
Expected result
The OPERATING_SYSTEM
screen should be displayed.
CPU002.001 CPU cache enabled (Ubuntu)
Test description
Check whether all declared for the DUT cache levels are enabled.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
= Ubuntu
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Wait for the
OPERATING_SYSTEM
to boot. -
Execute below command in terminal:
getconf -a | grep CACHE
-
Note the result.
Expected result
The output of the command should contain information about all cache levels, their size and association. Example output:
LEVEL1_ICACHE_SIZE 32768
LEVEL1_ICACHE_ASSOC 32
LEVEL1_ICACHE_LINESIZE 128
LEVEL1_DCACHE_SIZE 32768
LEVEL1_DCACHE_ASSOC 32
LEVEL1_DCACHE_LINESIZE 128
LEVEL2_CACHE_SIZE 524288
LEVEL2_CACHE_ASSOC 2048
LEVEL2_CACHE_LINESIZE 32
LEVEL3_CACHE_SIZE 10485760
LEVEL3_CACHE_ASSOC 40960
LEVEL3_CACHE_LINESIZE 32
LEVEL4_CACHE_SIZE 0
LEVEL4_CACHE_ASSOC 0
LEVEL4_CACHE_LINESIZE 0
CPU002.002 CPU cache enabled (Windows)
Test description
Check whether all declared for the DUT cache levels are enabled.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
= Windows
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Wait for the
OPERATING_SYSTEM
to boot. -
Run PowerShell as an administrator and execute command:
Get-Wmiobject -class win32_cachememory | fl Purpose, CacheType, InstalledSize
-
Note the result.
Expected result
The output of the command should contain information about all cache levels, their size and association. Example output:
Purpose : CACHE1
CacheType : 4
InstalledSize : 192
Purpose : CACHE1
CacheType : 3
InstalledSize : 128
Purpose : CACHE2
CacheType : 5
InstalledSize : 5120
Purpose : CACHE3
CacheType : 5
InstalledSize : 8192
CPU003.001 Multiple CPU support (Ubuntu)
Test description
Check whether the DUT has multiple CPU support.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
= Ubuntu
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Wait for the
OPERATING_SYSTEM
to boot. -
Execute below command in terminal:
lscpu
-
Note the result.
Expected result
The output of the command should contain basic information about the CPU,
including the number of the CPU (s)
. If CPU(s)
are more than 1, the DUT
has multiple CPU support. Example results:
Architecture: ppc64le
Byte Order: Little Endian
CPU(s): 32
On-line CPU(s) list: 0-31
Thread(s) per core: 4
Core(s) per socket: 4
Socket(s): 2
NUMA node(s): 2
CPU003.002 Multiple CPU support (Windows)
Test description
Check whether the DUT has multiple CPU support.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
= Windows
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Wait for the
OPERATING_SYSTEM
to boot. -
Run PowerShell as an administrator and execute command:
WMIC CPU Get NumberOfCores
-
Note the result.
Expected result
The output of the command should contain information about the CPUs. Example results:
NumberOfCores
4
CPU004.001 Multiple-core support (Ubuntu)
Test description
Check whether the DUT has multi-core support.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
= Ubuntu
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Wait for the
OPERATING_SYSTEM
to boot. -
Execute below command in terminal:
lscpu
-
Note the result.
Expected result
The output of the command should contain basic information about the CPU,
including the number of the Core(s) per socket
. If Core(s) per socket
are more than 1, the DUT has multi-core support. Example results:
Architecture: ppc64le
Byte Order: Little Endian
CPU(s): 32
On-line CPU(s) list: 0-31
Thread(s) per core: 4
Core(s) per socket: 4
Socket(s): 2
NUMA node(s): 2
CPU004.002 Multiple-core support (Windows)
Test description
Check whether the DUT has multi-core support.
Test configuration data
FIRMWARE
= DasharoOPERATING_SYSTEM
= Windows
Test setup
- Proceed with the Test cases common documentation section.
Test steps
- Power on the DUT.
- Wait for the
OPERATING_SYSTEM
to boot. -
Run PowerShell as an administrator and check total CPU cores by executing command:
WMIC CPU Get NumberOfCores
-
Note the result.
-
Check total CPU socket number by executing command:
(Get-CimInstance -ClassName Win32_ComputerSystem).NumberOfProcessors
-
Note the result.
Expected result
-
If number of cores is higher than number of sockets then DUT has multi-core support. Example outputs:
-
1st command:
NumberOfCores
4
- 2nd command:
1