Jump to content


* * * * * 114 votes

[Kernel] [JB 4.2.x] [v6.6, 5/18/13] Leankernel: Minimalistic Kernel


  • Please log in to reply

#331 gbdesai

gbdesai

    listen | learn | share

  • 76 posts

Posted 28 December 2011 - 02:49 PM

View Postqdroid, on 28 December 2011 - 08:44 AM, said:

There's a new thread: http://rootzwiki.com...voltage-setups/

Has a few example setups that people have been using with their corresponding roms

Attached the voltage setting that I'm currently using for Minimalistic Kernel experimental v3 and gummy latest

Seems to work better at 180 for me after bumping it up to 650..it was hanging with 600

I'm running the same except that at 1200 I get stability at 975mv...

#332 imoseyon (OP)

imoseyon

    Developer

  • 2,029 posts

Posted 28 December 2011 - 02:58 PM

View Postdpaine88, on 28 December 2011 - 09:36 AM, said:


faux123 = smart man.

What michael's (coolbho3k) UV code does is set both the main and the dep voltages to the same number. I'm actually still not convinced that setting both to the same breaks DVFS completely. In fact, when DVFS errors out you should see kernel error messages when it tries to scale, but I've yet to see any errors (at least in my kernel whose voltage scaling code has been modded.)

