yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Original Development] joaquinf:
The new hotplug driver changes that francisco has made are really good and lowering the t_l has helped a lot. He even lowered it on mako kernel :)

In the meantime you can play temple run 2 .... it runs great with test r41 :p lol just kidding, i'm sure that francisco will release it as soon as he thinks its ready, maybe he merged some more double rainbows, unicorn poop and black magic :cool:
[Nexus 7 Original Development] ginryu:
Just rated it 5 stars as it should be. I'm really happy with this kernel on pa. Just hope r41 can give me back my 9 hours screen time I had with r31 :D
[Nexus 7 Original Development] poondog:
I dont play temple run anyway :P

Cool, I'm on AOKP, so will the unicorn poo and rainbow conflict with any of the AOKP ,modifications?

/kidding, maybe when I wake up there will be a new kernel :D night all
[Nexus 7 Original Development] Puzzlegirl:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r40

Five star rating from me :) Looking forward to the new kernel franco. You're a tease @joaquinf :p And thanks to you and os and the GB man and anyone else who tries all those settings etc for my benefit :D
[Nexus 7 Original Development] tropicanapure:
Hello,

I just got started with this rooting business (mskip's toolkit). And was wondering if I can load your latest release of the kernel onto my newly rooted device?

Before everyone else pounces, I did read through quite a few posts and have noticed posts saying CWM is not supported. So I am assuming the answer is a NO. But I wanted to double-check my understanding. :cowboy:

Thanks in advance.
[Nexus 7 Original Development] poondog:
If you're worried about the recovery, flash it via fast boot :)

"Fastboot flash boot boot-r40.img"
[Nexus 7 Original Development] tropicanapure:
how does one do that? I reboot my N7 and get it to the usual start / restart bootloader / Recovery Mode ... menu. Where do I type this "fastboot" command? (duh!)
[Nexus 7 Original Development] osm0sis:
Also the CWM thing was just at the beginning before franco started making zips. You can grab a zip and flash via CWM now if you like too. :)
[Nexus 7 Original Development] tropicanapure:
Oh brilliant. So I just copy the zip to the card like always, boot into CWM recovery and choose to install the zip? Sorry to be asking such basic questions, but I have not used CWM for a good year and half now. Just would hate to mess up my N7 as it is humming beautifully. Just need it to do better on power (which is where this Kern should help).
[Nexus 7 Original Development] s33d1ing:
This kernel doesn't have Kexec-hardboot patch does it?
[Nexus 7 Original Development] tropicanapure:
ok, that's done. Thanks! :silly:
[Nexus 7 Original Development] 1pop23:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r40

You are doing nothing but ticking me in places that make me feel good with this information! Can't wait to get my hands on 41
[Nexus 7 Original Development] gapone:
You can get 8-9 hours of screen time if you just keep the screen on and do nothing with your tablet... just like your posted images from r31 show us

It's just impossible to get 8-9 hours of screen time if you use your tablet as a normal person. Just my thoughts...
[Nexus 7 Original Development] ginryu:
Well I played Mario like 1/2 an hour and then used mi tablet for what I used it most of the time: read. It was some HD comics and of course was swiping mi finger on the screen to change pages. It wasn't there just doing nothing if that's what you mean.
[Nexus 7 Original Development] osm0sis:
Reading is pretty low power, so that's how you achieved such a great screen-on. Especially if you read inverted/night-time mode. :good: :)
[Nexus 7 Original Development] capoooro:
R: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r40

The power of reading...:D
[Nexus 7 Original Development] GedBlake:
Also 5 star rating from me... been 'lurking' here for a quite a while now, trying to get a conceptual understanding on all this 'tuneable' and 'ramdisk' stuff. Think I understand better what a kernel is or does now... just a bit hazy about what the ramdisk is (or does)...

Anyway, thank you Franco for r40... in conjunction with Paul O'Briens (MoDaCo) CM10.1 ROM, my Nexus 7 is an absolute delight to use!

I will continue to 'lurk' and read... (even if I don't understand half the time what I'm reading)... occasionally I have my Eureka! moment, when I 'grok' something.

Looking forward to r41... thanks to all here, who both confuse and enlighten me - often at the same time!:).

Rgrds,

Ged.

