yashsingh1/xdaforums huggingface dataset:
[Nexus 10 Original Android Development] franciscofranco:
I love my Manta and I don't feel it needs that much improvements in the first place. But I've been committing stuff to github but I haven't got around to release it properly. I've wasted some days trying to figure out if Color Control is possible but all my efforts were futile :(

Anyway here's r10 from all the changes I've been making into github:

r10:

* Merge newer Wi-Fi drivers

* Merge ROW I/O scheduler from CAF and push it to its latest version

* Some custom changes to Ondemand governor improving some routines for boostpulsing on touch inputs

* Some improvements on the mutex layer on the Kernel

* Merge more patches to improve I/O performance

* Hardcode magical values for Deadline and ROW I/O

* Some debug cleanups

* Some other smaller improvements

As usual there are no bull**** patches here, no buzzwording crap or any other stupid omfgboostover9000patches.
[Nexus 10 Original Android Development] Kenny987654321:
Awesome thanks a lot Franco!
[Nexus 10 Original Android Development] patsmike:
Thanks Franco :)
[Nexus 10 Original Android Development] j0hnnie:
I've tested r10 and i'm realy impressed. Best kernel i tried on my N10 yet. Thanks a lot franco!:good:
[Nexus 10 Original Android Development] franciscofranco:
Thanks for the nice words. I've been testing and improving it for the last month and a half, its pretty solid, fast and has no bull**** :)
[Nexus 10 Original Android Development] JarGnex:
Thank you so much. Time to use and abuse my nexus 10 :D
[Nexus 10 Original Android Development] shahed26:
Thanks for this great update. I have used trinity, ktmanta and all had random reboots SOD problems here and there.

I have been testing my tablet all day with this new update and had no lags or random reboots. Definitely the best kernel out of all of them. Even with stock kernel I had random reboots. This kernel is just on a league of its own.

EDIT:

Finished using and abusing my tablet lol. Extreme gaming (5 hours), surfing, watched flash video with boat browser multitasking, benchmarking etc...

Tablet is still nice and warm and still no reboots or freezes.

Thank you Franco for this awesome update. Stability and performance at its best:)
[Nexus 10 Original Android Development] rubene66:
Wow this is the best kernel i have use for gaming and everything thanks Franco we really need this
[Nexus 10 Original Android Development] espionage724:
What? We all know that anytime linaro is mentioned, the kernel speed triples :cool:

Used the r10 for a bit today, Beats Advanced Rhythm Game seems to work better at default settings (pretty much the only game I use for benchmarking). Tablet feels pretty snappy too :good:

Not really sure what else is really needed, in terms of features. That LED thing going on with the N4 to determine temperature and charging is pretty interesting, although not too sure how well the temperature would be determined on the N10 (don't believe it has a real CPU sensor).

As for more performance (not that I can find a case where it's necessary atm), perhaps less CPU frequencies to poll through? I believe something was mentioned a few pages back about it.

Also hopefully MiNCO gets a working manta build in the near future :)
[Nexus 10 Original Android Development] phillysmako:
Running great thanksFranco we've missed you:)
[Nexus 10 Original Android Development] stonebear:
It's a shame you didn't have any joy with the colour adjustments - but happy to see a new Franco kernel, thanks man. :)
[Nexus 10 Original Android Development] Walter21026:
Much appreciated Franco :good:
[Nexus 10 Original Android Development] patsmike:
It's ok though, n10 colors are already amazing... It's the n4 that had a so-so screen that needed color adjustment!
[Nexus 10 Original Android Development] brees75:
Any chance of setting SIO back in there? It really is the best scheduler after the tunables have been adjusted. Running a lot better now that I noticed my sysctl.conf was renamed and I changed it back. ;)
[Nexus 10 Original Android Development] stonebear:
If I look at my N10 next to my N7, the N10's whites have a tinge of yellow, I would like to be able to adjust that. :)
[Nexus 10 Original Android Development] franciscofranco:
Deadline works better, its been extensively tested and tuned, I/O performance on this device with this Kernel is absolute killer at this moment.

I have found no way to create Color Control interface for this device.
[Nexus 10 Original Android Development] situman:
What abt row? Is that better than deadline. I'm on interactive and row. What would you recommend as the best combo? Just installed r10 and its running great so far
[Nexus 10 Original Android Development] iamikon:
Deadline and ondemand are what I use.

the devil's in the details....

ktoon sez rock that blurple gs3
[Nexus 10 Original Android Development] TheGrayHatter:
If I remember correctly, It was thought that onDemand is better than interactive on the Nexus because of the differences in stepping between the two. I could be totally off mark though so take that with a grain of salt.
[Nexus 10 Original Android Development] situman:
Just tried ondemand and interactive is still the smoothest. Ondemand feels a bit choppy to me.
[Nexus 10 Original Android Development] x3nophobia:
yay~~ thanks franco!!
[Nexus 10 Original Android Development] theultimatev:
Does anyone know if der kernel changes the ram disk? Can I flash this right over it without major issues?
[Nexus 10 Original Android Development] osm0sis:
Try out the winning interactive tunables I had in r8-osmod:

15000 / 0 / 90 / 1000 MHz / 45000 / 30000 / 80 / 80000 / 80000

blipp and quite a few folks said it fixed interactive for them here. Probably because it results in interactive using fewer of the freq steps. manta has way too many steps for interactive to function efficiently - it would be way better off with 7 steps. Tops.

Since Franco's also has a ramdisk it should overwrite no problem, just check to make sure it didn't leave anything behind in init.d or anything. :)
[Nexus 10 Original Android Development] stonebear:
Is there a way of applying them to r10?

I definitely liked them in r8. :)
[Nexus 10 Original Android Development] Habarug:
This kernel is great :) it seems to have fixed my rebooting problems and I dare say this is the most stable kernel for this device. It is also fast, pretty similar to trinity :)
[Nexus 10 Original Android Development] David 617:
Anybody having issues flashing the zip? I dl'd it twice and tried through the updater app but the zip won't flash. I'm using TWRP 2.5
[Nexus 10 Original Android Development] Ok_Kaleidoscope5109:
[MENTION=3292224]franciscofranco[/MENTION] have you looked at the low random writes for this device? Running r8 still though.
[Nexus 10 Original Android Development] Hereisphilly:
If you have franco's app, you can plug the values in there under frequencies/voltages -> governor control

They make a massive difference for me when using interactive. AOKP PUB + this kernel + those tunables
[Nexus 10 Original Android Development] shahed26:
Same here as well. All reboot problems are gone. For me it is the most stable kernel out of all the available nexus 10 kernels.

2nd day on the kernel still no reboots or SOD.
[Nexus 10 Original Android Development] stonebear:
Oh I see now, the 1500 is above high speed delay, the 0 is boost etc. Thanks. :)
[Nexus 10 Original Android Development] Hereisphilly:
Yeah not all the values translate directly into the app. I think some of them are meant to be used with scripts.

Anyway, These are the values you need to plug into the app

And the winning deadline tunables if you're interested
[Nexus 10 Original Android Development] stonebear:
Shouldn't the first one be 1500 not 2000?
[Nexus 10 Original Android Development] Hereisphilly:
Whoops, they've reset over the flash (even though I set the old ones to remain on boot) I'll try an see whats happened.

In the meantime, those values are still really smooth, probably why I didn't notice the change
[Nexus 10 Original Android Development] stonebear:
Could you post it again with the right ones please? I am still a bit unsure about how those 9 values fit in into 7 slots. :)
[Nexus 10 Original Android Development] Hereisphilly:
Feel free for someone to correct me if I'm wrong, but I think this is how they're meant to go into the app
[Nexus 10 Original Android Development] stonebear:
Thanks, they look like they are probably right but I wouldn't know for sure.

I am using them for now anyway and it feels pretty good.

I am also happy with ondemand tbh but I like trying anything new. :)

PS

Anyone else find that the Franco kernels give the best battery life? :)
[Nexus 10 Original Android Development] situman:
Any chance of a screenshot? Using setcpu and not where where those goes. Thanks.
[Nexus 10 Original Android Development] osm0sis:
philly's latest screenshot is correct. There are some missing interactive governor variables over here compared to grouper where we developed them. ;)

The deadline one shows something is wrong, however.. Looks like we need to double the read and write expires in the source to have our actual winners 250/2500. So that was good to find out. I'll leave a note for Franco on his github. :)

Edit: Can someone provide screenshots of the other scheduler defaults? Looks like manta may need some other values entered differently in the source to get what we intended..
[Nexus 10 Original Android Development] shahed26:
I've used all custom kernels and out of all of them this one is giving me the best battery life on AOKP rom.

Ktmanta kernel underclocked gave me similar battery but with francos kernel i left everything on default and getting even better battery. Franco must have done some heavy tuning on this r10 release. Stable, fast, responsive, and battery efficient.
[Nexus 10 Original Android Development] Hereisphilly:
Here you go

