cpufrequtils governor is not working as expected to set performance mode from ondemand
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
In Progress
|
Medium
|
Prabhuraj K | ||
Mitaka |
In Progress
|
Medium
|
Prabhuraj K | ||
Newton |
In Progress
|
Medium
|
Prabhuraj K |
Bug Description
Requirement is to set the cpufrequtils to performance from ondemand on compute node, this is handled by code in fuel-library.
Process during deployment :
1. Package named "cpufrequtils" got installed
2. File "/etc/default/
3. Service is ensured to present in next boot but service is not restarted.
I have checked the value of my cpufrequtils using following commands:
1. root@compute01:~# grep MHz /proc/cpuinfo
cpu MHz : 1200.000
cpu MHz : 1200.000
cpu MHz : 1200.000
cpu MHz : 1200.000
2. root@compute01:~# cat /etc/default/
GOVERNOR=
3. root@compute01:~# cat /sys/devices/
ondemand
root@compute01:~# cat /sys/devices/
conservative ondemand userspace powersave performance
when I restart/reload the cpufrequtils , the value of CPU MHz is changed to 2500 from 1200, again i rebooted my machine and check this value still it showws me 1200 after reboot. When i check the rc3.d found that ondemand is making this value to set 1200 from 2500 . SO cpufrequtils is setting the value to 2500 and end ondemand reset the value to 1200.
So, I have disabled ondemand on next reboot , Then it works fine and I call see the value as 2500 and performance set for all cpu as below.
root@compute01:~# grep MHz /proc/cpuinfo
cpu MHz : 2500.000
cpu MHz : 2500.000
cpu MHz : 2500.000
cpu MHz : 2500.000
root@compute01:~# cat /sys/devices/
performance
This need to fix in fuel-library on
"fuel-
Changed in fuel: | |
milestone: | none → 11.0 |
assignee: | nobody → Fuel Sustaining (fuel-sustaining-team) |
importance: | Undecided → Medium |
status: | New → Confirmed |
tags: | added: area-linux |
no longer affects: | fuel |
Changed in fuel: | |
assignee: | nobody → Prabhuraj K (prabhuraj) |
Changed in fuel: | |
status: | New → In Progress |
Changed in fuel: | |
milestone: | none → 10.1 |
importance: | Undecided → Medium |
https:/ /review. openstack. org/397459