yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Original Development] Metallice:
If it was ever possible to be "mean" to a cpu governor, what you guys were doing by setting go hispeed load under 90 was exactly that.

You were basically telling the governor to ramp up at, for example, 80% load, but target 90% load. So every time the governor would try to get 90% load by lowering the freq it would eventually hit that 80% mark, shooting the frequency up, and dropping the load back down... and then the process repeats.

It would just try so hard to reach 90% load, but you guys would just raise the frequency every time it got close...:crying:
[Nexus 7 Original Development] osm0sis:
Thought I'd put it back to where it is on the GN; and then my thinking was to lower it if battery life seems reduced for everyone. On the GN it's compensated with the ahd and higher ghl, so I want to see how that goes for us, plus I lowered the ghl to 95 so it jumps just a hair sooner than the default 99. :) And if it jumps too often then I was planning on bumping the ghl up to 98 probably. :good:

60/95/45/15; 1200 hsf seems zippy as hell.

---------- Post added at 08:48 PM ---------- Previous post was at 08:47 PM ----------

Haha yeah we had no idea about that new patch. Poor thing. ;)
[Nexus 7 Original Development] The Gingerbread Man:
Re: [KERNEL][GPL][4 JAN] franco.Kernel - r38

Metallice I wonder what you personally would recommend for the full set governor tunables.

---------- Post added at 12:55 AM ---------- Previous post was at 12:49 AM ----------

Go with this 60/95/45/15 1200 hsf and see how it goes this is what I'm gonna switch to for now. If battery drains faster lower min sample time to 15000 but you probably give it at least one full battery cycle first

---------- Post added at 12:59 AM ---------- Previous post was at 12:55 AM ----------

The funny thing is Google were doing this them selves, default was 85. I took a screen shot of the stock default values
[Nexus 7 Original Development] osm0sis:
Don't think stock has that patch yet so it still handles it the old way.
[Nexus 7 Original Development] 1pop23:
Re: [KERNEL][GPL][4 JAN] franco.Kernel - r38

Using these settings all lag is gone in NFS:MW and every other game I have. Gonna charge up my tablet and see how battery is. Also for reference I'm undervolt by -50mv

Here are some early cpu stepping states using the new
[Nexus 7 Original Development] Metallice:
Right. AOSP interactive in their 3.4 common kernel (which is what is being used here and in mkernel) is completely different from the tegra kernel specific interactive (which is also only 3.1) found in stock.
[Nexus 7 Original Development] osm0sis:
Yeah it looks about the same on mine, with a bump at 300 from some Words With Friends. ;) The way it's still ramping nicely above the hsf as it needs makes me think we could get away with lowering it a bit more, but let's give it a full cycle. :)
[Nexus 7 Original Development] Mr. Steve:
This may be irrelevant now, but here is the screenshot you asked for. No gaming, mostly web browsing, Google Currents, and Music.
[Nexus 7 Original Development] djdunn:
I got stupid bored so I've been working on trying to get 10+ hours, screen on, wifi on, on my N7. If anybody wants to help i started with, screen at 0 brightness, stock gov settings on android 4.2.1 with franco #38. Which are interactive 30/85/30/20. And after reading this paper www.cs.utsa.edu/~dzhu/conference/parc05/.../07-parc05-108.pdf

I think that setting the highspeed frequency to max might of 1300mhz increase batt saving by allowing a quicker race to idle. So i changed gov settings to interactive 30/99/30/15. The latter 15 because franco suggested it so it aligns with other stuff i forgot now exactly.

The before mentioned paper suggests that idling at the lowest frequency might in fact use more power than a few 100 mhz higher. So if some other people would like to help test out some other frequencies with the same settings and see if we can find a sweet spot that minimizes power loss without sacrificing anything really. It would allow some easy comparison to see if franco should change the hotplug back to renable the LP core.

We **might** find that 100 mhz uses more power than say 500 or 600 mhz and that the lp core might use less power than that.

After we find the low end focus could continue with the hsf high end and find a "sweet range"

Also all the screenshots are somewhat all aver the place and make it difficult to accurately judge battery usage. Did someone use it for 2 days turn the screen on 4 times? Which is why id like to ask people to stay with light usage for the tests. Just using chrome with a finger flick every now and then like reading forums.

