webOS Nation Forums >  webOS smartphones (Pre, Pixi, Veer) >  Palm Pre and Pre Plus > Screen on: 800MHz, Screen off: 500MHz - Uber-Kernel 3rd generation overclocking
Screen on: 800MHz, Screen off: 500MHz - Uber-Kernel 3rd generation overclocking

  Reply
 
LinkBack Thread Tools Display Modes
Old 05/01/2010, 05:46 AM   #1 (permalink)
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default Screen on: 800MHz, Screen off: 500MHz - Uber-Kernel 3rd generation overclocking

The third generation of overclocking kernels for the Palm Pre/Pre+ has now arrived!

Uber-Kernel: Govnah:

The WebOS Internals Uber-Kernel now contains unixpsycho's revolutionary new "screenstate" governor.

The design and philosophy of the "screenstate" governor is very easy to understand:

Run fast when the screen is on.
Run slow when the screen is off.


The "screenstate" governor runs the device at your maximum selected frequency when the screen is on (you can choose any frequency you like, but 550MHz, 600MHz, 720MHz or 800MHz are really the only ones that make sense), and scales the frequency back to 500MHz when the screen is off (including when on the touchstone with the screen locked display).

In the future, when we have solved the 125MHz hang-on-resume bug in Palm's kernel, we will allow selection of lower screen-off frequencies. Note that when the CPU is idle, the clocks are stopped completely, as is the case for all kernels for the Palm Pre.

The Govnah application will automatically sense the new governor that is available, and will make it available for your selection. If you are already running the Govnah application, you do not need a new version of Govnah - it's all automatic!

To install or update the Uber-Kernel, just make sure you are running the latest version of Preware or Preware Alpha, and then update your feeds and type "uber" on the main screen to find it. You can find the companion Govnah application the same way. No need for installation manuals or cinematic videos, just click to install in Preware and you're done.

See http://bit.ly/uber-screenstate for the official PreCentral WebOS Internals sub-forum thread discussing the Uber-Kernel and Govnah.

If you are running another overclocking solution, you will need to uninstall it before being able to install the Uber-Kernel - there are safety checks to ensure that your kernel files are in a pristine state before the Uber-Kernel will install. You should use the uninstall instructions for the other overclocking solution you are using, but as a last resort you can use the Palm Kernel package in Preware to restore your kernel files to pristine state.

WebOS Internals will continue to develop next generation overclocking solutions - the new "screenstate" governor is just the beginning!

If you're not familiar with the Govnah application, some screenshots are below. You will notice that they show the internal CPU temperature sensor that can be found in the Uber-Kernel (not the thermally distant battery temperature sensor), and also some of the 6 governors (userspace, conservative, powersave, ondemand, performance, screenstate) available in the Uber-Kernel which can all be controlled by the Govnah application.





For GPL compliance purposes, the source code for this kernel can be found in the kernels/patches.git repository at git.webos-internals.org - those patches apply (as embodied in the automated build process) against the upstream Linux 2.6.24 kernel and the Palm kernel patches hosted at opensource.palm.com (and mirrored on sources.nslu2-linux.org/sources to ensure continued GPL compliance even if Palm removes their site). The build infrastructure can be found in the preware/build.git repository at git.webos-internals.org and we encourage other developers to build their own kernels to verify the transparency of our build process for security trust verification.

-- 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

Last edited by rwhitby; 05/06/2010 at 01:05 AM.
rwhitby is offline   Reply With Quote
Thanked by 07wrangler, ABQMD, acraniotes, Airwolf79, AOW, Aphex13, ArneVC, aughtism, BAbnkr, Babywayne, badjokes, Barona4, Bazirker, biggnaa20, BillP3393, Blaize, bobbydigitalbg, Bodgingbrom, boehma55, Brett Igbinoba, BrewCity, bryers01, C4pt, cantstopengland, capt4chris, cashen, catallah, cfbauer, cgibin, cgone, ChilinMichael, ckcjim, cmoneyct, copasetic, Courousant, CRex42, cujoq37, curumehli, damdre2, Daniel_V, daveyfx, dcherian, DeathsArrow, Deeder, despinova, dfroelich, dirtydogg, discolightning, dj ozone, drewlee, drtorres81, dubiki, dVoID, fastamx79, FLY_N_NE_WEATHR, foosball, Fountainhead, Furuboru, garavin, Gaurav, geeksquadkid, Ghost 13, gitit20, gpfountz, Grabber5.0, Ground Beef, gsonspre, GTMI1, guerillatwang, hapymyday, hatchettjack, HelloNNNewman, ho0lee0h, hparsons, hs2716, ice8lue, indamixx99, Indy Rhino, iTz Nicholas72, Jaer57, Jahooba, japark, jason2851, jay2, jayjam99, jbuggy1, jcole01272, jeredh, Jethrotull, jfrex, jhearne86, jhoove09, jhp, Jimmy_D, jmerkler1, jobito8, john1429, johsua, joobles, jp22382, junkTzu, jwdesselle, k-wow, kamazepine, karstenskov, kat7rm, kayakj, KCTraveler, Kedar, Keegsta, keithmac, kellyelliott_rock, KingDude420, KJ78, kkacatin, KMachine, kohn, krypticide, laoh, lem855, linwiz311, LocoTreoGurl, lokitoorg, macd2002, magerb, Max Payne, maxima2k53, MaxLOL, mbermudez, Menelas, metalfan49, migs, mikedill24, MikeMSD, Milmirex, milominderbinder, Misaki Ki, mjkjr, mmanuel552, morrison0880, mrdmc, MrMuscles, MrRisto, mu7efcer, My3boys1217, mysterfix, Nachtswerg, neosubway, Nesta, netwrkr9, neve, ninditsu, Njtroncoso, nxg125, obiwandog, obiwon, oddlou, ohiomoto, palmdoc2005, pastorrich1, pattavino, phillysdon04, Pioneer, PJaE00, Pooky, ppcjacky, preryan, protofa, psm9, Radvette, RafRol, Reinhawc87, Richart, rlangley21, Rob600, rogerkang, rsatmans, rudramakesmovie, rush, RX-Heven, sapient2k7, scarflash, scstock, sdho, secure, seko, Selcouth14, sethpcs, shanshor, SirataXero, skullman, slimjim1219, smanic, solarus, Spader, spartini, SportingLions, spudland, Spydrbutt, stephenj, stoddwilson, Sukiyaki, superduperpre, surfinbruce, swieder, Syphon, T0F3R, T3CK, Tacoburrito, tempbast, TexMexSol, thelelander, TheTolsonator, TheVTech, thornev, thrakkemarn, Tibfib, tiny2nz, tkisser, toddfoutz, TomD, tomi666, Tonino ZGZ, traviscurren, Trekker, Trident, trim81, tripsbacks, troyerse, ttt_ttt, turb0rexx, TylerD004, unspoken000, veerar, Vij, vorber, warlord9159, Weaser999, wilderf, wprater, wraithnet, x3k8r1976, xanthinealkaloid, Xenoc
Old 05/01/2010, 06:08 AM   #2 (permalink)
Member
 
Join Date: Oct 2009
Location: Manchester, England
Posts: 1,226
Likes Received: 8
Thanks: 50
Thanked 56 Times in 49 Posts
Default

question, how is this different to the 500-800mhz scaling? Surly that is a better solution as even when the screen is on it runs "slow" until needed?
kel101 is offline   Reply With Quote
Old 05/01/2010, 06:48 AM   #3 (permalink)
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default

Quote:
Originally Posted by kel101 View Post
question, how is this different to the 500-800mhz scaling? Surly that is a better solution as even when the screen is on it runs "slow" until needed?
The transitions to the IDLE state (e.g. the CPU is doing no work, and the CPU clock actually stops) is identical for all overclocking kernels. Search Google for 'cpuidle Linux' or 'Race to Idle' for more information.

As always, if you are happy with your current overclocking solution, there is no need to change on a whim.

-- Rod
rwhitby is offline   Reply With Quote
Old 05/01/2010, 07:28 AM   #4 (permalink)
Member
 
Join Date: Feb 2010
Posts: 117
Likes Received: 6
Thanks: 22
Thanked 10 Times in 10 Posts
Default

Men, you're fantastic! Just upgraded and i'm fascinated
ice8lue is offline   Reply With Quote
Old 05/01/2010, 07:47 AM   #5 (permalink)
Member
 
Join Date: Nov 2009
Posts: 37
Likes Received: 1
Thanks: 4
Thanked 38 Times in 7 Posts
Default

Hi,

the drop to 500MHz only works if the screen goes off automatically after some time. But it doesn't work if i push the power button, then it stays at 800.
n1ce is offline   Reply With Quote
Old 05/01/2010, 07:49 AM   #6 (permalink)
Member
 
proudfrog's Avatar
 
Join Date: Jun 2009
Posts: 43
Likes Received: 0
Thanks: 2
Thanked 2 Times in 1 Post
Default

I am going to try this out. My buddy says it does wonders for battery life because of the scale down when the screen goes off
proudfrog is offline   Reply With Quote
Old 05/01/2010, 07:54 AM   #7 (permalink)
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default

Quote:
Originally Posted by n1ce View Post
Hi,

the drop to 500MHz only works if the screen goes off automatically after some time. But it doesn't work if i push the power button, then it stays at 800.
Note that Govnah doesn't update the graph or icon or frequency value when the screen is off, so if you are only looking at Govnah to determine whether it was running at 500MHz or not then you may be seeing misleading information.

You can check "cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq" on the command line to see the true current frequency value. If that also reports 800MHz when the screen is off, then please report it again and we'll look into the issue further. You can use novaterm or WOSQI or ssh access to get to the command line when the screen is off.

-- 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/01/2010, 08:14 AM   #8 (permalink)
Member
 
Join Date: Feb 2010
Posts: 26
Likes Received: 0
Thanks: 12
Thanked 0 Times in 0 Posts
Default

Sorry for the Newbie question. I just want to confirm that I install the Uber-Kernel then to activate the overclock features I use the Govnah app to controll the speed yes?

Thanks!
xalasten is offline   Reply With Quote
Old 05/01/2010, 08:20 AM   #9 (permalink)
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default

Quote:
Originally Posted by xalasten View Post
Sorry for the Newbie question. I just want to confirm that I install the Uber-Kernel then to activate the overclock features I use the Govnah app to controll the speed yes?
That is correct. The Uber-Kernel complies with the 7 principles of kernel design and packaging outlined at http://bit.ly/next-gen-kernels, one of which is that a kernel should default to normal frequencies at boot and only exceed standard specification limits if controlled by a service, script or application.

Note that that CPU Scaler apps from Casey@l337tech can also be used to control the Uber-Kernel, and hopefully will have support for the new setscreen governor added soon (they already support the internal CPU temperature sensor).

You will then have the choice of whether to use Govnah or CPU Scaler to control your kernel. An open architecture for interoperable solutions always benefits the community and provides better choice for users.

-- 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/01/2010, 08:26 AM   #10 (permalink)
Member
 
DeathsArrow's Avatar
 
Join Date: Apr 2009
Posts: 289
Likes Received: 3
Thanks: 54
Thanked 43 Times in 32 Posts
Default

Quote:
Originally Posted by rwhitby View Post
You can check "cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq" on the command line to see the true current frequency value. If that also reports 800MHz when the screen is off, then please report it again and we'll look into the issue further. You can use novaterm or WOSQI or ssh access to get to the command line when the screen is off.
Alternatively you can check the stats in CPUScalar.
DeathsArrow is offline   Reply With Quote
Old 05/01/2010, 08:28 AM   #11 (permalink)
Member
 
