Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,727,987 Members 45,877 Now Online
XDA Developers Android and Mobile Development Forum

[KERNEL] [GPL] [GN] franco.Kernel r396

Tip us?
 
Bavilo
Old
#13121  
Senior Member
Thanks Meter 28
Posts: 674
Join Date: Apr 2009
Location: Marburg

 
DONATE TO ME
Does r141 include the patches for he lazy governor to manage the "bouncyness"? It seems to work very well

Sent from my Galaxy Nexus using XDA
If you like what I'm doing, please press the button. Or buy me some Whiskey Here.
 
franciscofranco
Old
#13122  
franciscofranco's Avatar
Recognized Developer - OP
Thanks Meter 85255
Posts: 15,273
Join Date: Dec 2010
Location: Mountain View, CA

 
DONATE TO ME
Quote:
Originally Posted by Bavilo View Post
Does r141 include the patches for he lazy governor to manage the "bouncyness"? It seems to work very well

Sent from my Galaxy Nexus using XDA
Which patches? I only included the original commit for Lazy, nothing more.

Peek
FacesIn
Per-App Modes
Nexus Display Control
franco.Kernel updater Free
franco.Kernel - Galaxy Nexus
franco.Kernel - Nexus 4
franco.Kernel - Nexus 5
franco.Kernel - Nexus 7
franco.Kernel - Nexus 7 2013
franco.Kernel - Nexus 10


Google+ | Twitter

You don't like my reply? Read this

However, if you put any trust in Quadrant scores you could use them to prove that dancing naked for 5 minutes in your garden affects device performance. By Chainfire

My applications translations are managed by:

 
Bavilo
Old
#13123  
Senior Member
Thanks Meter 28
Posts: 674
Join Date: Apr 2009
Location: Marburg

 
DONATE TO ME
Quote:
Originally Posted by distINCtINC View Post
Franco, I made some changes to the Lazy governor that I believe are better for our phones. I attached my cpufreq-lazy.c to this post if you're interested. Of course, you're free to do whatever you want .

I changed the sampling rate to 10,000 to match that of the other governors in your kernel. I also modified how "min_timeinstate" is calculated so that it isn't coming out equal to the sampling rate anymore. If sampling rate = min_timeinstate, you're not getting the benefit of preventing frequencies from quickly bouncing back and forth. In Ezekeel's original thread on lazy he had a sampling rate at 10,000 and min_timeinstate to 40,000, so I changed it so that after the calculations it comes out similar to that with a sampling rate of 10,000 with a min_timeinstate of 30,000. At least with my phone, this seems to have helped reduce the "bounce" effect.
These patches

Sent from my Galaxy Nexus using XDA
If you like what I'm doing, please press the button. Or buy me some Whiskey Here.
 
franciscofranco
Old
#13124  
franciscofranco's Avatar
Recognized Developer - OP
Thanks Meter 85255
Posts: 15,273
Join Date: Dec 2010
Location: Mountain View, CA

 
DONATE TO ME
Quote:
Originally Posted by Bavilo View Post
These patches

Sent from my Galaxy Nexus using XDA
Nop, I didn't. I'll see how they work out on my device and if I think it's necessary I'll include it for Milestone 3.

Peek
FacesIn
Per-App Modes
Nexus Display Control
franco.Kernel updater Free
franco.Kernel - Galaxy Nexus
franco.Kernel - Nexus 4
franco.Kernel - Nexus 5
franco.Kernel - Nexus 7
franco.Kernel - Nexus 7 2013
franco.Kernel - Nexus 10


Google+ | Twitter

You don't like my reply? Read this

However, if you put any trust in Quadrant scores you could use them to prove that dancing naked for 5 minutes in your garden affects device performance. By Chainfire