ps. I am getting around 7 hrs screen time with r40... but then, I do have all the default Google stuff switched off, eg. NFC, GPS, Wi-Fi off during sleep, etc.
[Nexus 7 Original Development] Remoteconcern:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r40

Surely what the screen is displaying doesn't matter on an LCD? Just interested if you have any information to the contrary.

Yeah, I mostly read on my nexus 7 and get 10 hours easy but that's not worth posting. I found making the text smaller gave better battery life by a bit, less screen interactions. Lol.
[Nexus 7 Original Development] Metallice:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r40

You're thinking of AMOLED :) IPS LCD uses a backlight so white pixels consume just as much as black pixels.

...but I'm sure you knew that and are just getting mixed up with that device \|/ down there :D

Sent from my Galaxy Nexus

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

[COLOR]

It doesn't matter he's (I assume) just confusing devices/screen type.

Sent from my Galaxy Nexus
[Nexus 7 Original Development] The Gingerbread Man:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r40

Are we meant to be using 15/90/1.0/45/15 for now? I'm lost with all these numbers hahaha :p
[Nexus 7 Original Development] joaquinf:
hahah yup. That and the target_load set to 80. That's what i'm using right now :)
[Nexus 7 Original Development] franciscofranco:
r41 is up. Improvements on the Hotplug driver again, readahead to 1024 since I heard it plays better with ROW, init.d support, deleted all those .DS_store files from the zip file, target_loads to 80 and go hispeed load to 90. That should be it.
[Nexus 7 Original Development] The Gingerbread Man:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r40

Are you using deadline or row? I'm using row with 1024 read ahead buffer

---------- Post added at 07:36 PM ---------- Previous post was at 07:35 PM ----------

Awsome! What a great week this has been
[Nexus 7 Original Development] 1pop23:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Men, to you nexus! The time has come to flash!
[Nexus 7 Original Development] franciscofranco:
By the way thanks to Joaquin for raising me the concerns - I wouldn't know since I barely touch my N7.
[Nexus 7 Original Development] The Gingerbread Man:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

It would be great if there was an option to change the read ahead value in the next app update to as well as the target load which I think someone mentioned is up on the git already
[Nexus 7 Original Development] farmerbb:
FYI, I was getting md5 mismatches when trying to update to r41 via the app. Fastboot flashing the boot image from the website worked great, though.

Also, Francisco, I know that this has been asked several times in this thread but I haven't seen a definitive answer from you... Were you planning on adding the kexec-hardboot patches into the kernel for MultiROM support? That seems to be one of the only notable things missing from the kernel at this point and I wasn't sure if you thought it was a "stupid patch" or not :)
[Nexus 7 Original Development] The Gingerbread Man:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Between you guys you done a great job so thanks Franco and Joaquin. The n7 is great but I bet the n10 is a beast compared to it lol
[Nexus 7 Original Development] franciscofranco:
That will all be available, just need to sit down and code it, lacking time lately :)

I plan to add that yes, but I need to study the code first.

The Nexus 10 is much better yes, no comparison.
[Nexus 7 Original Development] osm0sis:
Damnit, yup. Sorry guys. I'm having forum confusion today. :silly: Thought I was in the GN thread. :p

Nice. So MultiROM is on the books! Also I've seen something about 3G wakelocks brought up multiple times by tomeks, and that M-Kernel has done some recent patches that resolve it. http://xdaforums.com/showpost.php?p=37005067&postcount=3464, http://xdaforums.com/showpost.php?p=37030839&postcount=3532.

Also please fix the updater-script in the zip so that instead of

package_extract_file("boot.img", "/dev/block/mmcblk0p2");

it's

package_extract_file("boot.img", "/dev/block/platform/sdhci-tegra.3/by-name/LNX");

:good: :D ..I just keep thinking of that poor guy's N4. :(
[Nexus 7 Original Development] xI mEzMeRiZe Ix:
My only complaint with the N10 is that it really has no purpose being in portrait. Even though I enjoy using my N7 primarily in portrait, I can use it in any orientation. With the N10, landscape is the only feasible way to use it, and I am not really a fan of that. Other than that, the N10 is much better, unless you want a smaller device.
[Nexus 7 Original Development] The Gingerbread Man:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Cool good to hear and no rush we all know your a busy guy. I must admit I was thinking about getting the n10 but with the 32gb WiFi n7 being less than £200 the cost was the decider for me, maybe when I get another tablet I'll get a 10 incher :)
[Nexus 7 Original Development] joaquinf:
Thanks to you for listening to us and for your prompt response :) Thanks for this r41 too, it's great that although you don't use your n7 you still give such a great support and give us your amazing work.

I'm thrilled to hear some feedback. I'm very happy with the work you've done franciso, this **** is smooth

:cool:

EDIT: of course big props to all of you guys who have participated, keep up the good work :good:
[Nexus 7 Original Development] Xentar712:
Tassadar posted this thread on the matter, in case you were interested. Thanks for working on it. I like having Ubuntu on my N7 but I like your kernel more. Can't wait to have both.
[Nexus 7 Original Development] davisac:
Hey Franco (and everyone else) I tested out the I/O Schedulers included in r41 in AndroBench to see how they all did.

Default r41 settings except for FSYNC off and GPU @ 520. I tested at both 1024 and 2048 read ahead (I didn't do 3072 or 4096 because my last test with M-Kernel the scores started dropping off after 2048. Same for FSYNC: scores are a lot lower with it on).

Link to the results in Google Docs
[Nexus 7 Original Development] joaquinf:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Well that's weird. I suggested 1024 + row because your previous test showed better results with row @1024 and deadline @2048
[Nexus 7 Original Development] osm0sis:
Sooo we should be using deadline with 1024?
[Nexus 7 Original Development] davisac:
Yeah I was curious if it would hold true in a different kernel or not.

If anyone else is interested in testing I think it would be good to see some data from another Nexus and see if it performs the same. I assume every one is a little different.
[Nexus 7 Original Development] joaquinf:
k. I'm downloading androbench and will report back
[Nexus 7 Original Development] djdunn:
R41 battery measurements stock settings measured with latest battery monitor widget

Screen on idle time at ~-260 mAh which is roughly 6%battery per hour

Sleeps at ~-59 mAh

Deep sleeps at -6 mAh

Pretty much the same as r40

---------- Post added at 04:36 PM ---------- Previous post was at 04:34 PM ----------

Dont forget if you have fsync off during i/o tests your effectively testing the ram speed and not i/o because your not actually writing the data, thats why scores are much lower with fsync on
[Nexus 7 Original Development] franciscofranco:
I love good tests. Thanks guys. And please you should use FSYNC enabled on IO tests, which is more real life-alike.
[Nexus 7 Original Development] davisac:
Will redo....
[Nexus 7 Original Development] djdunn:
Also i noticed that the power button allows the device to drop to deep sleep not right away but eventually also not quite as fast as the magnetic switch it didnt used to thats why i mentioned it

---------- Post added at 05:25 PM ---------- Previous post was at 05:18 PM ----------

You didnt do anything wrong, i/o isnt as simple as reading and writing in a notebook. I wrote a big post explaining what fsync is and how it changes the system
[Nexus 7 Original Development] davisac:
OK I updated the tests with FSYNC on. Same settings method etc as before.

Full results on Google Docs
[Nexus 7 Original Development] franciscofranco:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Interesting to see deadline coming through in almost every tests.
[Nexus 7 Original Development] ÜBER™:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Anybody have any clues as to why my java scores and efficiency is way less than everyone else's? Mine only hits 2500 while everyone elses is 6000, and my efficiency is only ever 20%?

Sent from my Galaxy Nexus
[Nexus 7 Original Development] currydude:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Guess we should go back to deadline as default?
[Nexus 7 Original Development] osm0sis:
row still feels smoother with the new tunables, regardless of the tests. :confused:
[Nexus 7 Original Development] davisac:
IMO no scheduler really runs away in my tests.
[Nexus 7 Original Development] franciscofranco:
Yeah, tests are just synthetic, if it feels better then its what we should use.
[Nexus 7 Original Development] osm0sis:
I also think read ahead buffer of 2048 felt a bit better on my device.

Running with t_l 85; g_h_l 95, and I believe it feels a little better as well for some reason. Maybe more of a sweet spot than 80; 90?

P.S. init.d works! ;)

#!/system/bin/sh
# chmod -R 755 /system/etc/init.d

echo 2048 > /sys/block/mmcblk0/queue/read_ahead_kb;
sleep 35;
echo 85 > /sys/devices/system/cpu/cpufreq/interactive/target_loads;
echo 95 > /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load;
[Nexus 7 Original Development] icepuente:
Just a heads up, on r41 on idle the frequencies jump between 100 and 1000 without any user interaction at all. I don't have any background apps active.
[Nexus 7 Original Development] franciscofranco:
What do you mean idle? Just sitting there with the screen on?
[Nexus 7 Original Development] osm0sis:
Try the settings from my last post. Sounds like ghl (or ahd) is a bit low.
[Nexus 7 Original Development] icepuente:
Yes with just the screen on within the Device Monitor on your application. It was switching periodically but it seemed to have stopped for now. Maybe I did really have some app taxing the cpu without being aware. Well as I was writing this post it jumped straight to 1300, dropped to 1000 and down to 100, and continued from 100 to 1000. This was after making sure to stop anything that would present a load to the cpu.

Edit

Maybe I am just being sensitive and everything is completely normal but it just appears as the threshold to allow it to jump to hsf is much lower now.
[Nexus 7 Original Development] osm0sis:
Monitoring takes some cycles so a bit of a rise is expected, but 1000MHz means it's triggering g_h_l. With my new test settings I'm only seeing it jump to 400MHz occasionally - provided there aren't any background possesses.
[Nexus 7 Original Development] franciscofranco:
Neps. We got the same over the Nexus 4 forum. The timer_rate was too low (10k) and it kept ramping the cpu freq for no reason (because it samples so less that it barely has time to decide what to do). I set it as 50k and all users rejoice.
[Nexus 7 Original Development] Trewyy:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Hey Franco,

I'm currently using your franco.Kernel Updater app, and I have a few questions about the update process. When I flash an updated version of your kernel, am I also over writing my old governor settings? Or does that have to be performed manually?

Thanks for the great work, and for the insight :)

Robert
[Nexus 7 Original Development] franciscofranco:
If you have the flag to set the values on boot the app will always have prevalence over anything that I set in the kernel. Just untick the checkbox and it will be with stock values.
[Nexus 7 Original Development] mishko:
Sv: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Hey Franco. Just flashed the latest r41. But is it safe to raise the GPU speed to 446 (or 484)? Or does it mess things up?
[Nexus 7 Original Development] irminsul:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

My n7 takes a GPU till 666 MHz completely stable, didn't try higher cause you don't wanna push it over 700.

Just try it, uncheck set on boot to be safe. Many people here run a 484/520 MHz GPU without issues.
[Nexus 7 Original Development] poondog:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

I am running it at 484 and its fine :)

Sent from my Asus Nexus Unicorn
[Nexus 7 Original Development] Grakel:
Well, I'm running on 560mhz without any problems at all. I didnt feel heat either. Am I mad for setting it so high?
[Nexus 7 Original Development] irminsul:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Not at all, just don't push it over 700 so bad things won't happen.
[Nexus 7 Original Development] exzacklyright:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Can we use these on the galaxy nexus too? I know most are using interactive, row, Westwood... but I'm not sure about the governor settings, or if we should just leave it as default.
[Nexus 7 Original Development] irminsul:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Try it, I'm using it and its more smooth than the original settings. With hsf of 729 it runs smooth also so no need to bump it to 1036 MHz.
[Nexus 7 Original Development] osm0sis:
We've been testing them out over there too, so feel free to get in on the fun. ;)

