# Unable to Create/Use Power Management Profiles

**URL:** <https://forums.suse.com/t/unable-to-create-use-power-management-profiles/25445>\
**Category:** SLES Configure-Administer\
**Created:** [April 23, 2014, 11:14pm UTC](https://forums.suse.com/t/unable-to-create-use-power-management-profiles/25445 "2014-04-23T23:14:02Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![david20100](https://avatars.discourse-cdn.com/v4/letter/d/b4bc9f/32.png) [@david20100](https://forums.suse.com/u/david20100)\
**Post date:** [April 23, 2014, 11:14pm UTC](https://forums.suse.com/t/unable-to-create-use-power-management-profiles/25445/1 "2014-04-23T23:14:02Z")

</div>

Hi Everybody,

I try to follow those steps [https://www.suse.com/documentation/s…er.pm-profiler](https://www.suse.com/documentation/s...er.pm-profiler) (11.5) and got some errors.

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

# 

# Kernel documenatation: cpu-freq/user-guide.txt

# 

# File: /sys/devices/system/cpu/cpu\*/cpufreq/scaling\_governor

# 

CPUFREQ\_GOVERNOR=“performance”

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

thanks for the help

---

<div class="post-metadata">

**Author:** ![Jens-U](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Post date:** [April 24, 2014, 2:33pm UTC](https://forums.suse.com/t/unable-to-create-use-power-management-profiles/25445/2 "2014-04-24T14:33:09Z")

</div>

Hi david20100,

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”…

Regards,  
Jens

---

<div class="post-metadata">

**Author:** ![david20100](https://avatars.discourse-cdn.com/v4/letter/d/b4bc9f/32.png) [@david20100](https://forums.suse.com/u/david20100)\
**Post date:** [April 24, 2014, 3:23pm UTC](https://forums.suse.com/t/unable-to-create-use-power-management-profiles/25445/3 "2014-04-24T15:23:33Z")

</div>

Thanks for the answer  
Here’s the link [http://doc.opensuse.org/products/draft/SLES/SLES-tuning\_sd\_draft/cha.tuning.power.html#sec.tuning.power.pm-profiler](http://doc.opensuse.org/products/draft/SLES/SLES-tuning_sd_draft/cha.tuning.power.html#sec.tuning.power.pm-profiler)

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

thanks

---

<div class="post-metadata">

**Author:** ![Jens-U](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Post date:** [April 24, 2014, 3:36pm UTC](https://forums.suse.com/t/unable-to-create-use-power-management-profiles/25445/4 "2014-04-24T15:36:25Z")

</div>

Hi david20100,

> [@david20100;20803](#):
>
> Step 3: Edit the settings in /etc/pm-profiler/testprofile/config should have been: /etc/pm-profiler/Performance/Performance

I believe it has to be “/etc/pm-profiler/Performance/config”.

Maybe that’s the cause of your error message?

Regards,  
Jens

---

<div class="post-metadata">

**Author:** ![david20100](https://avatars.discourse-cdn.com/v4/letter/d/b4bc9f/32.png) [@david20100](https://forums.suse.com/u/david20100)\
**Post date:** [April 24, 2014, 3:56pm UTC](https://forums.suse.com/t/unable-to-create-use-power-management-profiles/25445/5 "2014-04-24T15:56:03Z")

</div>

I rename the file called performance to config and it works perfectly - thanks for the helps

---

<div class="post-metadata">

**Author:** ![david20100](https://avatars.discourse-cdn.com/v4/letter/d/b4bc9f/32.png) [@david20100](https://forums.suse.com/u/david20100)\
**Post date:** [April 24, 2014, 4:34pm UTC](https://forums.suse.com/t/unable-to-create-use-power-management-profiles/25445/6 "2014-04-24T16:34:39Z")

</div>

Finally works = no more error, but profile is not activated after a reboot

---

<div class="post-metadata">

**Author:** ![Jens-U](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Post date:** [April 24, 2014, 4:57pm UTC](https://forums.suse.com/t/unable-to-create-use-power-management-profiles/25445/7 "2014-04-24T16:57:52Z")

</div>

Hi david20100,

> [@david20100;20809](#):
>
> Finally works = no more error, but profile is not activated after a reboot

does “chkconfig pm-profiler” report “off”? Then you need to enable the service, i.e. via “insserv pm-profiler”.

Does the file “/usr/lib/pm-profiler/enable-profile” exist? If not, the init script will abort.

What does “rcpm-profiler status” report? Can you start the service manually, via “rcpm-profiler start”?

Regards,  
Jens

---

<div class="post-metadata">

**Author:** ![Jens-U](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Post date:** [April 24, 2014, 5:01pm UTC](https://forums.suse.com/t/unable-to-create-use-power-management-profiles/25445/8 "2014-04-24T17:01:35Z")

</div>

> 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 🙂

Regards,  
Jens

---

<div class="post-metadata">

**Author:** ![david20100](https://avatars.discourse-cdn.com/v4/letter/d/b4bc9f/32.png) [@david20100](https://forums.suse.com/u/david20100)\
**Post date:** [April 24, 2014, 5:14pm UTC](https://forums.suse.com/t/unable-to-create-use-power-management-profiles/25445/9 "2014-04-24T17:14:48Z")

</div>

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

thanks again for your helps
