Built kernel with patches that fix CPPC issues, and re-run the test.
== Enable CPPC control in firmware ==
CAVM_CN99xx# env set cppccontrol 1
== Bionic kernel with patches ==
ubuntu@starbuck:~$ uname -a Linux starbuck 4.15.0-38-generic #41~lp1796949+build.1 SMP Tue Oct 16 17:06:56 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux ubuntu@starbuck:~$ ls -lR /sys/devices/system/cpu/cpu1/acpi_cppc/ /sys/devices/system/cpu/cpu1/acpi_cppc/: total 0 -r--r--r-- 1 root root 4096 Oct 16 18:45 feedback_ctrs -r--r--r-- 1 root root 4096 Oct 16 18:45 highest_perf -r--r--r-- 1 root root 4096 Oct 16 18:45 lowest_nonlinear_perf -r--r--r-- 1 root root 4096 Oct 16 18:45 lowest_perf -r--r--r-- 1 root root 4096 Oct 16 18:45 nominal_perf -r--r--r-- 1 root root 4096 Oct 16 18:45 reference_perf -r--r--r-- 1 root root 4096 Oct 16 18:45 wraparound_time ubuntu@starbuck:~$ cat /sys/devices/system/cpu/cpu1/acpi_cppc/highest_perf 2500000 ubuntu@starbuck:~$ cat /sys/devices/system/cpu/cpu1/acpi_cppc/lowest_perf 1000000 ubuntu@starbuck:~$ cat /sys/devices/system/cpu/cpu1/acpi_cppc/feedback_ctrs ref:2240139584 del:2315092606 ubuntu@starbuck:~$
Built kernel with patches that fix CPPC issues, and re-run the test.
== Enable CPPC control in firmware ==
CAVM_CN99xx# env set cppccontrol 1
== Bionic kernel with patches ==
ubuntu@starbuck:~$ uname -a build.1 SMP Tue Oct 16 17:06:56 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux system/ cpu/cpu1/ acpi_cppc/ system/ cpu/cpu1/ acpi_cppc/ : nonlinear_ perf system/ cpu/cpu1/ acpi_cppc/ highest_ perf system/ cpu/cpu1/ acpi_cppc/ lowest_ perf system/ cpu/cpu1/ acpi_cppc/ feedback_ ctrs
Linux starbuck 4.15.0-38-generic #41~lp1796949+
ubuntu@starbuck:~$ ls -lR /sys/devices/
/sys/devices/
total 0
-r--r--r-- 1 root root 4096 Oct 16 18:45 feedback_ctrs
-r--r--r-- 1 root root 4096 Oct 16 18:45 highest_perf
-r--r--r-- 1 root root 4096 Oct 16 18:45 lowest_
-r--r--r-- 1 root root 4096 Oct 16 18:45 lowest_perf
-r--r--r-- 1 root root 4096 Oct 16 18:45 nominal_perf
-r--r--r-- 1 root root 4096 Oct 16 18:45 reference_perf
-r--r--r-- 1 root root 4096 Oct 16 18:45 wraparound_time
ubuntu@starbuck:~$ cat /sys/devices/
2500000
ubuntu@starbuck:~$ cat /sys/devices/
1000000
ubuntu@starbuck:~$ cat /sys/devices/
ref:2240139584 del:2315092606
ubuntu@starbuck:~$