Row

Cfq

Guess I need to double those values in deadline to 250/2500?
[Nexus 10 Original Android Development] osm0sis:
Thanks! Yup! :)

Interesting you've got some extra tunables over here! That's okay though, generally they are just hardcoded to the same default numbers on the other devices that don't have access to them.

Also looks like you don't have finalized cfq numbers in yet. So the only other differences from osmod are probably init.d, the slight entropy tweak to improve random i/o, and the lmk whitelist script. :good:
[Nexus 10 Original Android Development] stonebear:
Thanks Philly for being so helpful and thanks to Osm0sis for confirming. :)
[Nexus 10 Original Android Development] wxtye:
My nexus 10 just shut down as soon as i plug in the charging cable, battery was at around 90%, kernel or rom problem?

Running r10, which is very smooth btw :)
[Nexus 10 Original Android Development] szale9001:
You should test r10. Franco specifically mentioned IO improvements in the change log.
[Nexus 10 Original Android Development] Ok_Kaleidoscope5109:
Tried r10.... maybe some improvement, but not much.... Currently the N10 random writes just gets like 1/10th the score of other tablets. I'm not sure what's going on
[Nexus 10 Original Android Development] osm0sis:
Fsync is what's going on. Turn it off if you want faster writes with less data integrity in the case of a crash.

Edit: [MENTION=2249907]dmo580[/MENTION] Mentioning you since you continue to ask the same question even though it's been answered.
[Nexus 10 Original Android Development] franciscofranco:
Nice comments on r10, Im loving it! Yes I have been tunning it for a while, but I need to make some adjustments using some winning values that slipped. Thats easy peasy though.

Thanks guys :)
[Nexus 10 Original Android Development] Hereisphilly:
Have you been using the winning interactive tunables? Would like to know your opinion on them

This is the first time that the N10 is buttery smooth all the time for me. I used to get stutters in and around the launcher when exiting apps or waking up, and now that's been totally eradicated

Thanks to you and Osm0sis
[Nexus 10 Original Android Development] stonebear:
I am using this kernel and tunables with the latest Rassaber ROM (find it in Rasbean thread) and my tablet has never been so fast, it is perfect. Good battery life too.

:)
[Nexus 10 Original Android Development] szale9001:
Thank YOU Franco lol. Meaning to ask you a question, also. What is you opinion on undervolting? Do you think it is worth it/useful? Just wondering what you think because I know we manta users have heat issues and I wonder if uv would help with that or not.
[Nexus 10 Original Android Development] xpri:
tried that and it was really good... went back to aokp pub thou for the customizations
[Nexus 10 Original Android Development] stonebear:
I swap between the two, love them both. :)

Before Rassaber I swapped between PUB and Rasbean, using one for a week or two and then the other.
[Nexus 10 Original Android Development] brees75:
Deadline is good but you can't multitask smoothly, for example if I am downloading something while playing RR3 I get stutters and slowdowns. But with SIO it is smooth. With my tunables I get around 120 MB/s read and 50 MB/s write average with 220 MB/s read and 150 MB/s write burst. It would be great to have the choice of using it. Isn't that what android is all about after all? It would definitely be worth a donation and the purchase of your app.
[Nexus 10 Original Android Development] franciscofranco:
But while you're playing a game you're not I/O'ing... the games load all the **** to memory otherwise games would be unplayable.

My point with Android is different from all other Kernel tinkerers, having more options doesn't necessarily means good. I'd rather have something working better and reliably than having some weird coded driver because its fun to have more options. I assure you deadline works the best, its in the Linux Kernel for a lot of time, so they know what they been doing ;)
[Nexus 10 Original Android Development] franciscofranco:
r11:

* Merge latest interactive governor version from Google

* Set the magic tunables to interactive

* Fix deadline magic values
[Nexus 10 Original Android Development] necropuppy:
Just flashed r11 and it is crazy fast, didn't get much of a chance to test r10 but will test for bat life tomorrow, butwow..
[Nexus 10 Original Android Development] brees75:
Well it works for me. That's too bad, I like your kernels. I would like to be able to make that choice myself though. I will try the new kernel, I definitely have a lot of respect for you.
[Nexus 10 Original Android Development] zoomy942:
Ondemand still default though?
[Nexus 10 Original Android Development] David 617:
Yes
[Nexus 10 Original Android Development] osm0sis:
Can someone post a screenshot of the deadline tunables with r11? :D
[Nexus 10 Original Android Development] zoomy942:
Thanks. I'll give both a try. What's everyone's favorite
[Nexus 10 Original Android Development] franciscofranco:
500/2500... you know the rest ;)
[Nexus 10 Original Android Development] osm0sis:
Haha I hope you mean 250/2500! :p
[Nexus 10 Original Android Development] G-Bus:
Holy shiiiiiiiit, r11 is crazyyy!
[Nexus 10 Original Android Development] franciscofranco:
Yeah I meant 250 :p
[Nexus 10 Original Android Development] osm0sis:
Perfect! :highfive:

And I see you threw in init.d support and all the goodies in /sbin/fkbootscript.sh (lmk whitelist, etc.). All these boys need is my safer updater-script for the manta zips and they're golden. :cowboy:

Looks like my work here is done. ;) Thanks for all the fun testing, tweaking and hanging out, everyone! :D

---------- Post added at 12:20 AM ---------- Previous post was at 12:11 AM ----------

Haha oh wait, I forgot about cfq. :p

Pretty sure it'll be the same trick, Francisco. Just double the corrected values we worked out for the grouper/mako source. :good:
[Nexus 10 Original Android Development] franciscofranco:
Yup, I forgot CFQ also, no big deal for now though ;)
[Nexus 10 Original Android Development] osm0sis:
Correct sir! Everyone seems glad to have you back over here. Carry on. :)
[Nexus 10 Original Android Development] JarGnex:
[MENTION=3292224]franciscofranco[/MENTION] Thank you for the update. Really smooth and solid :)
[Nexus 10 Original Android Development] shahed26:
Thanks Franco for another great update. Am a bit confused and cant make my mind up on which cpu governor to use.

Which governor would you recommend for daily general use? I do mostly surfing, YouTube, and pretty intensive gaming at times as well

Right now am on Interactive/deadline with no one other settings altered.
[Nexus 10 Original Android Development] pinn___________:
Whats everyone using to set governors and oc/uc settings?

Ta
[Nexus 10 Original Android Development] stonebear:
Franco's own app or Trickster.

OK, I am somewhat confused now, Trickster is showing extra options for Interactive with 11 compared to 10. Also I thought Franco was using the winning tunables? It doesn't look like it to me cos for example, highspeed_delay is supposed to be 1500 but it is set at 3000 in r11? Boost pulse duration is different too, the others are the same, I think.

Here are two screenies, the first one is r10 with winning tunables as per Phillys screenshot yesterday (except go_hispeed_load - 85 is my own preference) and second one is r11 default.

Can someone clear this up for me pls? :fingers-crossed:
[Nexus 10 Original Android Development] pinn___________:
Looks like the Trickster app was updated yesterday , could be why the extra options
[Nexus 10 Original Android Development] EniGmA1987:
The r11 changelog also says it has the new version of Interactive.

Is boostpulse_duration editable now? normally I see it as hardcoded.
[Nexus 10 Original Android Development] phillysmako:
I think its still hard coded cause when I change it it keeps reverting back to default, I could be wrong tho but the kernel is running great
[Nexus 10 Original Android Development] zoomy942:
You prefer interactive over on demand?
[Nexus 10 Original Android Development] stonebear:
Not sure really, lol. They both work well. But there has been a fair bit of talk over the last 5-6 pages about Interactive with some tweaks by Osmosis that make Interactive work a lot better than it usually does on the Manta.
[Nexus 10 Original Android Development] Hereisphilly:
For me interactive with the tweaks is consistently smooth, wheras ondemand will be smooth most of the times but stutter fairly often too
[Nexus 10 Original Android Development] osm0sis:
If we're trying to match the grouper ones exactly here is what should be in there:

above_hispeed_delay 15000 (not 30000)

boost 0

boostpulse_duration 80000 (not 45000)

go_hispeed_load 90

hispeed_freq 1000 MHz

io_is_busy 1

min_sample_time 45000

target_loads 80

timer_rate 30000

timer_slack 80000 (not 120000)

Just took a look at the commit, it's mostly because of other calculations that occur in the interactive source based on the new hardcoded ones. Like timer_slack is 4*timer_rate usually - so 20000*4=80000 - but since we changed timer_rate, timer_slack will need to be hardcoded too to keep it at 80000. I actually don't see anything for the above_hispeed_delay so I'm not sure if he just missed it or left it intentionally; you'll have to ask. I'll leave a note on the commit for Francisco. :)

Feel free to follow along on github next time, you can always see when Francisco's working behind the scenes and double check stuff you're wondering about yourselves: https://github.com/franciscofranco/manta/commit/c4376a65837f229abbad8faa622a22e351737289 :good: :cool:

Edit: above_hispeed_delay defaults to equal timer_rate, so that's why they're both 30000 now. And boostpulse_duration defaults to equal min_sample_time so that's why they're both 45000. ;) Left notes for both.
[Nexus 10 Original Android Development] zoomy942:
Maybe interactive will become the default? Seems really smooth so far
[Nexus 10 Original Android Development] osm0sis:
Yeah the winning tunables we originally developed on grouper seem to be rocking it by all reports. Only thing that could make interactive any better (and might also help ondemand) would be to reduce the actual number of frequency steps to 7 tops; interactive seemed to perform much better when we switched from 13 100 Mhz steps back to the 5 stock frequency steps on grouper:

http://xdaforums.com/showpost.php?p=40298338&postcount=594

I'd guess Francisco hardcoded the interactive tunables since he wants to keep ondemand the default though. :)
[Nexus 10 Original Android Development] newellj79:
Are all these awesome tunables being mentioned set by default? Also does anybody know trickstermod works to lock the max speed at something less than 1700, even after a screen wake?
[Nexus 10 Original Android Development] stonebear:
No, Osm0sis just explained which are not set by default, the ones in bold in his post and yes, if you set "lock frequency" in Trickster it will keep the max speed like you want. :)
[Nexus 10 Original Android Development] osm0sis:
Not at all in my hands, but one or both of these would be pretty fun to try:

N10	N7	GN

200	200	204
384
475
500	500	537

700	760	729
800

1000	1000	1000	1036

1200	1228
1300	1300

1500	1500

1700	1700

Both the others devices are 5 steps by default (Franco recently upped the min to 204 on the N7), but I run my GN at 192 - 1305, so I think 7 steps should still be fine here to make interactive a bit more efficient - might also help ondemand. :cowboy:

Unless there are stock kernel steps that are already fewer for manta; I couldn't find any reference last time I looked. :confused:

Anywho, that's the only other thing that ever occurred to me here. Good luck everybody. I'll peace out now. :p
[Nexus 10 Original Android Development] franciscofranco:
boostpulse_duration and timer_slack are with some values because if you see the code you see Google calculates those two based on timer_rate and min_sample_time, thus I'm going to leave them as Google intents it to be.

static int boostpulse_duration_val = DEFAULT_MIN_SAMPLE_TIME;

#define DEFAULT_TIMER_SLACK (4 * DEFAULT_TIMER_RATE)

I prefer above_hispeed_delay to be 15000 in this device though.

I can try and remove some freqs in this chip to see what happens, I know interactive plays better with less freqs.
[Nexus 10 Original Android Development] mmad81:
n10 was running great on r10 since its release ...was trying r11 today and got a random reboot so i went back to r10...both were on stock settings
[Nexus 10 Original Android Development] stonebear:
That would be interesting. :)

Interactive is pretty damn good now as it is, but the fewer frequencies thing might make it even better? :D
[Nexus 10 Original Android Development] snowboarda42:
Really liking this kernel, no reboots and very smooth. As much as I liked the ktmanta kernel it just kept freezing.
[Nexus 10 Original Android Development] doumer:
Good to see a more active development after r8 has been the latest for quite some time ;)

Really love your kernel on all my devices :D

r10 was very smooth for me, gonna test r11 now.
[Nexus 10 Original Android Development] newellj79:
Really liking this kernel. I've only been using for about a day and a half but its stable as hell.
[Nexus 10 Original Android Development] eRadicant:
Unlikely to be kernel's fault. I've had a couple of random reboots on stock kernel as well as r10 (stock ROM)
[Nexus 10 Original Android Development] situman:
R10 is still the smoothest and most responsive. R11 just isnt as fluid regardless of the governor combos.
[Nexus 10 Original Android Development] Ok_Kaleidoscope5109:
[MENTION=3292224]franciscofranco[/MENTION]: any idea as to why the Manta is so slow at random writes? I tried r10 and r11 and I'm still getting like ~0.9 MB/sec for random writes in Androbench. Is there a firmware issue for the Nand? It's significantly slower than any device I have.

And as much as I hate these benchmarks, the only reason I checked this out was because I was wondering why my device runs slowly at times. Not sure if TRIM helps.

---------- Post added at 12:07 PM ---------- Previous post was at 11:21 AM ----------

Does fsync give me a 10x boost or whatever? Is this what other devices are doing? I can go test it, but what I'm saying is the Manta is ridiculously slow compared to the competition