Hide Forgot
Description of problem: In Fedora PPC64LE, to optimize CPU frequency and observe CPU frequency scaling we first need load the kernel module specific to CPU freq (powernv-cpufreq) manually. Not loading this kernel module will force the system to run in defensive CPU Frequency setting (for eg 2GHz instead of 3.5GHz on Barreleye running Fedora 23) In other platforms in Fedora and in other ppc64le distributions CPU frequency scaling kernel module corresponding to the platform is enabled by default. "sudo modprobe powernv-cpufreq" seems to enable the frequency scaling . Version-Release number of selected component (if applicable): Fedora 23 How reproducible: Always Steps to Reproduce: 1.Install Fedora 23 on PPC system 2.Bootup 3.Measure frequency (ppc64_cpu --frequency) 4.Observe that measured frequency will be much lesser than max frequency of the system Actual results: For Barreleye (openpower ppc64le server) Before loading the module: [root@localhost ~]# sudo ppc64_cpu –frequency min: 2.063 GHz (cpu 126) max: 2.063 GHz (cpu 0) avg: 2.063 GHz Expected results: [live@localhost ~]$ sudo ppc64_cpu –frequency min: 3.494 GHz (cpu 120) max: 3.494 GHz (cpu 7) avg: 3.494 GHz Additional info:
In the other distributions, is the functionality built into the kernel or is it also loaded as a module? Typically the kernel doesn't load modules itself. Userspace is responsible for doing that, so if those distributions are doing it then it would be good to know how.
hi John Boyer I believe it's loaded as a module. But here's a issue that was created to implement similar feature in Ubuntu. You can use it as cross reference https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1324571
(In reply to adi.gangidi from comment #2) > hi John Boyer > > I believe it's loaded as a module. But here's a issue that was created to > implement similar feature in Ubuntu. You can use it as cross reference > > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1324571 It's not loaded as a module. They built it into the kernel.
True. It WAS loaded as a module and the request was to make it built in to the kernel. How do we proceed ?
I've made the change on all branches today. It will show up in the next build of each.
Thanks for getting this change. Will test and provide feedback.
kernel-4.6.6-300.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-90f142aa64
kernel-4.6.6-200.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-4b67f775fe
kernel-4.6.6-200.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-4b67f775fe
kernel-4.6.6-300.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-90f142aa64
kernel-4.6.6-300.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
kernel-4.6.6-200.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.