Join Date: Feb 2010
Posts: 26
Likes Received: 0
Thanks: 12
Thanked 0 Times in 0 Posts
Default

Thanks for the quick response. I love the 7 principles. makes me feel pretty good about using the kernel. I have it setup as "Setspeed -800mhz " and "Min freq 500 mhz" with Max freq - 800"

So far it seems to be running at 800 mhz while screen is on and dropping when to 500 mhz when the screen is off.

Pretty cool stuff.

Thanks for all the greta work!
xalasten is offline   Reply With Quote
Old 05/01/2010, 08:30 AM   #12 (permalink)
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default

Quote:
Originally Posted by xalasten View Post
I love the 7 principles. makes me feel pretty good about using the kernel.
Yeah, we feel pretty strongly about them too

It took us a while to get to the point where we could deploy a kernel that met all 7 principles, but I think it was worth the wait ...

-- 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/01/2010, 08:31 AM   #13 (permalink)
Member
 
Join Date: Dec 2003
Posts: 402
Likes Received: 0
Thanks: 43
Thanked 46 Times in 41 Posts
Default

awesome, will try now.
rogerkang is offline   Reply With Quote
Thanked By: Ski21
Old 05/01/2010, 08:35 AM   #14 (permalink)
Member
 
pelikan3's Avatar
 
Join Date: Jan 2005
Posts: 610
Likes Received: 5
Thanks: 3
Thanked 43 Times in 37 Posts
Default

O.K. What is the difference between the Super Kernel and the Uber-Kernel? Does the Uber-Kernel replace the Super Kernel app? Am I understanding correctly that the Uber-now contains the Govnah? Does this mean I no longer need the CPU Scaler Ultimate app, which I just purchased?

Oh, and I installed the testing feeds in Preware, but now I can't find them.

Thanks!
__________________
"If you can't view and manage multiple apps, via multiple open windows, side-by-side, it's not multi-tasking, PERIOD." - Me

Last edited by pelikan3; 05/01/2010 at 08:51 AM.
pelikan3 is offline   Reply With Quote
Old 05/01/2010, 08:50 AM   #15 (permalink)
Member
 
Seven_Speed's Avatar
 
Join Date: Jul 2009
Location: Long Island, NY
Posts: 256
Likes Received: 0
Thanks: 34
Thanked 5 Times in 5 Posts
Default

so ok I just got the super prekarnel today,,,,but I need a scaler,,so would i have to unistall the super pre kernaltoo?
Seven_Speed is offline   Reply With Quote
Old 05/01/2010, 08:51 AM   #16 (permalink)
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default

Quote:
Originally Posted by pelikan3 View Post
O.K. What is the difference between the Super Kernel and the Uber-Kernel?
The Uber-Kernel is a third generation overclocking kernel for the Palm Pre/Pre+.

