webOS Nation Forums >  Homebrew >  WebOS Internals > Govnah
Govnah
  Reply
Like Tree14Likes

 
Thread Tools Display Modes
Old 05/03/2010, 12:59 AM   #1 (permalink)
oil
Member
 
oil's Avatar
 
Posts: 863


Govnah:
Govnah is an application and service that allow you to change kernel governor settings on-the-fly.
For a complete change log, up-to-date instructions, and all other information pertaining to Govnah, Please visit the webos-internals wiki page for it: Application:Govnah - WebOS Internals.

Installation:
It can be found in Preware.



Frequently Asked Questions (FAQ):
Q - Do the settings I set with govnah "stick" or persist across reboots?
A - Yes, taping a profile will do it. (as of v0.4.0)

Q - Why doesn't govnah display my devices temperature?
A - This feature only works with kernels that have the CPU Temperature patch applied.

Q - Why are the icons in the App Catalog flashing?
A - This happens when govnah changes its icon in the launcher, which it does relatively often. If it annoys you, you can disable it in the preferences. (as of v0.2.5)

Q - Why won't the ondemand governor obey my min_freq setting?
A - This is a known kernel bug. NOT a problem with govnah. Apparently you can trick the kernel to staying above 125mhz by setting powersave bias to 1. (Reference)

Q - Does Govnah need to be open for my governor settings to work?
A - No. Once you apply the settings they're set untill your next reboot. You don't need to keep govnah open.

Q - Does Govnah need to be open to keep tabs on my cpu temperature?
A - Yes.

Q - Got any more information on the governors and settings?
A - fryedchickin made a good post about it them. The wiki has some other information, too. And of course, there are always other places with information.

Q - Why isn't my question here?
A - I'll add more as they become necessary.



Licensing Conditions:
Govnah is licensed under the GPLv2.

Last edited by oil; 08/18/2010 at 10:38 PM.
oil is offline   Reply With Quote
Liked by xandros9, digitaljok, rangerf6 and 2 others like this.
Old 05/03/2010, 01:27 AM   #2 (permalink)
Member
 
Posts: 55
Hi Oil,

nice App. Is there any chance you could add the values for Time in State?
Would be nice, so one can see in which State the Pre is most. Right now it is more a guessing game
Holliefant is offline   Reply With Quote
Old 05/03/2010, 01:29 AM   #3 (permalink)
oil
Member
 
oil's Avatar
 
Posts: 863
Yeah, thats on the todo.
oil is offline   Reply With Quote
Old 05/03/2010, 02:55 AM   #4 (permalink)
Developer
 
rwhitby's Avatar
 
Posts: 10,554
Govnah 0.2.5 is now in the testing feed.

It has a lot of work under the hood for future support of displaying items in the dashboard, but that's not ready for release yet.