In any case, I think i will have some time this weekend to make this work (or at least confirm that it's working properly).

Edited by imoseyon, 28 December 2011 - 03:05 PM.


#333 icanhazdroid

icanhazdroid

  • Site Contributor
  • 2,199 posts

Posted 28 December 2011 - 03:03 PM

View Postimoseyon, on 28 December 2011 - 02:58 PM, said:


faux123 = smart man.

What michael's (coolbho3k) UV code does is set both the main and the dep voltages to the same number. I'm actually still not convinced that setting both to the same breaks DVFS completely. In fact, when DVFS errors out you should see kernel error messages when it tries to scale, but I've yet to see any errors.

In any case, I think i will have some time this weekend to make this work (or at least confirm that it's working properly).

But at this point, anyone with super UV slots probably aren't working?

Sent from my Galaxy Nexus using Tapatalk

#334 stickjohnsonaah

stickjohnsonaah

    Member

  • Members
  • 91 posts

Posted 28 December 2011 - 03:11 PM

Just looking for interactivex governor breakdown. Is it interactive governor with built in Max clock speed for screen off?

Hot plug is 1cpu turn completely off during screen off sleep?I read through the xda post on governors and couldn't find them all listed. Sent from my Galaxy Nexus using Tapatalk

Edit: I also saw mention of not going above 1400 because it is not stable. For those that can run 1420 fine would you be able to add or change a slot to 1500 in an experimental versions so we can see what ours tops out at? Is it really silicone limiting our CPU frequency?

Edited by stickjohnsonaah, 28 December 2011 - 08:09 PM.


#335 dhy8386

dhy8386

    Android Convert

  • Members
  • 627 posts

Posted 28 December 2011 - 03:17 PM

View Postimoseyon, on 28 December 2011 - 02:58 PM, said:

faux123 = smart man. What michael's (coolbho3k) UV code does is set both the main and the dep voltages to the same number. I'm actually still not convinced that setting both to the same breaks DVFS completely. In fact, when DVFS errors out you should see kernel error messages when it tries to scale, but I've yet to see any errors (at least in my kernel whose voltage scaling code has been modded.) In any case, I think i will have some time this weekend to make this work (or at least confirm that it's working properly).

Awesome. For now, doesn't that suggest that whatever you/faux/other kernel devs mod your scaling to be are likely the only UV levels that are going to run well since user UV'ing will likely break the DVFS yet we won't know it! In other words, a user could set a low voltage level that appears to work but if the DVFS is stalling, the CPU will not drop into the lower OPP state. But this is not necessarily obvious to most of us right?

Edited by dhy8386, 28 December 2011 - 03:17 PM.

Check out my Guinness Theme for Jelly Belly here

Check out my Jelly Belly Soft Key Mods and Other Add-ons here

#336 imoseyon (OP)

imoseyon

    Developer

  • 2,029 posts

Posted 28 December 2011 - 04:26 PM

View Postdhy8386, on 28 December 2011 - 03:17 PM, said:

Awesome. For now, doesn't that suggest that whatever you/faux/other kernel devs mod your scaling to be are likely the only UV levels that are going to run well since user UV'ing will likely break the DVFS yet we won't know it! In other words, a user could set a low voltage level that appears to work but if the DVFS is stalling, the CPU will not drop into the lower OPP state. But this is not necessarily obvious to most of us right?

I'm not convinced of that either. I don't see any evidence that DVFS is stalling in kernel logs. When I looked at the DVFS code, it definitely seemed like it will log errors when scaling fails. I'll take a closer look perhaps tonight.

#337 imoseyon (OP)

imoseyon

    Developer

  • 2,029 posts

Posted 28 December 2011 - 04:52 PM

When I cooked up interactiveX V1 (for other phones), I took Mike Chan's interactive code, optimized it for the phones, and then added early_suspend support (screen-off/on trigger). I then added logic to the code so the governor does not scale higher than a certain frequency when screen is off.

With interactiveX V2 (for gnexus), things are a bit different, since gnexus has built-in support for screen-off-max-freq for all its governors. I took the new interactive code in gnexus, added early_suspend support (screen off/on trigger), and then added logic to the code so the governor uses the phone's built-in hotplugging capability to turn off cpu1 when screen is off (and then turn it back on when screen comes back on). Cpu1 goes offline entirely - no idle, no sleep.

You can see this in action if you traverse /sys/devices/system/cpu on the phone.


View Poststickjohnsonaah, on 28 December 2011 - 03:11 PM, said:

Just looking for interactivex governor breakdown. Is it interactive governor with built in Max clock speed for screen off? <br /><br />Hot plug is 1cpu turn completely off during screen off sleep?<br /><br />I read through the xda post on governors and couldn't find them all listed. <br /><br />Sent from my Galaxy Nexus using Tapatalk

Edit: I also saw mention of not going above 1400 because it is not stable. For those that can run 1420 fine would you be able to add or change a slot to 1500 in an experimental versions so we can see what ours tops out at? Is it really silicone limiting our CPU frequency?

Edited by imoseyon, 30 December 2011 - 11:30 PM.


#338 igotgame

igotgame

    Got Game?

  • Members
  • 494 posts

Posted 28 December 2011 - 04:56 PM

Unfortunately interactiveX on exp3 makes my phone not wake up from sleep.

Edited by igotgame, 28 December 2011 - 04:56 PM.

Samsung Galaxy Nexus (LTE/CDMA) - AOKP Rom - Imo's Lean Kernel

R.I.P. - Axi0m

#339 SparkysShocker

SparkysShocker

    Android Beginner

  • Members
  • 63 posts

Posted 28 December 2011 - 04:56 PM

Hey imoseyon, I have been using your Kernel since the OG Droid and then again on the TBolt. As of now I gather that speedtweak.sh is not in the kernel, are you planning on implementing the speedtweak.sh script for the GNex kernel or are you goin to leave it to GUI cpu apps?

Edited by SparkysShocker, 28 December 2011 - 05:02 PM.

Current Phone: Samsung Galaxy Nexus - Rooted ROM: BuglessBeast 10/10 Kernel: BB stock
Tablet: Motorola Xoom WiFi (US) ROM: Stock 4.1

Retired Phones: HTC Thunderbolt (Thunderstick, currently my universal remote), Motorola Droid (Bugless Beast GB), HTC Touch (Dual boot WM 6.1 & Android Donut)
|Fear the Fork| |The Gold Rush is Back| |Orange Reign|

#340 imoseyon (OP)

imoseyon

    Developer

  • 2,029 posts

Posted 28 December 2011 - 05:32 PM

View PostSparkysShocker, on 28 December 2011 - 04:56 PM, said:

Hey imoseyon, I have been using your Kernel since the OG Droid and then again on the TBolt. As of now I gather that speedtweak.sh is not in the kernel, are you planning on implementing the speedtweak.sh script for the GNex kernel or are you goin to leave it to GUI cpu apps?

It's coming! ;) I just need to make sure that voltage scaling is all good first.