30/95/1.0/45/45; t_l 85 still jumps to 1000MHz fairly often with some background processes and without (unless it's basically completely idle beforehand), but does seem to improve the amount of time spent at 100MHz.

Saw a bit of lag with t_r at 45, so I put it back to 15 and it still sits at 100MHz about the same and things are running smoothly again. Please try:

30/95/1.0/45/15; t_l 85
[Nexus 7 Original Development] currydude:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Funny how after setting -100uv globally, my device would overheat constantly but remained stable After disabling the UV and bring the voltages back to stock, my device is back to normal. Anyone know why this is the case?
[Nexus 7 Original Development] exzacklyright:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Isn't the minimum cpu freq at 300
[Nexus 7 Original Development] sjknight413:
I seem to be the only one with this issue anyways, but changing to these from default r41 values increases the 'stickyness' of the homescreen after unlocking.
[Nexus 7 Original Development] joaquinf:
Trying them right now. For me is often jumping from 100 to 1000 for no particular reason when the tablet just sits there with the screen on. This behavior tend to dissapear when setting t_r >30000 at cost of performance

nope. Min freq is 100 MHz

Freq steps are 100/400/700/1000/1300

---------- Post added at 10:07 AM ---------- Previous post was at 10:02 AM ----------

Please try 30/90/1/45/30; t_l 80. Feels a lil bit better IMO
[Nexus 7 Original Development] nolandrew:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

On r39 my n7 slept like a baby, but r40 and r41 drain like crazy in deep sleep. anyone else notice more drain?

haven't changed any settings between versions. Just stock kernel values.
[Nexus 7 Original Development] joaquinf:
damn that's bad. I don't have such issues on deep sleep mine is almost a flat line
[Nexus 7 Original Development] osm0sis:
A little sluggishness after an unlock is normal. Things are syncing up, etc. I've never expected things to be totally smooth directly after unlocking, just like directly after booting.

---------- Post added at 12:05 PM ---------- Previous post was at 12:03 PM ----------

I'll try these out tonight! I moved away from 90; 80 to see if I could get the slightly better smoothness from the test build back (I thought perhaps counter-intuitive sweet spot), probably improve the battery as well, but perhaps just the read ahead buffer will cover the smoothness. :good:
[Nexus 7 Original Development] nolandrew:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Yeah that's how r39 is for me. I just can't figure what caused the change. :( At least I know that it's just me and not common.
[Nexus 7 Original Development] franciscofranco:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Btw guys 8.4 app version lets you fiddle with interactive settings like'a boss. Have funs.
[Nexus 7 Original Development] Metallice:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

In addition to the importance of "feel", I'd just like to add that speed isn't the only, nor is it the most, important component of a I/O scheduler.

They are called I/O schedulers for a reason, they merge requests, reorder, prioritize, round robin-ize, queue, etc. A scheduler can be fast, but terrible at scheduling requests in a optimized way for mobile devices. This will result in a poor experience despite the read/write speed.

ROW may be slower than deadline, but the emphasis of read over write can make the experience better nonetheless.

Haven't you guys ever wondered why Google has the default scheduler set to CFQ instead of Deadline or NOOP when the former two are clearly faster?

If you look at the commit history in the kernel source you can see that at one point they had the Tegra kernel running Deadline (or NOOP... can't remember). However a later commit changed it back to CFQ as the other schedulers, despite their speed, led to lag when downloading apps from the play store in the background (gist of what I think they said). Sure the downloads were probably finishing faster, but Google cares more about UX.

FYI - ROW or BFQ would be much better for avoiding background downloading lag than CFQ since CFQ is better for spinning disks, but those aren't options in the AOSP kernel source.
[Nexus 7 Original Development] davisac:
So Metallice, in your opinion are the tests I was doing in this thread mostly worthless for real world use?
[Nexus 7 Original Development] Metallice:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

No. Faster is still faster.

Sent from my Galaxy Nexus
[Nexus 7 Original Development] exzacklyright:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

I'm on row and my phone is pretty much unusable when upgrading apps or receiving texts.
[Nexus 7 Original Development] TheByteSmasher:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Phone? Texts? This is the Nexus 7 thread... are you using the right kernel or just in the wrong thread?

Sent from my Nexus 4
[Nexus 7 Original Development] franciscofranco:
Its easily possible to make CFQ more flash memory alike, I done that few times.
[Nexus 7 Original Development] joaquinf:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Nice update man :thumbup:
[Nexus 7 Original Development] combatdeity:
Any reason why 484/520? Are there certain frequencies that the GPU runs better at?
[Nexus 7 Original Development] JDCFH:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

I'm getting shockingly bad battery life on r41... What gives?
[Nexus 7 Original Development] Sveke:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Must be a rogue app. Mine is great.
[Nexus 7 Original Development] sjknight413:
It doesn't do it at all with the default cm kernel though.
[Nexus 7 Original Development] Copitox:
My battery life is not as awesome as everyone's here. I'm running CM 10.0 and franco kernel r-25, and it's actually worse than stock 4.1.2.

Sure, on standby it's like magic. 8 hours on sleep and still 100%, but on screen use drains the battery faster than stock 4.1.2... it's actually comparable to 4.2.1.
[Nexus 7 Original Development] JDCFH:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

How can it be on a fresh rasbeanjelly install? Nothing running...