But we did want to release a version that was safe to leave open permanently and not use up all your memory, so version 0.2.5 now stores only the last 300 samples (5 minutes if you're sampling once per second) in memory and discards any earlier samples.

All the changes are in the front-end Mojo app (which is developed almost 100% by oil).

-- Rod
__________________
WebOS Internals and Preware Founder and Developer
You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
All donations go back into development.
www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
rwhitby is offline   Reply With Quote
Old 05/03/2010, 03:59 AM   #5 (permalink)
Member
 
Spunks3's Avatar
 
Posts: 127
simply... amazing.
Spunks3 is offline   Reply With Quote
Old 05/03/2010, 04:05 AM   #6 (permalink)
oil
Member
 
oil's Avatar
 
Posts: 863
Quote:
Originally Posted by rwhitby View Post
Govnah 0.2.5 is now in the testing feed.
It's also got changes to the choices for sampling_rate and powersave_bias that were suggested in the kernel thread.
oil is offline   Reply With Quote
Thanked by circuitjc, Holliefant
Old 05/03/2010, 05:32 AM   #7 (permalink)
Member
 
Posts: 37
Updated to Govnah 0.2.5 and noticed the "last temp" doesn't display on the launcher icon anymore with Govnah closed. Is this by design? It would make sense if it is since the last temp number doesn't give you current info...
Thanks for everything, JB
jkb2618 is offline   Reply With Quote
Old 05/03/2010, 05:51 AM   #8 (permalink)
Developer
 
rwhitby's Avatar
 
Posts: 10,554
Quote:
Originally Posted by jkb2618 View Post
Updated to Govnah 0.2.5 and noticed the "last temp" doesn't display on the launcher icon anymore with Govnah closed. Is this by design? It would make sense if it is since the last temp number doesn't give you current info...
Thanks for everything, JB
Yep, that is intentional - oil thinks of everything.

-- Rod
rwhitby is offline   Reply With Quote
Thanked By: Holliefant
Old 05/03/2010, 06:30 AM   #9 (permalink)
Member
 
Posts: 901
Does it have to be running to work?
__________________
Laissez Faire
prubin is offline   Reply With Quote
Old 05/03/2010, 07:59 AM   #10 (permalink)
Homebrew Developer
 
Posts: 144
it would be nice to be able to "reset" time_in_state. This would work by having Govnah re,ember the current values when you choose to reset them and then to substract then rememberwd values from the current value qhen they are displayed.

this would enable one to more easily monitor the effect of different governor settings.

what do you think?
ukabu is offline   Reply With Quote
Old 05/03/2010, 09:23 AM   #11 (permalink)
Member
 
Posts: 775
I just installed this, and not sure if im doing this improper but im not getting a temp reading inside the application? just says ... ?

What would be a good start zone for the powersave_bais?
Klownicle#AC is offline   Reply With Quote
Old 05/03/2010, 09:25 AM   #12 (permalink)
Developer
 
rwhitby's Avatar
 
Posts: 10,554
Quote:
Originally Posted by Klownicle View Post
I just installed this, and not sure if im doing this improper but im not getting a temp reading inside the application? just says ... ?
See the first post of the thread.

-- Rod
__________________
WebOS Internals and Preware Founder and Developer
You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
All donations go back into development.
www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
rwhitby is offline   Reply With Quote
Old 05/03/2010, 09:27 AM   #13 (permalink)
Member
 
grappler's Avatar
 
Posts: 798
Quote:
Originally Posted by rwhitby View Post
Yep, that is intentional - oil thinks of everything.

-- Rod
I had parked the Govnah icon on the QuickLaunch, which is a good place to get updated temp readings. I need to leave the card open for that to work now, right? Great program.
grappler is offline   Reply With Quote
Old 05/03/2010, 09:32 AM   #14 (permalink)
Member
 
Posts: 775
Quote:
Originally Posted by grappler View Post
I had parked the Govnah icon on the QuickLaunch, which is a good place to get updated temp readings. I need to leave the card open for that to work now, right? Great program.
Derrr.. In that case, what would be your recommend kernal to use with this application?
Klownicle#AC is offline   Reply With Quote
Liked by A05049 likes this.
Old 05/03/2010, 09:33 AM   #15 (permalink)
Developer
 
rwhitby's Avatar
 
Posts: 10,554
Quote:
Originally Posted by grappler View Post
I had parked the Govnah icon on the QuickLaunch, which is a good place to get updated temp readings. I need to leave the card open for that to work now, right?
That is correct. And it is now safe to do so with version 0.2.5 or later.

Note that you may want to reduce the polling rate, so that Govnah does not wake up every second just to update the temperature icon (taking a tiny bit of power each time to do so ...)

-- Rod
__________________
WebOS Internals and Preware Founder and Developer
You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
All donations go back into development.
www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
rwhitby is offline   Reply With Quote
Old 05/03/2010, 09:35 AM   #16 (permalink)
Developer
 
rwhitby's Avatar
 
Posts: 10,554
Quote:
Originally Posted by Klownicle View Post
Derrr.. In that case, what would be your recommend kernal to use with this application?
The one listed in the description of the Govnah package in Preware would be a good one to start with

-- Rod (who wonders why he writes documentation at all ...)
__________________
WebOS Internals and Preware Founder and Developer
You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
All donations go back into development.
www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
rwhitby is offline   Reply With Quote
Thanked By: SirataXero
Old 05/03/2010, 09:38 AM   #17 (permalink)
Member
 
Posts: 775
[QUOTE=rwhitby;2419521]The one listed in the description of the Govnah package in Preware would be a good one to start with

-- Rod (who wonders why he writes documentation at all ...)[/QUOTE]

I'm Sorry LOL....

Thanks for all your work, ill go from there.
Klownicle#AC is offline   Reply With Quote
Old 05/03/2010, 09:55 AM   #18 (permalink)
Member
 
proudfrog's Avatar
 
Posts: 43
Anyone have any idea why my Pre freezes up when I open up the ondemand governor?
proudfrog is offline   Reply With Quote
Old 05/03/2010, 09:59 AM   #19 (permalink)
Developer
 
rwhitby's Avatar
 
Posts: 10,554
Quote:
Originally Posted by proudfrog View Post
Anyone have any idea why my Pre freezes up when I open up the ondemand governor?
It's likely that your device has problems at 125MHz or 800MHz.

Try setting the range from 500 to 600 first using the performance governor, and then experiment with the ondemand governor.

-- Rod
__________________
WebOS Internals and Preware Founder and Developer
You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
All donations go back into development.
www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
rwhitby is offline   Reply With Quote
Old 05/03/2010, 10:09 AM   #20 (permalink)
Member
 
proudfrog's Avatar
 
Posts: 43
Thanks. Should I also increase the min freq of each of the other governors?
proudfrog is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0