Also im looking for a way to read the battery drain in a more precise hopefully in amp hours. You know write down a measurement and time so an accurate usage can be taken. Im really tired at looking at line graphs with unique x/y ratios. Im trying out battery monitor widget https://play.google.com/store/apps/details?id=ccc71.bmw
[Nexus 7 Original Development] franciscofranco:
Here goes r39 which brings a few goodies from my work on the Nexus 4 kernel:

* All the improvements on the hotplug driver from my N4 work

* Merge ROW I/O scheduler and make it default

* Sync interactive governor with the Nexus 4 version

* Increase hispeed_freq to 1GHz for more smoothness while interacting with the screen

* Changed some interactive tunables to match the Nexus 4 because they seem to work great there

* Merge one of my latest patches from the N4 that disables dirty pages flushing while on screen on - more info here: https://github.com/franciscofranco/Grouper-3.1.10/commit/39f9ad9fa503518f41deacf975acf300f9ce7e0b (where it says 500ms it should say 5 seconds, typo on my end)

That should be it. Enjoy and have fun!
[Nexus 7 Original Development] The Gingerbread Man:
Re: [KERNEL][GPL][4 JAN] franco.Kernel - r39

Awsome we get row gov now! Franco over the last few days we have been discussing the tunables and come up with some pretty good settings between me osmosis and metallice. Osmosis has recommended we use 60/95/45/15 hsf 1.2ghz but I'm now using 60/95/15/15 1ghz in an attempt to save a little more battery. I feel quite proud of myself now I just about understand this tunable stuff :thumbup:
[Nexus 7 Original Development] 1pop23:
Re: [KERNEL][GPL][4 JAN] franco.Kernel - r39

Battery seemed to die quite a bit faster with those I found. Played crossme for about 45 minutes lowest brightness and battery died 20% in that time.

Was using Osmosis settings. Going to give your settings a try
[Nexus 7 Original Development] djdunn:
Franco you make sleep awful hard. :P

But yay new kernel. I seriously check like 4 times a day every day.

So anyways continuing from my last post

far the idle power usage i saw between stock and #38 idling screen on is only about 3% difference. With 38 landing just under -300 mAh, usually around -285 to -295 mAh. Which brings it to around to about 7.5ish %/hour. Stock kernel seemed to take about 5 min longer after a cold boot to stabilize and drop that low but seemed to sit at about -295 to -310 mAh.

Correct me if im wrong but it seems to me that the stock kernel using the LP core took longer to activate low power mode and did not do quite as well as the 4core down cored to 1 core at 100mhz.

Didn't test any real usage. But ive been up too long (5am now) and kinda want to sleep a bit before i play more. Probably with r39 now.
[Nexus 7 Original Development] exzacklyright:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

So what settings are these?

Sent from my Nexus 7
[Nexus 7 Original Development] The Gingerbread Man:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

What do you mean? I don't understand your question. The settings me and osmosis are using are in my post you quoted
[Nexus 7 Original Development] djdunn:
39 is more power efficient at idle, screen on, by about 10 mAh reading at about -270ish thats about 7% more efficient than stock... i think unless my math skills fail. Which is possible.

Also the power usage for just moving one finger across the screen pretty much constantly, at 700 hsf is about -560ish mAh and at 1000hsf its about -605ish mAh at 1300 hsf its about -660 mAh. This makes the real battery usage between hsf 700 and 1000 to be about an extra .5-1% battery per hour if you would constantly move your finger on the screen for an hour

My 3d live desktop of little 3d fishies swimming around idles at about -560 mAh if anyone cares
[Nexus 7 Original Development] The Gingerbread Man:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

This is more like it what I was hoping to see and with row even though if only been trying this for 20 mins I got some positive looking results
[Nexus 7 Original Development] djdunn:
Im confused about how changin the i/o effects cpu
[Nexus 7 Original Development] stalkachu:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

Any chance of a 39 zip? Sorry for being whiny and needy. @-@
[Nexus 7 Original Development] galaningenieros:
Zip file forma r39
[Nexus 7 Original Development] stalkachu:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

Presuming that's not a horrible corrupted zip that will destroy my tablet...thanks! :)
[Nexus 7 Original Development] ROFLkopter:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

Download the franco.Kernel updater app from the Play Store.

Sent From My AOSPA3.+/franco.Kernel Powered Nexus 7 With XDA Premium
[Nexus 7 Original Development] xI mEzMeRiZe Ix:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

What are the stock tunables for r39?

Sent from my Galaxy Nexus
[Nexus 7 Original Development] poondog:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

