Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ondemand + cpufrequtils ... lower idle speed?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Genewb
Apprentice
Apprentice


Joined: 09 Jan 2007
Posts: 165

PostPosted: Sat May 26, 2007 5:45 pm    Post subject: ondemand + cpufrequtils ... lower idle speed? Reply with quote

Ok, I've finally got cpufrequtils working (thanks to the fix in this bug) ... But I'm a bit disappointed that ondemand only takes the processor (C2Q) down to 1.6GHz when the core is completely idle.

I haven't had an Intel processor for a long time, and I certainly haven't had one with SpeedStep, but I was under the impression that SpeedStep clamped down really hard compared with PowerNow.

Is it possible to get ondemand to automatically set each core lower than 1.6GHz on idle?
Back to top
View user's profile Send private message
vaxbrat
l33t
l33t


Joined: 05 Oct 2005
Posts: 731
Location: DC Burbs

PostPosted: Sun May 27, 2007 2:56 am    Post subject: I'm looking at this right now myself Reply with quote

on a Turion laptop. cpufreqd goes ondemand on ac-adapter but I still see the freq maxxed even tho it's sitting around with its thumb up its posterior. I may switch it to conservative on next boot to see what happens.
Back to top
View user's profile Send private message
Ingmarv
Retired Dev
Retired Dev


Joined: 27 Feb 2007
Posts: 188
Location: Belgium

PostPosted: Sun May 27, 2007 8:18 am    Post subject: Re: I'm looking at this right now myself Reply with quote

vaxbrat wrote:
I may switch it to conservative on next boot to see what happens.

You can just do :
Code:
cpufreq-set -g conservative
Back to top
View user's profile Send private message
vaxbrat
l33t
l33t


Joined: 05 Oct 2005
Posts: 731
Location: DC Burbs

PostPosted: Mon May 28, 2007 2:05 am    Post subject: even conservative didn't take Reply with quote

I changed my profile to switch to conservative but the freq was still maxxed out when I looked at it in /sys<mumble>
It didn't actually clock downward until I pulled the plug and it switched to powersave profile. Curious thing, since I was seeing well below the 20% trigger that I thought would get ondemand and conservative to switch things downward. I think I need to take another look at the docs.

To add further insult, it looks like the latest laptop-mode update has borked suspend when I close the lid. <sigh>
Back to top
View user's profile Send private message
vaxbrat
l33t
l33t


Joined: 05 Oct 2005
Posts: 731
Location: DC Burbs

PostPosted: Wed May 30, 2007 6:01 pm    Post subject: slapping head Reply with quote

kde got me again. Every once in a while, a kde update will want to have me back into control panel to reset the helper app for acpi support. It would appear that the kde controls take precedence for profile adjustments.

Strange thing now is my keyboard goes away every once in a while when doing a resume from suspect and I have to do a full restart. Mouse is still fine. Not sure if it's something with kernel 21 or what.
Back to top
View user's profile Send private message
Genewb
Apprentice
Apprentice


Joined: 09 Jan 2007
Posts: 165

PostPosted: Sat Jun 02, 2007 1:33 am    Post subject: Reply with quote

Does anyone know whether this is possible?

Available frequencies only lists 240000 and 160000, even though logically with 9*fsb and 6*fsb available, 3*fsb should be available as well. Does it just require a configuration, or a simple hack of ondemand/conservative?

Another question: If I overclock it, will ondemand automatically adjust and set it 6* and 9* of that frequency without throwing an error?
Back to top
View user's profile Send private message
Genewb
Apprentice
Apprentice


Joined: 09 Jan 2007
Posts: 165

PostPosted: Wed Jun 06, 2007 2:29 am    Post subject: Reply with quote

This is very strange:
When clocked at 2.7GHz, scaling_available_frequencies gives 900000 600000 (900MHz, 600MHz) Surely something's wrong there?
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9891
Location: almost Mile High in the USA

PostPosted: Wed Jun 06, 2007 5:08 pm    Post subject: Reply with quote

A lot of these depend on the hardware.

On my P4 it has hardware support for ( 1-8 )/8 clock frequency scaling, and in cpufreq it shows the un-overclocked scaling frequencies (i.e. it ignores overclock to show frequencies).

On my P-M, it uses speedstep and shows 600MHz-1600MHz in 8 steps which is kind of weird.

Basically it boils down to whatever the hardware says it can support (depending on the driver, P4-modulation, speedstep, acpi, powernow, etc.). FSB multiples do not necessarily correspond to frequencies available...

(oh btw, I've found my p4 does not seem to noticeably use much more power when running HLT at 2.4GHz or 300MHz, so I stopped clocking down with cpufreq.)
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum