yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Original Development] dems86:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r40

What dies wifi pm_fast do? Is there a setting for it in trickster mod or francs app?
[Nexus 7 Original Development] Sveke:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r40

It helps keep WiFi connected while phone is sleeping.

In trickster I think its called WiFi hi speed or something. Top of generals page.

Sent from my Galaxy Nexus
[Nexus 7 Original Development] osm0sis:
Holy sh*t that is a dramatic difference. Thank you for the methodical testing! Very helpful. :) I'll probably still keep fsync on the majority of the time since I usually only make backups once a month, but it's good to know how easy it is to get a performance boost on r/w if I feel an app or game is lagging. Did just this the other day on that lame (but fun) Frisbee game with my GN. It always lags and drops frames when you pass through the hoops with stars or sometimes just getting the stars alone. Turning off fsync (is the only thing that) resolves this entirely! :good:

Edit: Any idea why the app totals (lower being better) are so much worse for deadline with fsync off?
[Nexus 7 Original Development] joaquinf:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r40

Holy s**** indeed! Thanks for that info.

Os have you tried a new tunables combo yet? :p things are going really well with the new defaults huh?
[Nexus 7 Original Development] osm0sis:
Girlfriend has our N7 at class, so it's still stuck on r39. :crying::p

By the sounds of it though.. Milestone, here we come! :D
[Nexus 7 Original Development] 1pop23:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r40

Milestones indeed! This is so far the best build! Only lag you see is right as the device booted up and then initial switch from the app drawer and widget section. Other then that super smooth, battery so far seems great as well!
[Nexus 7 Original Development] Qeemi:
R: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r40

I noticed an increment in battery drain with last build

Inviato dal mio Nexus 7 4.2.1

Quad-core POWER
[Nexus 7 Original Development] Salty Wagyu:
Mine is on row, and cubic for tcp at defaults, no idea what the 2048 is.
[Nexus 7 Original Development] osm0sis:
2048 is the f.K default read ahead buffer. deadline appears slightly more optimized for 2048 where ROW seems to like 1024 (based on the awesome test results posted a page back), but don't worry about it too much.

Also try out westwood. We've pretty much universally found it better for TCP speeds. Franco just keeps it at cubic since that's what the Linux default is; Android default is none at all.
[Nexus 7 Original Development] thisguy23:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r40

So we've beat this one to death in the past, but there is a pretty good debate on Metallice's kernel thread about lp v g core at low frequency. (Power usage v speed)

Osm0sis and anyone else that has knowledge on this matter, I'd be interested on your thoughts over there.

Back to topic, r40 is running great. 2 hours screen on and at 70% remaining battery. Not bad! Thanks Franco
[Nexus 7 Original Development] osm0sis:
I've got no real knowledge to throw at the topic, but someone did actual voltage readings a number of pages ago. Search for posts by franciscofranco and you'll find it since Franco quoted and thanked the guy. :good:
[Nexus 7 Original Development] TheByteSmasher:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r40

You forgot the zip again... :p

Question: if I backup a kernel, can I use that img, and replace the img in a previous zip to make my own? Or is the backup somehow different?

Sent from my Nexus 4
[Nexus 7 Original Development] thisguy23:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r40

But on thing nvidia claims is that the lp core has better performance per watt at low frequencies. So I ask which is truly better.. And so while they are pointless I will try r40 and "other" kernels 666mhz and below to see what kind of numbers we can get and post later with the results.
[Nexus 7 Original Development] bervin:
What governor are you guys using? I see that touchdemand has been implemented
[Nexus 7 Original Development] osm0sis:
That would be great. Thanks! We definitely need some hard evidence for this debate. There's been more than enough hypothesizing up to this point. :)

Interactive all the way. The new interactive incorporates some elements of ondemand scaling as well. :good:
[Nexus 7 Original Development] Sveke:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r40

Didn't forget the zip.

I answered this like 4 pages ago.

Read a little at least.

Sent from my Galaxy Nexus
[Nexus 7 Original Development] bervin:
Do you change the interactive parameters or leave them at stock?
[Nexus 7 Original Development] dems86:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r40