See attached :)

Sent from my Rasbeaned Nexus 7
[Nexus 7 Original Development] The Gingerbread Man:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

Basicly it changes the behaviour as to how aggressive the CPU is, look at page 312 osmosis links to a post by yellowdie which explains all

Just use the fku app, put IMG in kernel back up folder and restore, couldn't be easier

Sent from my Galaxy Nexus
[Nexus 7 Original Development] stalkachu:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

It's just the convenience of using it with cyan delta which makes me ask. I've flashed images before but if a release lasts a long time it's quite a time saver this way. Thanks anyway, guys. ;)
[Nexus 7 Original Development] osm0sis:
He's talking about governor tunables not io. :)

---------- Post added at 10:18 AM ---------- Previous post was at 10:13 AM ----------

That's odd that it's skipping some frequencies there though.. I'm testing 60/95/45/15; 800 hsf to see how the states chart looks. Looked really good last night with 1000 hsf when I tried that for an hour. Then it's back to defaults and flashing r39. Looks like Franco came out pretty close to what we were suggesting anyway. :D
[Nexus 7 Original Development] djdunn:
Yeah that makes more sense. Ive been hacking and patching the linux kernel for over a decade and i was about ready to give myself an anurism trying to figure out how those things relate.

Franco is definitely a gifted hacker (in all the oldschool flattering ways). I think he can just feel how the system responds in his hands
[Nexus 7 Original Development] zaclimon:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

Hi guys I'm kinda new with all this governor stuff. I've read about the recapitulative post and I'm trying to understand now. You're talking about which governor? Interactive or ondemand?
[Nexus 7 Original Development] djdunn:
Interactive
[Nexus 7 Original Development] razzda:
I'm new to this kernel. Looks very interesting :)

I have a question regarding the Franco kernel apps in the store. Regarding the "franco.Kernel updater Free", when you click the example screenshots, I get the impression that you can download the nightlies? But when I install the app there's only the option to install the latest stable??

Best regards

razzda
[Nexus 7 Original Development] kendallc123:
Franco isn't updating the free app much. The paid app is worth the few dollars and is updated with each new kernel update
[Nexus 7 Original Development] joaquinf:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

Hi guys! I've been testing the newest kernel with intensive gaming and it seems that the lag is 95% gone, shadowgun runs smoothly as well as nfs.

This is how the cpu behaved after a fresh reboot and playing nfs, shadowgun and nova from the beginning to end. Overall it feels great, gaming experience has been improved and it's rock solid as usual. I'm gonna give osmosis and gingerbread man settings a chance and see how it goes. Thanks again guys
[Nexus 7 Original Development] TheByteSmasher:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

@Franco the app fails to download r39 as zip but asks to flash as if it did.

EDIT: that's because there is no zip, unfortunately the app doesn't realize that.

Sent from my Nexus 7
[Nexus 7 Original Development] spaceman860:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

+1

Sent from my Nexus 7
[Nexus 7 Original Development] TheByteSmasher:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

I edited my post... there is no zip but the app doesn't realize that.

Sent from my Nexus 4
[Nexus 7 Original Development] osm0sis:
You should really put [floatleft][/floatleft] around each paragraph in your sig... ;)
[Nexus 7 Original Development] spaceman860:
How? Can you pm me
[Nexus 7 Original Development] osm0sis:
Here's 60/98/45/15; 900 hsf. 800 wasn't as nice.

Now on to r39. :D

@spaceman: PM you in a bit. Gotta go do some errands. Play around with it in the meantime though.. Just enclose each chunk in one set. :)

Edit: Pic removed.
[Nexus 7 Original Development] joaquinf:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

R39 default settings are very nice. I tried yours but I felt like the default settings are smoother. Not on gaming but on window transitions and animations. However that was an excellent approach.

I'm gonna give these a full charging cycle and will do some intensive gaming.
[Nexus 7 Original Development] The Gingerbread Man:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

Haha very close to where I am but once again I'm at work, no nexus 7 on me but when I'm home I'm gonna tweak some more. I was at 60/98 or 99/15/15/1ghz I really think its better to have the lower min sample time to get it to come down faster or we could meet half way at 30k ;) can't wait to get home :D

Sent from my Galaxy Nexus
[Nexus 7 Original Development] spaceman860:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

@ osm0sis is it better now any more ideas would be appreciated

