Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 190997

Summary: sys-power/cpufrequtils - let init script also set up_threshold values with "ondemand" governor
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: Current packagesAssignee: Mobile Herd (OBSOLETE) <mobile+disabled>
Status: RESOLVED DUPLICATE    
Severity: enhancement CC: patrizio.bassi, polynomial-c
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: cpufrequtils-conf.d
cpufrequtils-init.d
cpufrequtils-conf.d
cpufrequtils-init.d

Description Pacho Ramos gentoo-dev 2007-09-01 19:12:15 UTC
I attach a conf.d and init.d files for letting cpufrequtils service set up_threshold values when ondemand governor is used

Thanks a lot

Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2007-09-01 19:12:44 UTC
Created attachment 129790 [details]
cpufrequtils-conf.d
Comment 2 Pacho Ramos gentoo-dev 2007-09-01 19:12:55 UTC
Created attachment 129791 [details]
cpufrequtils-init.d
Comment 3 Patrizio Bassi 2007-09-01 19:20:07 UTC
i think this is a great idea, i'm using my personal script in the local init....
Comment 4 Patrizio Bassi 2008-03-01 13:34:06 UTC
ping
Comment 5 Pacho Ramos gentoo-dev 2008-08-30 21:12:03 UTC
Created attachment 164132 [details]
cpufrequtils-conf.d

Updated conf.d for -r4
Comment 6 Pacho Ramos gentoo-dev 2008-08-30 21:12:22 UTC
Created attachment 164134 [details]
cpufrequtils-init.d

Updated init.d for -r4
Comment 7 SpanKY gentoo-dev 2008-10-20 16:04:15 UTC
i really think this should be set through /etc/sysctl.conf ...
Comment 8 Pacho Ramos gentoo-dev 2008-10-21 19:12:55 UTC
(In reply to comment #7)
> i really think this should be set through /etc/sysctl.conf ...
> 

How can it be done? Thanks

Anyway, I think that is useful being able to set threshold from the same file that user would use for setting governors :-)
Comment 9 SpanKY gentoo-dev 2008-10-21 20:56:21 UTC
extending cpufrequtils itself would probably make most sense ... an option that takes "governor options"

cpufreq-utils -G up_threshold=1234
Comment 10 SpanKY gentoo-dev 2010-01-15 07:38:21 UTC

*** This bug has been marked as a duplicate of bug 179729 ***