;)
[Nexus 7 Original Development] 1pop23:
not to keep this off topic but is anyone else having problems with trickster? Trickster wont apply the change to Read Ahead Buffer Size and keeps reverting it back to 3072. I have set it on boot and applied the changes multiple times

Leave them stock, but i would change the GPU speed to 484
[Nexus 7 Original Development] osm0sis:
He DID forget to name it correctly ;) and also still hasn't removed those .DS_Store files or fixed the updater-script to push by-name yet though.

Stock. The r40 defaults are the product of a couple weeks of testing from everyone in here. :D

Not a clue sir.. never used Trickster before, and the f.K default should still be 2048.
[Nexus 7 Original Development] davisac:
I just tried it [restarting] with Trickster and it worked for me. ROW @ 1024.
[Nexus 7 Original Development] 1pop23:
Ya it keeps the change until you restart the device i found. Its very odd
[Nexus 7 Original Development] davisac:
Sorry I meant I restarted it. And it still worked.

Do you have Franco's app set to apply at boot too? I disabled that when I tested Trickster.
[Nexus 7 Original Development] 1pop23:
nothing is set to boot on francos. Could be that i have it set to auto give root access. Ima try disabling that and see if that fixes the problem

Edit:Did not fix the problem. Im kinda lost as to why this isnt working. Gonna uninstall the app then reinstall it

Edit 2:Still did not fix the problem...

Does anybody know a way to do this through terminal commands?
[Nexus 7 Original Development] franciscofranco:
I call it marketing bull crap from NVIDIA.

?
[Nexus 7 Original Development] irminsul:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r40

Touchdemand is a special governor that's programmed to react on input on the screen by your fingers. Try to touch an icon on your screen and see what'll happen. Thank you for implementing that feature Francisco :p
[Nexus 7 Original Development] osm0sis:
Hey Francisco! Sorry I missed out on the fun last night after I went to bed. Missed you by 20 minutes! A couple items that have come up a few times:

Also the run-parts call for init.d, please. :)
[Nexus 7 Original Development] TheByteSmasher:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r40

Your rudeness aside, I'm confused as to where you think you answered my question? I went over your posts for 21 pages and, no you didn't answer anything. Did you see the word zip and rush to flame me?

Edit: r40 zip now uploaded. Still I'm wondering if I can make my own zip from the boot.img using a previous zip.

Sent from my Nexus 4
[Nexus 7 Original Development] davisac:
http://xdaforums.com/showpost.php?p=37039443&postcount=3548
[Nexus 7 Original Development] TheByteSmasher:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r40

I know where the blasted things are! When I first posted, it hadn't been updated yet, additionally, I didn't ask where they are! I informed Franco that he hadn't yet uploaded the zip and secondly I asked if I could make my own. Where in there does anyone get "where are they?"

Sent from my Nexus 4
[Nexus 7 Original Development] osm0sis:
No. You're slightly mistaken. It was there all along just wasn't named correctly, and that's what they were trying to tell you and point you to it.

It was called franco.Kernel-nightly.zip instead of franco.Kernel-nightly-r40.zip, and franco has just rememdied that.
[Nexus 7 Original Development] Sveke:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r40

I wasn't rude. I just said read a little. And yes its there, someone else actually quoted it last page.

Don't get all butt hurt. I wouldn't have said anything if it literally wasn't a few pages ago.

I'll admit it wasn't named r40 but a little common sense would've figured it out quick.

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

Thank you. Now I understand. However with regard to my zip making question? Do you know? The zip missing wasn't even a question, just a statement (wrong, but just a statement) the question is still open. Thanks for putting it in plain English Osm0sis.

Sent from my Nexus 4
[Nexus 7 Original Development] osm0sis:
Yes you can, all you do is replace the boot.img inside. Though honestly you should go through and delete the .DS_Store files if you're going to do that too, and rewrite the updater-script to push the image to the /by-name/ location of the kernel rather than the mmcblk since that contributed to that guy bricking his N4 a while back. :(
[Nexus 7 Original Development] xI mEzMeRiZe Ix:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r40