My applications translations are managed by:

 
myrdog
Old
#13125  
Member
Thanks Meter 9
Posts: 47
Join Date: Dec 2010
Location: London
Quote:
Originally Posted by distINCtINC View Post
If sampling rate = min_timeinstate, you're not getting the benefit of preventing frequencies from quickly bouncing back and forth. [...] so I changed it so that after the calculations it comes out similar to that with a sampling rate of 10,000 with a min_timeinstate of 30,000. At least with my phone, this seems to have helped reduce the "bounce" effect.
This makes sense. If the sampling is the same as the mintime, you might as well not set a minimum time in the state. It's changing as soon as it samples no matter how long its been in the state.
Phone: Nexus 5 (Delivery Pending)
Rom: Stock
Kernel: Stock
Radio: Stock
Recovery: Stock
 
Bavilo
Old
#13126  
Senior Member
Thanks Meter 28
Posts: 674
Join Date: Apr 2009
Location: Marburg

 
DONATE TO ME
Quote:
Originally Posted by franciscofranco View Post
Nop, I didn't. I'll see how they work out on my device and if I think it's necessary I'll include it for Milestone 3.
Ok thanks!

Sent from my Galaxy Nexus using XDA
If you like what I'm doing, please press the button. Or buy me some Whiskey Here.
 
franciscofranco
Old
#13127  
franciscofranco's Avatar
Recognized Developer - OP
Thanks Meter 85255
Posts: 15,273
Join Date: Dec 2010
Location: Mountain View, CA

 
DONATE TO ME
Quote:
Originally Posted by myrdog View Post
This makes sense. If the sampling is the same as the mintime, you might as well not set a minimum time in the state. It's changing as soon as it samples no matter how long its been in the state.
Aye, I agree.

Peek
FacesIn
Per-App Modes
Nexus Display Control
franco.Kernel updater Free
franco.Kernel - Galaxy Nexus
franco.Kernel - Nexus 4
franco.Kernel - Nexus 5
franco.Kernel - Nexus 7
franco.Kernel - Nexus 7 2013
franco.Kernel - Nexus 10


Google+ | Twitter

You don't like my reply? Read this

However, if you put any trust in Quadrant scores you could use them to prove that dancing naked for 5 minutes in your garden affects device performance. By Chainfire

My applications translations are managed by:

 
Antob125
Old
#13128  
Antob125's Avatar
Senior Member
Thanks Meter 53
Posts: 386
Join Date: May 2011
Franco I know Milestone are usually stock GPU but is there any way when milestone comes out you can make a 512 version. Loving the speed.

Sent from my Galaxy Nexus
 
franciscofranco
Old
#13129  
franciscofranco's Avatar
Recognized Developer - OP
Thanks Meter 85255
Posts: 15,273
Join Date: Dec 2010
Location: Mountain View, CA

 
DONATE TO ME
Quote:
Originally Posted by Antob125 View Post
Franco I know Milestone are usually stock GPU but is there any way when milestone comes out you can make a 512 version. Loving the speed.

Sent from my Galaxy Nexus
No, I can't have 231651 different versions, sorry =(

Peek
FacesIn
Per-App Modes
Nexus Display Control
franco.Kernel updater Free
franco.Kernel - Galaxy Nexus
franco.Kernel - Nexus 4
franco.Kernel - Nexus 5
franco.Kernel - Nexus 7
franco.Kernel - Nexus 7 2013
franco.Kernel - Nexus 10


Google+ | Twitter

You don't like my reply? Read this

However, if you put any trust in Quadrant scores you could use them to prove that dancing naked for 5 minutes in your garden affects device performance. By Chainfire

My applications translations are managed by:

The Following 2 Users Say Thank You to franciscofranco For This Useful Post: [ Click to Expand ]
 
bigeyes0x0
Old
#13130  
bigeyes0x0's Avatar
Senior Member
Thanks Meter 1616
Posts: 1,335
Join Date: Jun 2011
Location: Saigon

 
DONATE TO ME
So where're your other 231648 versions?

Jokes aside trying the latest hoping to see my Bluetooth bug fixed. Otherwise I hope it's fixed after M3 with kernel 3.0.28 included. I'm pretty sure that it's a bug in kernel now, as I do not have it in stock, ogdobber and faux's kernels.

Tags
4.0.4, 4.1, 4.2, best kernel, best support, fast, franco, galaxy, jb 4.1, kernel, nexus, samsung
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes