The "CPU frequency scaling tests" item of FWTS.
Huang, Bryan
bryanhuang at hpe.com
Tue Feb 2 02:44:01 UTC 2021
Hi Alex and FWTS members,
Here is TPE HPE Bryan Huang.
We tried to run the "CPU frequency scaling tests" of FWTS and encountered the following issue.
[cid:image005.jpg at 01D6E2BC.FC31F5F0]
So we used the "Processors are set to SW_ANY." string to search the FWTS code.
We find the cpufreq_test_sw_any function to test the item.
The function will set all processor to their lowest speed first, and then set all processor to their highest speed.
Finally, the function will set all processor to their lowest speed again.
It seems that "if ((high_perf > newhigh_perf) && (high_perf - newhigh_perf > (high_perf - low_perf)/4) && (high_perf - low_perf > 20))" is satisfied, so the variable ok will be set to false.
Do you have any suggestions for the issue?
Please refer to the following information.
File location: src\cpu\cpufreq\cpufreq.c
[cid:image008.jpg at 01D6F950.4AFDDF60]
[cid:image009.jpg at 01D6F950.4AFDDF60]
[cid:image010.jpg at 01D6F950.4AFDDF60]
Thanks.
Best regards,
Bryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/fwts-devel/attachments/20210202/32f7388c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: oledata.mso
Type: application/octet-stream
Size: 39022 bytes
Desc: oledata.mso
URL: <https://lists.ubuntu.com/archives/fwts-devel/attachments/20210202/32f7388c/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image011.png
Type: image/png
Size: 63899 bytes
Desc: image011.png
URL: <https://lists.ubuntu.com/archives/fwts-devel/attachments/20210202/32f7388c/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 56418 bytes
Desc: image002.jpg
URL: <https://lists.ubuntu.com/archives/fwts-devel/attachments/20210202/32f7388c/attachment-0004.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image008.jpg
Type: image/jpeg
Size: 73401 bytes
Desc: image008.jpg
URL: <https://lists.ubuntu.com/archives/fwts-devel/attachments/20210202/32f7388c/attachment-0005.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image009.jpg
Type: image/jpeg
Size: 69643 bytes
Desc: image009.jpg
URL: <https://lists.ubuntu.com/archives/fwts-devel/attachments/20210202/32f7388c/attachment-0006.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image010.jpg
Type: image/jpeg
Size: 54278 bytes
Desc: image010.jpg
URL: <https://lists.ubuntu.com/archives/fwts-devel/attachments/20210202/32f7388c/attachment-0007.jpg>
More information about the fwts-devel
mailing list