That poor guy :(

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

Sweet, thanks. Maybe I'll just make a shell to use every time. I only use it to keep Franco on during ROM flashes. Yup, you heard me, I make my ROM Franco's bi*** before it even boots the first time. :D

Sent from my Nexus 4
[Nexus 7 Original Development] franciscofranco:
Touchdemand lol... But I didnt implement anything, Google's PowerHAL do that by default.

Yes I will do that later, I keep forgetting.
[Nexus 7 Original Development] osm0sis:
Oh yeah, and the patched PowerHAL. :p

Then I think we'll be ready for M1. :good::D
[Nexus 7 Original Development] davisac:
@Franco:

I have to tell you I'm really impressed with r40. I don't know how much stock everyone places in AnTuTu but I'm getting about 1800 pts higher than r38. But even without the benchmark it feels really smooth and silky :good:

I can't promise loyalty though: I have a disease and must keep trying out other kernels ;)
[Nexus 7 Original Development] thisguy23:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r40

OK... Well while I'm unsure of the power usage difference between kernels with lp enabled and Franco's, I can speak of the difference in performance... And its big. Really big.

So I tried to be fair with each kernel and left all settings to default, except CPU speed. I tested Franco's 39 (500) and Metallice's 32 (475mhz). I used one app to test CPU bench. So my results are highly unscientific. So with this said, don't blast me for not matching gov settings and rads and so on.

Results:

M- Total 896

Ram 291

CPU integer 343

CPU float 262

F- Total 8715

Ram 1841

CPU integer 3979

CPU float 2895

So I guess its clear which on "appears" to be faster. The next question is power usage. Either way, both are great kernels!
[Nexus 7 Original Development] Metallice:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r40

Well I'm pretty sure you've just proven that 4 high power cores running at 500MHz with interactive is faster than 1 low power core running at 475MHz with ondemand...

Sent from my Galaxy Nexus
[Nexus 7 Original Development] osm0sis:
His screenshot does say 475 x4 ... ?
[Nexus 7 Original Development] Culex316:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r40

This new kernel is great! Since I mainly use my tablet for games performance improvements are very helpful... Especially for GTA3 which ran like ass a few nightlies ago but now runs wonderfully.

However, since I don't use my tablet as much as my phone I still don't know what is considered "good" battery life.

Here are Screenshots of my battery screen so far. Keep in mind I am running r40 on stock JB 4.2 on a Nexus 7 3G (no SIM card) and I'm on interactive with stock CPU speed, 446mhz gpu and stock governor settings

Is this OK battery life for someone who is a GTA addict?
[Nexus 7 Original Development] Metallice:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r40

Yes. Android is blind to the existence of a LP core. So it thinks there are 4 cores always available. But if the LP core can never reach it's max (666), it will never be able to switch over to G mode and use 4 cores. (That's just how it works)

Sent from my Galaxy Nexus
[Nexus 7 Original Development] ÜBER™:
So what would be an accurate way to test battery consumption between the two? LP and no LP? That is what needs to be determined.. not which is faster.. its pretty obvious which is. :silly:
[Nexus 7 Original Development] Metallice:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r40

That would be interesting. You'd have to limit the freqs to the same value as both min and max on both (like 340-340, best to use a middle LP freq), and on Franco use trickster to pm QoS the maximum number of CPUs to 1.

Then set both to no background processes etc in Dev options, airplane mode, minimum brightness (minimize the battery impact of the display for more resolution in results), and let them loop SW decoded 1080p video and see how long out takes them to die

I'd happily dump the LP core if it really is worthless.

Sent from my Galaxy Nexus
[Nexus 7 Original Development] davisac:
IMO the best way would be for Franco to re-enable LP on the kernel and release both versions for testing. I don;t think he would be interested in it and I have no idea how much work that would be.

How hard would it be to release two builds Metallice? One with LP enabled and one without.
[Nexus 7 Original Development] Sveke:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r40

I'm totally satisfied with my consistent 6hrs screen on...so I'm all about horsepower at this point. :thumbup:

Sent from my Nexus 7
[Nexus 7 Original Development] ÜBER™:
I might consider doing this. Unless i get beat to it.
[Nexus 7 Original Development] thisguy23:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r40

You're right. How can I turn off all cores except one to test? I know that the test is unfair in the matter of 4 against one core! I never said I was the expert. I was actually hoping that you would jump in and provide some details about actual power usage for each.

So with my unscientific results aside, I give you this, the battery life on this thing is amazing either way. I have no idea which way of using the tegra 3 chip is best. I'm thankful we have many devs that create these awesome kernels.
[Nexus 7 Original Development] rumirand:
Issues with I/O and screen off

Hi all, I'm back with an issue I posted many pages ago.

I've a N7 16G, using 4.2.1 stock rom and franco r40 (stock settings).

When I'm downloading something with uTorrent and the screen is off, I'm getting a SOD. It's triggered only when screen is off, using wifi and making I/O to disk. Tried disabling Wifi PM, changing schedulers, but nothing helped. Stock kernel and M-kernel doesn't have this issue.

As usual, last_kmsg attached.

Any ideas?

Thanks,

RJ
[Nexus 7 Original Development] osm0sis:
I'm no expert on this architecture or on the power consumption. I linked you to some power readings from sleep before, but here they are again:

So if we also got readings from M-kernel (or any other using the LP) in sleep and deep sleep then we'd know how efficient the LP core is vs. franco's implementation of all 4 G-cores. Maybe djdunn could volunteer his services again? :)

Metallice's method above also looks like another good way to tackle it.
[Nexus 7 Original Development] franciscofranco:
4.2 bug, its easily trig-gable.

I'm happy to see empirical data of LP-core vs normal cores - but intuitively I would say the cluster switching costs more being simply using normal cores and ditching the LP.
[Nexus 7 Original Development] sjknight413:
Been on cm10.1 nightlies ever since I got my nexus 7 a couple of weeks back, don't know why but after flashing any kernel I get some stickyness in scrolling on the homescreen after unlocking. Lasts for up to five seconds some times and it gets so bad I can barely get past one page during that time. Happened with every version of Franco's kernel so far and I tested mkernel but it still happens.

But here's the kicker, it is completely fine on the stock cm kernel.

Anyone know how to fix it? Or why this only seems to be happening to me?
[Nexus 7 Original Development] thisguy23:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r40

Not to say you dont known what you're talking about, but what kind of power loss are you talking about? Do you have any numbers to show for the power difference of lp v g?

I not trying to be a jerk. I know you know a lot about all this and your work across several devices speaks for itself.
[Nexus 7 Original Development] opz187:
That is the one and only issue I currently have with the kernel as well. Whenever I try to download torrents the tab will freeze up. No biggy tho, I usually switch to lean kernel real quick to download it, then back to franco
[Nexus 7 Original Development] djdunn:
Im not exactly thrilled with the lp core on the mobile. Its a nice concept and theory, but with arm already being so efficient especially when it comes to hotpluging the extra 3 cores and dynamic frequency scaling.

My tests i did with battery monitor widget id love some other people to try to recreate them., the lp core just doesnt sleep as well, talking ~10x more power use with a deep sleep, ~3x more plain sleeping. You gotta remember that 3 cores hotplug themselves off when the N7 idles and doesnt need them, while the 3rd scales down to 100mhz.

Imo the lp core might be better used in a server environment for a machine thats not constantly under load in partnership with a high performance cpu, one thats not designed to scale efficiently. Might save a good bit of money depending on the use or.

What would really help the battery life is getting one of those hats with an umbrella on top, make the umbrella out of solar power cells and walk around looking cool like that.
[Nexus 7 Original Development] question.com:
Thanks for the heads up. Wasn't aware that's how it worked for the n7
[Nexus 7 Original Development] timbck2:
Wow Franco, the change you made with the threads in the updater app *really* made a difference in the smoothness of the app! You continue to amaze! :thumbup:
[Nexus 7 Original Development] franciscofranco:
The CPU goes back to 1300Mhz because Grouper PowerHAL is playing with you and with all of us. There are two possible fixes:

1 - Set read-only permissions to those files and nothing will be able to edit them

2 - Edit the PowerHAL and remove that routine

I'll possibly go down the PowerHAL thingy like I did with the Tuna PowerHAL binary.

Yep, it really did, its like a completely new app :)
[Nexus 7 Original Development] franciscofranco:
r6 is out featuring the latest interactive patches that I merged for the Galaxy Nexus device plus an extra Wi-Fi patch.

