Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-03-2013, 08:52 AM   #1
Registered: Apr 2013
Location: Brazil
Distribution: Arch Linux
Posts: 137

Rep: Reputation: Disabled
Power Management tools - Performance

I want to fully switch to Linux, but some bug is preventing me from doing so. Basically I'm playing source games (TF2, L4D2) on Steam (linux) and then my framerates drop from 150 to 10 after a few minutes. I noticed that it's caused because the cpu governor puts my cpu clock down. It's fixable by Jupiter but this program is discontinued, so I want to know from you: What power management tools are there? SIMPLE ONES, please, I'm not an expert. I tried changing some scripts like "ondemand" (sudo update-rc.d -f ondemand remove) but it doesn't work, if you know some commands that put my cpu clokc to ALWAYS PERFORMANCE, please tell me.
Old 06-03-2013, 11:53 AM   #2
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4866Reputation: 4866Reputation: 4866Reputation: 4866Reputation: 4866Reputation: 4866Reputation: 4866Reputation: 4866Reputation: 4866Reputation: 4866Reputation: 4866
Create a script with this content:
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo performance > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo performance > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
echo performance > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
echo performance > /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor
echo performance > /sys/devices/system/cpu/cpu5/cpufreq/scaling_governor
Of course you have to choose the numbers based on the number of cores you have (this is for my six-core machine).
Make the script executable and just run it as root (or with sudo, depending on your configuration)before you start gaming.
If you want to go back to normal (to lower your energy bill and temperatures) just use a similar script where you replace performance with ondemand.

Alternatively you may find a plugin for your panel (you didn't state which DE you use).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Power Management not working on embedded MIPS when using /sys/power/state RichardS Programming 1 01-21-2011 08:18 AM
Which "power distro" for lots of customizing and good system power management? mothergoose729 Linux - Distributions 11 11-18-2009 10:11 PM
Enabling power save/power management/cpu freq scaling features for a Debian system zero79 Debian 0 12-19-2004 02:17 PM
Power Management(sysfs) /sys/power/state mavrick613 Linux - General 0 05-24-2004 04:04 PM
e-learning management tools ? kambing Linux - Software 1 12-18-2003 04:46 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration