Hi!
I test with below two cpu to test:
- Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
- Intel(R) Atom(TM) CPU S1240 @ 1.60GHz
With below action:
make -C cpuidle cpuidle_killer
make -C cputopology run_tests
Both cpu fail with cputopology_04:
cputopology_04.0: no cpus directory present... skip
cputopology_04: skip
I check the code:
if ! [ -d /sys/firmware/devicetree/base/cpus ]; then
log_skip "no cpus directory present"
return
fi
But i do not really know what this dir mean and do not get detail info
fron google.
Is that only enable on specified type of cpu? or i miss some config
about it?
Thanks
Xiang
Hi!
I test with below two cpu to test:
- Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
- Intel(R) Atom(TM) CPU S1240 @ 1.60GHz
With below action:
make -C cpuidle cpuidle_killer
make -C cpuhotplug run_tests
With Xeon, 04/04/06 failed:
cpuhotplug_04.0/cpu85: checking affinity is set... Err
cpuhotplug_04.1/cpu85: checking offlining a cpu with affinity succeed... Ok
cpuhotplug_04.2/cpu85: checking affinity changed... Ok
cpuhotplug_04.0/cpu86: checking affinity is set... Err
cpuhotplug_04.1/cpu86: checking offlining a cpu with affinity succeed... Ok
cpuhotplug_04.2/cpu86: checking affinity changed... Ok
cpuhotplug_04.0/cpu87: checking affinity is set... Err
cpuhotplug_04.1/cpu87: checking offlining a cpu with affinity succeed... Ok
cpuhotplug_04.2/cpu87: checking affinity changed... Ok
cpuhotplug_04.0/cpu9: checking affinity is set... Ok
cpuhotplug_04.1/cpu9: checking offlining a cpu with affinity succeed... Ok
cpuhotplug_04.2/cpu9: checking affinity changed... Ok
cpuhotplug_04: fail
cpuhotplug_05.0/cpu8: checking offline processor not found in cpuinfo... Err
cpuhotplug_05.0/cpu80: checking offline processor not found in cpuinfo... Ok
cpuhotplug_05.0/cpu81: checking offline processor not found in cpuinfo... Ok
cpuhotplug_05.0/cpu82: checking offline processor not found in cpuinfo... Ok
cpuhotplug_05.0/cpu83: checking offline processor not found in cpuinfo... Ok
cpuhotplug_05.0/cpu84: checking offline processor not found in cpuinfo... Ok
cpuhotplug_05.0/cpu85: checking offline processor not found in cpuinfo... Ok
cpuhotplug_05.0/cpu86: checking offline processor not found in cpuinfo... Ok
cpuhotplug_05.0/cpu87: checking offline processor not found in cpuinfo... Ok
cpuhotplug_05.0/cpu9: checking offline processor not found in cpuinfo... Ok
cpuhotplug_05: fail
cpuhotplug_06.0/cpu8: checking offline processor not found in interrupts... Err
cpuhotplug_06.0/cpu80: checking offline processor not found in interrupts... Ok
cpuhotplug_06.0/cpu81: checking offline processor not found in interrupts... Ok
cpuhotplug_06.0/cpu82: checking offline processor not found in interrupts... Ok
cpuhotplug_06.0/cpu83: checking offline processor not found in interrupts... Ok
cpuhotplug_06.0/cpu84: checking offline processor not found in interrupts... Ok
cpuhotplug_06.0/cpu85: checking offline processor not found in interrupts... Ok
cpuhotplug_06.0/cpu86: checking offline processor not found in interrupts... Ok
cpuhotplug_06.0/cpu87: checking offline processor not found in interrupts... Ok
cpuhotplug_06.0/cpu9: checking offline processor not found in interrupts... Ok
cpuhotplug_06: fail
With Atom cpu, all passed.
I google this cpu feather but do not get detail info about it.
I wonder the difference between those two cpus and can enable those
tests on Xeon if possible.
Thanks
Xiang
Hi!
I use a kvm based on Intel(R) Atom(TM) CPU S1240 @ 1.60GHz Atom cpu to test.
The cmd which create vm is qemu-system-x86_64 -enable-kvm -cpu host.
Only cputopology_04 skip:
### cputopology_01:
### test the topology is implemented in the kernel
### https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/P…
###
cputopology_01.0/cpu0: checking topology is enabled... Ok
cputopology_01.0/cpu1: checking topology is enabled... Ok
cputopology_01.0/cpu2: checking topology is enabled... Ok
cputopology_01.0/cpu3: checking topology is enabled... Ok
cputopology_01: pass
###
### cputopology_02:
### test the topology files are present
### https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/P…
###
cputopology_02.0/cpu0: checking 'core_id' exists in '/sys/devices/system/cpu/cpu0/topology'... Ok
cputopology_02.1/cpu0: checking 'core_siblings' exists in '/sys/devices/system/cpu/cpu0/topology'... Ok
cputopology_02.2/cpu0: checking 'core_siblings_list' exists in '/sys/devices/system/cpu/cpu0/topology'... Ok
cputopology_02.3/cpu0: checking 'physical_package_id' exists in '/sys/devices/system/cpu/cpu0/topology'... Ok
cputopology_02.4/cpu0: checking 'thread_siblings' exists in '/sys/devices/system/cpu/cpu0/topology'... Ok
cputopology_02.5/cpu0: checking 'thread_siblings_list' exists in '/sys/devices/system/cpu/cpu0/topology'... Ok
cputopology_02.0/cpu1: checking 'core_id' exists in '/sys/devices/system/cpu/cpu1/topology'... Ok
cputopology_02.1/cpu1: checking 'core_siblings' exists in '/sys/devices/system/cpu/cpu1/topology'... Ok
cputopology_02.2/cpu1: checking 'core_siblings_list' exists in '/sys/devices/system/cpu/cpu1/topology'... Ok
cputopology_02.3/cpu1: checking 'physical_package_id' exists in '/sys/devices/system/cpu/cpu1/topology'... Ok
cputopology_02.4/cpu1: checking 'thread_siblings' exists in '/sys/devices/system/cpu/cpu1/topology'... Ok
cputopology_02.5/cpu1: checking 'thread_siblings_list' exists in '/sys/devices/system/cpu/cpu1/topology'... Ok
cputopology_02.0/cpu2: checking 'core_id' exists in '/sys/devices/system/cpu/cpu2/topology'... Ok
cputopology_02.1/cpu2: checking 'core_siblings' exists in '/sys/devices/system/cpu/cpu2/topology'... Ok
cputopology_02.2/cpu2: checking 'core_siblings_list' exists in '/sys/devices/system/cpu/cpu2/topology'... Ok
cputopology_02.3/cpu2: checking 'physical_package_id' exists in '/sys/devices/system/cpu/cpu2/topology'... Ok
cputopology_02.4/cpu2: checking 'thread_siblings' exists in '/sys/devices/system/cpu/cpu2/topology'... Ok
cputopology_02.5/cpu2: checking 'thread_siblings_list' exists in '/sys/devices/system/cpu/cpu2/topology'... Ok
cputopology_02.0/cpu3: checking 'core_id' exists in '/sys/devices/system/cpu/cpu3/topology'... Ok
cputopology_02.1/cpu3: checking 'core_siblings' exists in '/sys/devices/system/cpu/cpu3/topology'... Ok
cputopology_02.2/cpu3: checking 'core_siblings_list' exists in '/sys/devices/system/cpu/cpu3/topology'... Ok
cputopology_02.3/cpu3: checking 'physical_package_id' exists in '/sys/devices/system/cpu/cpu3/topology'... Ok
cputopology_02.4/cpu3: checking 'thread_siblings' exists in '/sys/devices/system/cpu/cpu3/topology'... Ok
cputopology_02.5/cpu3: checking 'thread_siblings_list' exists in '/sys/devices/system/cpu/cpu3/topology'... Ok
cputopology_02: pass
###
### cputopology_03:
### test that the sched_domain files are present and show the topology related flags
### https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/P…
###
cputopology_03.0/cpu0: checking sched_domain_flags (domain 0)... Ok
domain0 flag 0x102f
domain0 share cpu capacity flag not set
domain0 share power domain flag not set
domain0 share cpu package resources flag not set
cputopology_03.0/cpu1: checking sched_domain_flags (domain 0)... Ok
domain0 flag 0x102f
domain0 share cpu capacity flag not set
domain0 share power domain flag not set
domain0 share cpu package resources flag not set
cputopology_03.0/cpu2: checking sched_domain_flags (domain 0)... Ok
domain0 flag 0x102f
domain0 share cpu capacity flag not set
domain0 share power domain flag not set
domain0 share cpu package resources flag not set
cputopology_03.0/cpu3: checking sched_domain_flags (domain 0)... Ok
domain0 flag 0x102f
domain0 share cpu capacity flag not set
domain0 share power domain flag not set
domain0 share cpu package resources flag not set
cputopology_03: pass
###
### cputopology_04:
### Test capacity calculation (this is based on
the algorithm in arch/arm/kernel/topology.c),
make sure that the information in
/sys/firmware/devicetree/base/cpus corresponds
to that reported by the kernel log.
### https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/P…
###
cputopology_04.0: no cpus directory present... skip <===
cputopology_04: skip
The skip reason is that there is not /sys/firmware/devicetree/base/cpus.
But i do not find how to enable this.
Could you help me?
Thanks
Xiang
Hi!
I test with below two cpu to test:
- Intel(R) Xeon(R) CPU E7-8890 v4 @ 2.20GHz
- Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz
With below action:
make -C cpuidle cpuidle_killer
make -C cpufreq run_tests
And only cpufreq_02 and cpufreq_03 can pass.
Log as below(ignore pass part):
make: Entering directory '/lkp/benchmarks/pm-qa/cpufreq'
###
### cpufreq_01:
### test the cpufreq framework is available for frequency
### https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/P…
###
cpufreq_01.0/cpu0: checking 'scaling_available_frequencies' exists in '/sys/devices/system/cpu/cpu0/cpufreq'... Err
cpufreq_01.0/cpu1: checking 'scaling_available_frequencies' exists in '/sys/devices/system/cpu/cpu1/cpufreq'... Err
cpufreq_01.0/cpu10: checking 'scaling_available_frequencies' exists in '/sys/devices/system/cpu/cpu10/cpufreq'... Err
###
### cpufreq_04:
### test the change of the frequency is effective in 'userspace' mode
### https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/P…
###
cpufreq_04.0: userspace not supported... skip
cpufreq_04: skip
###
### cpufreq_05:
### test 'ondemand' and 'conservative' trigger correctly the configuration directory
### https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/P…
###
cpufreq_05.0: ondemand not supported... skip
cpufreq_05.1: conservative not supported... skip
cpufreq_05.2: userspace not supported... skip
cpufreq_05.3: checking 'ondemand' directory exists... Err
cpufreq_05.4: checking 'conservative' directory exists... Err
cpufreq_05: fail
###
### cpufreq_06:
### test the change of the frequencies affect the performances of a test program
### https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/P…
###
cpufreq_06.0: userspace not supported... skip
###
### cpufreq_07:
### test the load of the cpu affects the frequency with 'ondemand'
### https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/P…
###
cpufreq_07.0: ondemand not supported... skip
###
### cpufreq_08:
### test the load of the cpu does not affect the frequency with 'userspace'
### https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/P…
###
cpufreq_08.0: userspace not supported... skip
###
### cpufreq_09:
### test the load of the cpu does not affect the frequency with 'powersave'
### https://wiki.linaro.org/WorkingGroups/PowerManagement/Resources/TestSuite/P…
###
cpufreq_09.0/cpu0: checking 'powersave' sets frequency to 1200000 KHz... Err
cpufreq_09.1/cpu0: checking 'powersave' frequency 1200000 KHz is fixed... Err
cpufreq_09.0/cpu1: checking 'powersave' sets frequency to 1200000 KHz... Err
cpufreq_09.1/cpu1: checking 'powersave' frequency 1200000 KHz is fixed... Err
cpufreq_09.0/cpu10: checking 'powersave' sets frequency to 1200000 KHz... Err
I check cpus and make sure two cpus can support cpufreq refer to
https://www.kernel.org/doc/Documentation/cpu-freq/user-guide.txt.
Do i miss something important or this subtest can not all pass with
Intel cpu?
Thanks
Xiang
Hi,
ci.linaro.org is currently unresponsive and the service requires to be
restarted.
It's an unscheduled reboot, sorry for the short notice and inconvenience.
Cheers,
--
Fathi Boudra
Technical Lead | Builds and Baselines, Release
Linaro.org | Open source software for ARM SoCs