The first generation kernel (which was built by unixpsycho and hasn't changed since early March) is embedded in the shell scripts and ipkg files and SuperPreKernel application (both first and second versions of it).

The second generation kernel was built by WebOS Internals (with assistance from unixpsycho) using an open and transparent source code repository and an open and transparent build infrastructure, was the first kernel to comply with the 7 principles of kernel design and packaging listed at http://bit.ly/next-gen-kernels, and included new features like enabling the standard Linux powersave, conservative, and performance governors, and enabling access to the internal CPU temperature sensor.

This is the first release of a third generation kernel, where we start adding completely new kernel code (the 'screenstate' governor, written completely from scratch by unixpsycho) which is truly Palm Pre specific and which moulds the functionality of the kernel to the usage patterns and desires of the webOS homebrew community.

Quote:
Does the Uber-Kernel replace the Super Kernel app?
The Uber-Kernel functionality is a true super-set of the first-generation kernel which is embedded in the Super Pre Kernel app.

Of course, if you are happy with your current overclocking solution, there is no need to change on a whim.

Quote:
Am I understanding correctly that the Uber-now contains the Govnah?
The Uber-Kernel is the underlying kernel which controls the CPU. It gets instructions from a service or application which sets the CPU scaling parameters. Govnah and CPU Scaler are both examples of such services and applications. Govnah has both the service and application in a single package, whereas CPU Scaler uses one package for the service and one package for the application.

We hope that CPU Scaler will be updated soon to support the new screenstate governor - it already supports the internal CPU temperature sensor.

We believe in an open and level playing field for homebrew applications, and welcome many different services and applications from many different developers to control the Uber-Kernel. All of the source code and patches and build instructions are completely open and public and available for use by any other group.

Quote:
Does this mean I no longer need the CPU Scaler Ultimate app, which I just purchased?
On the contrary, there are functions that CPU Scaler Ultimate performs which Govnah does not yet perform, and vice versa. Your investment in CPU Scaler is not lost - we hope Casey@l337tech will continue to track the new features added to the Uber-Kernel, so that users can continue to have choice in which CPU scaling parameter application they wish to use.

Quote:
And, just to make sure I follow... all I have to do is install the Testing Feeds to get to these apps?
That is correct. Make sure you uninstall any other overclocking kernel and kernel installation application first, but feel free to keep CPU Scaler installed so that it can work with your new improved kernel.

-- 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

Last edited by rwhitby; 05/01/2010 at 09:03 AM.
rwhitby is offline   Reply With Quote
Old 05/01/2010, 08:57 AM   #17 (permalink)
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default

Quote:
Originally Posted by Seven_Speed View Post
so ok I just got the super prekarnel today,,,,but I need a scaler,,so would i have to unistall the super pre kernaltoo?
You need to uninstall the first generation kernel using the SuperPreKernel application, and then uninstall the SuperPreKernel application, if you wish to use the Uber-Kernel. A device can only have one kernel on it at any time.

As always, if you are completely happy with your existing overclocking solution, there is no need to change on a whim.

-- 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/01/2010, 09:09 AM   #18 (permalink)
Member
 
pelikan3's Avatar
 
Join Date: Jan 2005
Posts: 610
Likes Received: 5
Thanks: 3
Thanked 43 Times in 37 Posts
Default

Thanks for clarifying. Two last questions...

How do I get Uber-kernel and how do I get Govnah (if I understood correctly that it is an independent app)?
__________________
"If you can't view and manage multiple apps, via multiple open windows, side-by-side, it's not multi-tasking, PERIOD." - Me
pelikan3 is offline   Reply With Quote
Old 05/01/2010, 09:11 AM   #19 (permalink)
Member
 
Join Date: Apr 2010
Posts: 24
Likes Received: 0
Thanks: 47
Thanked 1 Time in 1 Post
Default

"Note that when the CPU is idle, the clocks are stopped completely, as is the case for all kernels for the Palm Pre" what this means?The clock for the time or?And is it working for all phones,because I've read that some pres have problem with putting the CPU on 200-300 mhz or something like that.Is 500mhz the lowest frequency?The battery draining on 800 Mhz is the same like 500mhz or is almost the same.Sorry for the bad english and thanks for the great developement.
bobbydigitalbg is offline   Reply With Quote
Old 05/01/2010, 09:12 AM   #20 (permalink)
Developer
 
rwhitby's Avatar
 
Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
Default

Quote:
Originally Posted by pelikan3 View Post
Thanks for clarifying. Two last questions...

How do I get Uber-kernel and how do I get Govnah (if I understood correctly that it is an independent app)?
Check the instructions in the first post for adding the WebOS Internals testing feed.

-- 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
Thanked By: dz1262
Reply

 

Thread Tools
Display Modes


LinkBacks (?)
LinkBack to this Thread: http://forums.webosnation.com/palm-pre-pre-plus/244474-screen-800mhz-screen-off-500mhz-uber-kernel-3rd-generation-overclocking.html
Posted By For Type Date
WebOS Internals (webosinternals) on Twitter This thread Refback 05/01/2010 11:41 PM


 


Content Relevant URLs by vBSEO 3.6.0