Sent from my Nexus 4
[Nexus 7 Original Development] TheByteSmasher:
(The Following is an act of shameless self-promotion:)

Hey All,

I got bored and wanted to make my flashaholic life easier... Since I flash Franco's Kernels and AOKP Roms often, I created this Thread to aid in restoring some of those things lost on the ROM flash part... namely my Sounds (Ringtones, Alarms, Notifications) that I convert to system sounds for better usability. Check it out if you're interested.
[Nexus 7 Original Development] franciscofranco:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

**** I forgot to upload the zip :D
[Nexus 7 Original Development] osm0sis:
Yeah I agree. The lower above_hispeed_delay definitely bumps it up a notch. I'm sure the new patches are helping nicely too. Thanks Franco! :)

45/98/30/15; 900 hsf would really split the difference between yours mine and Franco's new defaults. Might eke out a little bit more battery with negligible performance impact. ;)

I agree with Joaquin though, we should give the new defaults a little bit so we get a good baseline to compare from. :good:
[Nexus 7 Original Development] styckx:
I see people posting different tunings in the format of xx/xx/xx/xx hsf xx

Someone care to elaborate what string of values this is representing? I was assuming Governor control at first since that has hispeed_freq but the number of values besides that don't add up..

Thanks. :)
[Nexus 7 Original Development] osm0sis:
Hey franco! You missed all the fun we've been having for the last few days. ;)

Remember to take that .DS_Store stuff out of the zips. And maybe switch the extract command in the updater-script to the /by-name/. :cowboy:

You're right, just we skip some since they're unimportant. :)

Check this out: http://xdaforums.com/showthread.php?p=36743252, and also the yellowdie post I link from there.

Edit: Also it's based on the way we see them in f.Ku, so if you're using Trickster you have access to more of them that we don't bother with. :good:
[Nexus 7 Original Development] styckx:
That is what I was looking for! I actually searched the thread a bit but this post eluded me! Thank you kind sir!
[Nexus 7 Original Development] opz187:
Whats up osmosis. Gotta question, I've seen in the past few releases that you would ask Franco if the kernel was calling on the run-parts. Idk if i said that right, but is that fixed in r39?
[Nexus 7 Original Development] TheByteSmasher:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

I figured that, but it's there any way to have the app realize that there is no zip?

Sent from my Nexus 4
[Nexus 7 Original Development] osm0sis:
run-parts is the busybox call that makes init.d work. Franco probably forgot again. ;)
[Nexus 7 Original Development] The Gingerbread Man:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

I'm back to default now I'm home
[Nexus 7 Original Development] irminsul:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

R39 default settings are very very good. Waaaaay faster than stock.
[Nexus 7 Original Development] franciscofranco:
The setting above_hispeed_delay was supposed to be 0, but I made a typo on the ramdisk path. Since go_hispeed_load is so up there I think we shouldn't have any delay as soon as it decides to go above the hispeed_freq value.
[Nexus 7 Original Development] The Gingerbread Man:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

Should we change anything and then set on boot?
[Nexus 7 Original Development] franciscofranco:
Yes, go ahead!
[Nexus 7 Original Development] joaquinf:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

So I guess that the default values are now 0/98/45/15;1000

Btw thanks franco for your work with this kernel. Everything is running smooth as butter now very franco style. :thumbup:
[Nexus 7 Original Development] simms22:
btw, you missed a point.. happy birthday :D
[Nexus 7 Original Development] joaquinf:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

Oh stop it you :p thanks buddy :)

I've had a great day so far and really good presents :p new rasbeanjelly build for both maguro and grouper from rascarlo, new kernel from francisco, lag killer governor settings from osmosis, gingerbread man and metallice, a jawbone jambox from my girlfriend and a ton of kind words and wishes from friends like you :highfive: Thanks again
[Nexus 7 Original Development] The Gingerbread Man:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

Ok will change that just now but a typo from 20000 meant to be 0 :confused:

These things happen like I said yesterday in your gnex thread we all make mistakes, I can only imagine th amount if numbers you must have swrilling through your brain / cortex lol

Sent from my Galaxy Nexus

---------- Post added at 12:51 AM ---------- Previous post was at 12:48 AM ----------

Man that sounds like an awesome day, happy birthday from me

Sent from my Galaxy Nexus
[Nexus 7 Original Development] poondog:
Is it your birthday?! Happy birthday mate

Also, the default settings, but with 900mhz high-speed freq is fast :)

I've under clocked to max 1100mhz too
[Nexus 7 Original Development] osm0sis:
Whew! Happy birthday big guy! :)
[Nexus 7 Original Development] 1pop23:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

This release is just amazing. Everything is smooth.

0/98/45/15;900 GPU 416MHz CPU under clocked 1100MHz and -100mv undervolt. No lag in nfs, whole UI is just buttery smooth. Its great. Not just waiting for my battery to die
[Nexus 7 Original Development] m0h1t:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

Contrary to what Franco wrote in the change log, I/O scheduler was still stuck at deadline after flashing r39, I changed it manually to ROW . I think the previous app settings somehow got stuck on my tablet. Uninstalling the app and re-flashing didn't help either.

I see quite a few people posting settings in xx/xx/xx/xx HSF xxxx format. The only thing I understand here is the high speed frequency. Are the first four numbers in the same order as specified in the app?

Someone posted 60/95/45/15 is good, does this translate into the following?

Above HiSpeed delay - 60000

Boost - 0

Go HiSpeed load - 95

HiSpeed Freq -1200

Input boost - 1

Min Sample Time 45000

Timer Rate - 15000

Sent from my Nexus 7
[Nexus 7 Original Development] davisac:
Correct. Top to botton skipping boost, go hispeed, and input boost.
[Nexus 7 Original Development] joaquinf:
Hi, check what os posted 2 pages back so you can understand better what are those numbers about :)
[Nexus 7 Original Development] m0h1t:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

Got it, thanks. Gotta love this community!

Sent from my Nexus 7
[Nexus 7 Original Development] ÜBER™:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

Grrr.... Guess I'm flashing back to Franco. Has anyone tested SG: DZ see if it lags still?
[Nexus 7 Original Development] joaquinf:
I have. It's smooth, all lag is gone for good :)
[Nexus 7 Original Development] osm0sis:
Is everyone going with 0 or 20000 for above_hispeed_delay?
[Nexus 7 Original Development] Mr. Steve:
I changed my setting to 0 after Franco posted about the 20000 setting being a typo.
[Nexus 7 Original Development] 1pop23:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39
[Nexus 7 Original Development] osm0sis:
Cool. I'll use that as my baseline then. Thanks guys. :)
[Nexus 7 Original Development] joaquinf:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

Yup, I've change it to 0 after Franco 's post and so far everything is running great
[Nexus 7 Original Development] tdizzle404:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

Where do we edit this at?
[Nexus 7 Original Development] :
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

Use the Franco.kernel updater app. Under Frequencies/Voltages select Governor Control. You'll see the fields there.
[Nexus 7 Original Development] djdunn:
Here's some more readings comparing stock to r39 power consumption while sleeping.

This really surprised me. I measured stock sleep mode at -159 mAh draw, on r39, -57 mAh

Now when i put the device in deep sleep with a magnet, i thought i got all the numbers mixed up but i didn't

Stock kernel took a nice deep at -65 mAh, good low draw but still less than r39 just sleeping,

Now when i put r39 in deep sleep

Drumroll.....

-6 mAh

Nice job franco 90% less power drain over stock during deep sleep
[Nexus 7 Original Development] fluxthesky:
How does the battery life of this kernel compare to stock kernel? I heard its pretty dramatic.
[Nexus 7 Original Development] djdunn:
To me setting above highspeed delay just jumps it to 1300mhz a half second slower than just setting hsf to 1300mhz. This happens just dragging one fingerbon the screen. Is this the intention?
[Nexus 7 Original Development] 1pop23:
Re: [KERNEL][GPL][19 JAN] franco.Kernel - r39

Today's use of R39

Settings

0/98/45/15;900

UC 1100MHz

UV -100mv

GPU 416

Usage

Used the device off and on through out the day for email and surfing web. Towards the end of the day I played games like need for speed, cross me, dead trigger, watched HD YouTube and streamed music from Google play while surfing the internet. Everything was extremely smooth. Little to no lag in all my games. UI is fluid but had its hiccups at times. Only thing that bugged me was sometimes the volume buttons once clicked would take a few seconds to register and activate their intended action. All in all super friggen amazing for a ROM that is under clocked in my circumstance.

Here is my battery and CPU scales
[Nexus 7 Original Development] franciscofranco:
Thanks for the numbers, and nice to know I pwn stock kernel in that department :)

Sorry I didn't understand what you meant exactly.