[KERNEL][GPL][N4] franco.Kernel - r217

aznxk3vi17

Senior Member
Jun 28, 2011
356
56
0
Charlottesville
Well its kinda sad indeed. I really couldn't believe Google didn't have enough units to sell...I also don't understand why Google didn't save one for their app developers. Instead lots of people just bought it sell it for 100% profit on ebay. Its the sad truth.
Google's at heart a nerd's company (no offense meant at that word of course). Business has never been a strong point of Google, and I suspect for a long time, will not be. Just look how long it took Android to become pleasing to use (thanks to Matias Duarte).

On topic though, is there a reason you default to Deadline vs Noop? Personal preference, or is there something I don't know about the two governors that makes you choose it?
 

franciscofranco

Recognized Developer
Dec 9, 2010
24,725
136,397
0
Carcavelos
Google's at heart a nerd's company (no offense meant at that word of course). Business has never been a strong point of Google, and I suspect for a long time, will not be. Just look how long it took Android to become pleasing to use (thanks to Matias Duarte).

On topic though, is there a reason you default to Deadline vs Noop? Personal preference, or is there something I don't know about the two governors that makes you choose it?
Yep, true.

Noop is too simple, I don't feel it scales as well as deadline.
 

whittikins

Senior Member
Oct 12, 2011
761
191
0
Yes, you should. Ondemand should work fine and I tweaked it a little bit so it should feel as nicely as interactive does. I can't do much more without the phone anyway, sucks to work remotely, but I'm glad everyone seems satisfied by the kernel so far, can't wait for the actual device to be available!!
Does Ondemand generally have better battery life than Interactive?
 

ChongoDroid

Senior Member
Jul 29, 2010
6,206
2,908
253
Vancouver
No idea, all depends on your type of usage. If you play lots it doesnt matter what governor you use. If you just read text a less jumpy governor should make a difference between 4 hours reading and 6 hours reading.
This. We'd tweak ondemand to scale more aggressively and in the end it only used 3 slots. Night and day battery life on sense builds especially.

Hehe remember the swarm of worried folks when you changed the min cpu to 700mhz on the gnex? Lol they're probably still asking to this day..
 

Martin_Ro

Senior Member
Jan 9, 2012
1,815
4,726
0
Essen, Germany
OK, installed Build 4 and have done some Geekbench to compare.

Similar to the run with build 3 I post the best of 3 runs.
My observation is, that there is no real difference between build 3 and 4 in this area. Both have been between 20xx and 22xx.

But maybee there is an issue with deepsleep with build 4.
As you can see by my cpu spy screenshot, it don't hit's deepsleep.

Will let the phone now left unused for a longer time to see, if it will go to deepsleep later.

What is the normal timeout for deepsleep, i thought 10min ?

Maybee it would help in terms of battery to significantly shorten this timeout (to maybe 5 mins ?)
Or better, why there is anyway such a big time ? Wouldn't it make sense to bring the phone to deepsleep maybe after 30 sec of screenoff or something like that ?

is this timeout done by kernel or by Chipset ?
 

whittikins

Senior Member
Oct 12, 2011
761
191
0
No idea, all depends on your type of usage. If you play lots it doesnt matter what governor you use. If you just read text a less jumpy governor should make a difference between 4 hours reading and 6 hours reading.
I see. I do a lot of reading (Tapatalk, Reddit Sync, Dolphin Browser), so an improvement for that would be great.
 

franciscofranco

Recognized Developer
Dec 9, 2010
24,725
136,397
0
Carcavelos
This. We'd tweak ondemand to scale more aggressively and in the end it only used 3 slots. Night and day battery life on sense builds especially.

Hehe remember the swarm of worried folks when you changed the min cpu to 700mhz on the gnex? Lol they're probably still asking to this day..
Yeah they still ask sometimes, but I don't give a rats ass :)

OK, installed Build 4 and have done some Geekbench to compare.

Similar to the run with build 3 I post the best of 3 runs.
My observation is, that there is no real difference between build 3 and 4 in this area. Both have been between 20xx and 22xx.

But maybee there is an issue with deepsleep with build 4.
As you can see by my cpu spy screenshot, it don't hit's deepsleep.

Will let the phone now left unused for a longer time to see, if it will go to deepsleep later.

What is the normal timeout for deepsleep, i thought 10min ?

Maybee it would help in terms of battery to significantly shorten this timeout (to maybe 5 mins ?)
Or better, why there is anyway such a big time ? Wouldn't it make sense to bring the phone to deepsleep maybe after 30 sec of screenoff or something like that ?

is this timeout done by kernel or by Chipset ?
Deep sleep kicks in as soon as you turn your screen off unless you have a wakelock being hold. Check your apps :)
 

Martin_Ro

Senior Member
Jan 9, 2012
1,815
4,726
0
Essen, Germany
Hm, ok, will do that for sure, have installed betterbatterystats now.

But it would be confusing, because yesterday I have had deepsleep without problems and the only change since then is your build 4.

But anyway, I will check it.


[Edit]

Ok, maybee im only a complete Noob or gimp or what ever. After removing the usb cable it goes well to deepsleep^^
So don't mind, it was all about an absolute beginner error....:eek:
 
Last edited:

franciscofranco

Recognized Developer
Dec 9, 2010
24,725
136,397
0
Carcavelos
Hm, ok, will do that for sure, have installed betterbatterystats now.

But it would be confusing, because yesterday I have had deepsleep without problems and the only change since then is your build 4.

But anyway, I will check it.


[Edit]

Ok, maybee im only a complete Noob or gimp or what ever. After removing the usb cable it goes well to deepsleep^^
So don't mind, it was all about an absolute beginner error....:eek:
Yes it doesn't go to deep sleep with the usb charger. When its charging it needs to hold a wakelock so when you take the cable off the lock is released and it can go to sleep :)
 
  • Like
Reactions: AshtonTS

ChongoDroid

Senior Member
Jul 29, 2010
6,206
2,908
253
Vancouver
On that note do you know if the Qualcomm S4 has something like smartreflex? Like when it goes into deep sleep does it UV dynamically?

Just trying to be relevant on my One X while my N4 ships :p
 

franciscofranco

Recognized Developer
Dec 9, 2010
24,725
136,397
0
Carcavelos
On that note do you know if the Qualcomm S4 has something like smartreflex? Like when it goes into deep sleep does it UV dynamically?

Just trying to be relevant on my One X while my N4 ships :p
Smartreflex doesn't work like that. It just calibrates the chip internals to use less voltage while maintaining the stability. Its just like doing UV with your favorite app, but it just does it by itself during boot.

I dunno if we can use AVS in here, but I remember thats what mach-msm arch used a while ago on msm7x30 and msm8x25 (if I remember correctly).
 

franciscofranco

Recognized Developer
Dec 9, 2010
24,725
136,397
0
Carcavelos
Just got build 5 out. The only difference for build 4 is that I added the fsync toggle thingy:

Fsync:

echo 1 > /sys/module/sync/parameters/fsync_enabled - to enable

echo 0 > /sys/module/sync/parameters/fsync_enabled - to disable

If you disable fsync your data integrity will suffer, specially if theres a power cut, it might corrupt. In its counterpart it boosts IO performance by lots.