1-Create a directory in /etc/pm-profiler/ (called Performance)
2-create the configuration file for the new profile, copy the profile template to the newly created directory: cp /usr/share/doc/packages/pm-profiler/config.template \
/etc/pm-profiler/Performance/was called config.template but renamed to Performance
3-Edit the settings in /etc/pm-profiler/testprofile/config
So i modify some lines: (in bold)
The profile name
NAME=“Performance”
Short description of the profile, what characteristics it has, etc…
DESCRIPTION=“Pass from ondemand to Performance”
Set the cpu frequency scaling governor
Possible values are powersave, performance, ondemand and userspace
4- Edit /etc/pm-profiler.conf. The PM_PROFILER_PROFILE variable defines which profile will be activated on system start. If it has no value, the
default system or kernel settings will be used. To set the newly created profile: PM_PROFILER_PROFILE=“Performance”
5-To activate the profile, run rcpm-profiler start
and it gives me : rcpm-profiler start
Activating power management profile Performancepm-profiler: the requested profile performance does not exist
unfortunately, you seem to have copied a shortened version of the link, so clicking it takes us to a 404 page
Could you additionally please tell us which version of SLES you’re using (you might want to paste the output of “cat /etc/SuSE-release” inside a [ CODE ]…[ / CODE ] (without the blanks) block)?
Oh, and I’m not sure it’s a copy&paste problem or not, but in step 2 you’re talking about a directory /etc/pm-profiler/Performance/, while in step 3 you’re editing a file from /etc/pm-profiler/testprofile/. And shouldn’t the target file in step 2 be named “/etc/pm-profiler/Performance/config”? You description imples you named it “/etc/pm-profiler/Performance/Performance”…
Version: SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 2
And yes was a missed correction of the procedure vs my config
Step 3: Edit the settings in /etc/pm-profiler/testprofile/config should have been: /etc/pm-profiler/Performance/Performance
What does “rcpm-profiler status” report? Can you start the service manually, via “rcpm-profiler start”?
As you wrote that you don’t see errors now, I’ll assume that this was in response to manually starting the service via rcpm_profile - so I take back that question
Before you replied i installed the yast2 power-management, activate the profile - reboot and cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor = performance for all cpus
chkconfig pm-profiler = on
/usr/lib/pm-profiler/enable-profile exists
and rcpm-profiler status is running