Tuna users are very happy with this latest governor patches and they also feel very good on this N7.

Have fun.
[Nexus 7 Original Development] foxdog66:
No zram? I'd like to check this kernel out a little more but my device seems to kill off apps while I'm using them and feel a little sluggish without some swap action going on
[Nexus 7 Original Development] Cdoan34:
Trying to dl through the app and its not working fyi.

great kernel though both on my galaxy nexus and my nexus 7 :]
[Nexus 7 Original Development] ricardowec:
Same here, the app does not DL if a different kernel is installed

Sent using The Beast via Tapatalk 2
[Nexus 7 Original Development] franciscofranco:
Yeah I didn't know this wasn't working properly... which I wasn't exactly expecting. I'll fix it tomorrow, enough Android for today.
[Nexus 7 Original Development] franciscofranco:
No ZRAM, useless feature. SWAP as well, useless, we have 1GB ram, we don't need the device to swap in the background - waste of resources.
[Nexus 7 Original Development] simms22:
most likely is your setup. is your busybox updated? are you using superuser or supersu? stock or custom launcher?

someone was just asking about including it trinity also. dont people realize that all is is compcache same compcache that was being used on g1s and mytouches back in the day, on low ram devices. its just renamed, now its zram. buzzword worthy, but useless to our devices http://en.m.wikipedia.org/wiki/ZRam
[Nexus 7 Original Development] foxdog66:
Cm's launcher and version of busybox. Superuser. I don't really have many apps installed either
[Nexus 7 Original Development] simms22:
well, there is this cm lagfix thread, but i dont know much about it http://xdaforums.com/showthread.php?t=1875712

anyways. cm doesnt always update things as fast as you think. get the busybox installer app from the play market by stericson https://play.google.com/store/apps/details?id=stericson.busybox&feature install it, open it, let it run, then chose smart install. also, superuser has a few issues with jelly bean, with root apps getting su slowly. get supersu from the play market also https://play.google.com/store/apps/details?id=eu.chainfire.supersu&hl=en open it after install, if it asks to update your su binaries press yes. then delete superuser from you /system/app/ and reboot. try it out, might solve your issues. oh, running a fix_permissions sometimes is also recommended.
[Nexus 7 Original Development] osuron07:
Just curious, has anyone had any issues with franco's updater app - newest version, not actually downloading the kernel? I click auto flash, it then normally downloads for 3-5seconds, then asks to flash. Every time I try to flash now, the download bar blinks for a second, then it says it's ready to auto flash, and upon reboot, r5 is still installed.
[Nexus 7 Original Development] drdrewdown:
posting without reading is bad mmmkay

that's all the discussion has been about lately..
[Nexus 7 Original Development] osuron07:
All I've seen in the last few pages is talk about OC not sticking..
[Nexus 7 Original Development] dmc0105:
I believe its because u misspell the kernel name.Instead of boot-r6.img u wrote boot-6.img.

Dloaded from ur server,put in kernel_backups folder and restore. All working fine now...
[Nexus 7 Original Development] foxdog66:
thanks for the tips. It just seems my device likes the linaro optimized kernel over others
[Nexus 7 Original Development] lmulli:
In answer to your question, Yes. Just tried it myself and it does exactly what you say. Why people can't just answer other people's questions rather than telling them to go search or that it was answered 10 pages back is beyond me.
[Nexus 7 Original Development] franciscofranco:
Yep, I got you there, buzzword that does 0 for our devices.

Yeah I mistyped the boot.img name, thats what happens when I release a kernel at 5am ;)
[Nexus 7 Original Development] jalyn02:
And still no via CWM love...lol...why cut it out completely???
[Nexus 7 Original Development] ÜBER™:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r40

Brother has this issue... But I don't. Works just fine for me.

Sent from my Galaxy Nexus
[Nexus 7 Original Development] Wynnded:
He did say "intuitively". You know, just a feeling based on experience. :D
[Nexus 7 Original Development] djdunn:
Looking at m kernel for some power testing
[Nexus 7 Original Development] Metallice:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r40

Try switching to CFQ when downloading.

Sent from my Nexus 7
[Nexus 7 Original Development] davisac:
Franco doesn't have that. It was actually the best overall on my Nexus 7 too.