LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-11-2014, 04:36 PM   #1
Lop3
Member
 
Registered: Aug 2013
Posts: 48

Rep: Reputation: Disabled
Question CPU freq governor fast up and slow down


I've googled this quite a bit, but I haven't found a way to make the governor speed up the CPU speed to 100% instantly if CPU usage goes above 70%, and wait for CPU usage to be less than 70% for more than 10-20 seconds before scaling down.

What is an easy way to do it?

Basically I want a governor with fast up and slow down action.

Last edited by Lop3; 06-11-2014 at 04:38 PM.
 
Old 06-12-2014, 02:43 AM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Quote:
I've googled this quite a bit,
That's because your Linux kernel doesn't have a govenor
 
Old 06-12-2014, 05:05 AM   #3
Lop3
Member
 
Registered: Aug 2013
Posts: 48

Original Poster
Rep: Reputation: Disabled
Thanks, no need to be sarcastic. We're all friends who love linux here.
I didn't notice the part about kernel version.
It comes as a surprise because on the above mentioned kernel I get this
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
ondemand performance

Initially I was going to upgrade to the newest kernel version possible, thinking I'd get the best possible performance that way. But the people on one of the #debian IRC channels discouraged me saying "newer isn't always better", "sometimes it's slower" etc.

I see there have been a lot of power features added to kernels newer than 3.2.
Which kernel version would you recommend?
 
Old 06-12-2014, 01:46 PM   #4
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
It depends on what your interests are and your experience level with your operating system. If your new to Linux or your distro, I'd stay with the one that came in the package until I got comfortable troubleshooting issues on the system. You need to be able to diagnose source issues before you can get comfortable on the bleeding edge of technology. Most of the functionality you want in the later kernel is available to you in your current kernel if you learn enough about it. They (the Kernel team) use volunteers to test new functionality by including it as an optional flag in several prior kernel versions giving people like you a chance to test it out for bugs before deploying it as the default in the next kernel version.
If it's just a question of overall speed, there are a lot of strategies that don't involve kernel hacking to address that, starting with looking at how many processes your running as opposed to how many you use.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] CPU governor problem Phorize Slackware 10 11-03-2015 06:07 AM
Seeing CPU freq as adjusted by governor (from command line) hydraMax Linux - Software 8 03-08-2012 12:40 PM
CPU freq driver mrrao Linux - Hardware 1 02-14-2008 11:43 PM
how to control cpu freq ruh31 Debian 6 02-14-2005 09:58 AM
Lower CPU freq Adony Linux - Hardware 2 10-01-2004 09:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:16 AM.

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