yashsingh1/xdaforums huggingface dataset:
[Nexus 6  Original Android Development] pkgnex:
100% sure is pretty confident!

I'd simply ask: What's the stock Android value, as delivered by the company (Goog) with likely the most software testing / optimization resources in the world, and the most at stake in making sure the system is optimized to the greatest degree possible? :D

I myself run with 512 and find that the best compromise, but each to his own. I know a lot of people run 2048 or even 4096, but everyone's device behaves differently and I've come to realize the range of usage profiles of XDA memebers is enormous - how you or I use may use our phones is likely quite different than others!

Also, a review of available literature on this topic shows recommendations for system optimization running the gamut - from actually reducing it almost to zero (8 kb) to increasing it all the way up to 8192 kb... and the recommendations seem to be dependent on usage profile.

Like you said - it doesn't hurt to try - especially when they are using a value that deviates from stock by 1600%.
[Nexus 6  Original Android Development] magnamentis:
using the what's stock argument one should remain stock, use neither a custom kernel because stock is more tested and more widely spread.

stock is always a compromise, why use EX governor or ...... doesn't make much sense to continue the list would be extremely long. the argument

about stock is simply not valid and inconsequent for users who are rooted and use custom roms, kernels and whathaveyou.

however perhaps there is a need to clarify, the 100% only are meant as to lags in the described case and that's exactly how i wrote it.

100% sure that HE well not get rid of any LAG by recuding 2048 to 128 read-ahead, i did not even say that 512 wouldn't be worth a try, just 128kb certainly not IMO

further i said i hope i'm wrong and that it works for him, as well as "let's see if so i'd only like to know about the rest of that configuration, certainly not standard

further he most probably is using xposed and i gave my reply to it in quite some detail. that approach is far more promising IMO (i said IMO)

and first i recommend to try out.

i for my part am waiting for his proper feedback what he tried and what worked, next step would be to provide proper LOGS which BTW

in such cases should be among the first things to consider.

then talking about 4k an 8k is out of context, was never mentioned and i made thorough tests with various benchmarking tools and while

numbers differ a lot between test runs, the 2-3k were always on top. now anyone who wants to convince me that he can see the difference

between those values by naked eye, sorry, nowadays with that kind of powerhouses we have in hands those differences have become minor.

i can even exactly tell you why i stick to 2-3k, it happened that i had bluetooth music dropouts on the motorbike and that was dangerous to fiddle with the device on a mountain road

and i got rid of the drops (skippings) with read-aheads above 2k and since then i never had issues with those values which is all that matters ( judged per use case )

EDIT: since i'm already at it and it was not mentioned, with this device i strongly recommend to stick to deadline scheduler. i said recommend not have to, i just found out that

deadline for some reason keeps a few glitches away and i think it's default ( as to most tested LOL ) on each other of my 7 devices with more than 10 roms in total i use fiops but not for the N6, it just didn't play that well and quite significantly so.
[Nexus 6  Original Android Development] pkgnex:
Yep. Every device is different, and we all want to "tinker" (that's why we're here, running custom kernels). However, I think saying my recommendation to try stock values is invalid because we all are using a custom kernel is a completely illogical straw-man argument!

I don't want to argue with you in the thread. I think we agree on most things, and you are obviously very passionate about read_ahead_kb not being the issue (and you are likely right).

As you noted, logs would definitely be a start (although lag is often not visible in logs, to my understanding). You're probably on the mark with Exposed, too.

Basically, my recommendation for those experiencing lag is to first consider apps/modules (like you did with Exposed), then undo any significant departures from stock since most users don't notice lag there, then lastly look for ways to tweak out of the lag (e.g. raising min CPU frequency often helps).
[Nexus 6  Original Android Development] magnamentis:
passion about facts based on experience is more on spot :) this as compared to theories.

with luck, inconsequent approaches can indeed pay off and that was the word, not invalid. every opinion is worth to consider.

how many times, for how long and with how many devices, roms and kernels did you go with 2-3k?

in my case it's 15 devices, each with 2-3 roms at the time kept current while kernel wise usually stick to the on that is free of glitches over time.

let's hope that he's one of those who provide feedback after an issue got resolved to shed more light on the matter
[Nexus 6  Original Android Development] parcou:
Wow...wish I had to knowledge of you too but I do know it is a matter or reading and understanding to get where you two are at :)

I will test both! I am IT Manager so my world for my N6 is all about productivity apps no games. Email using Nine and Aquamail, Dropbox, OneDrive, Evernotes, Solid Explorer easiest to get files from clouds to device this app, Maps, Calendar, Cisco Jabber, Chrome for light browsing, etc.... just all business.

Xposed would be for Greenify to kill items like FB, Instagram, Delta, Skype, etc I do not let them run in background nor kill themsleves, bootmanager kill startups, Native clipboard, Xinsta, Jit Screen on keeps screen on like reading Chrome, XNotifications, Youtube AdAway, Youtube Background so listen music with screen off, Pandora Patch to skip songs....GravityBox. GB might be one I can do without I ONLY have it to change the icon colors on my status bar outside that I do not use 99% of the stuff in there just too much...only for color change of clock and other status bar items.

I like my device lean and very picky about what runs I do not need and social media stuff no time for I open it to get notifications not let it notify me those are off...

So let me test you two have given me a lot to read. When I mention lag I just get a little frustrated when I open Nine for example mail or Dropbox that I get this pause or stutter before app will open like on a Win PC the process is trying to catch up with the request...not snappy so I am trying to fish that lag out (not all the time)....as I stated might not be a kernel solution was asking if the kernel could help me. Maybe it is GB or something like that....

You two champs...thx gentlemen or lady/gent never know who is on the other side :)
[Nexus 6  Original Android Development] magnamentis:
this caught my eye :)

it's slightly OT but then a successful approach for persisting apps that wouldn't "shut up" when they were told with nice words haha....

i attached a few screenshots to illustrate my solution on the matter, again not for everyone and not recommended for apps that should provide

notifications while asleep an only good for apps that can be made accessible via a secondary menu or kept in an app drawer where not needed

apps can be hidden, like i.e. nova launcher (and others)

short description:

a) choose the events when those apps are NEVER and under no circumstances needed

b) freeze them on event

c) defrost them on exit event, i.e. screen coming online, time based, profile based, there are many possibilities.

if this seems interesting and you need more input, while i hope the shots are good illustrations, just PM, you need tasker & secure settings plug-in

ignore the red rectangle, it was for a different show-case while that saves up to 50% battery for those on bad LTE coverage, it's to manage radios

depending on need. who needs LTE to receive a notification? (screen off) while it can suck a battery if signal is bad or intermittent or while

changing cell-tower frequently (highway)

of course there are those apps that don't fall under above criteria, for those i use greenify and some can be kept in check via limiting their wakelocks via Amplify Module
[Nexus 6  Original Android Development] magnamentis:
[MENTION=1019600]parcou[/MENTION]

should you try this with system apps keep nandroids, i.e if you try to freeze google app you won't be able to boot into system anymore

i think it's clear why i know that LOL, of course i overshot a few times hehe...

in short, be careful, those apps must be chosen very carefully and with the use of a safety net but once set and running saves battery like nothing else, provided they are culprits. i got to the idea because sygic refused to let go of GPS module and later extended it to other apps.
[Nexus 6  Original Android Development] Lucas_Maximiliano:
Hi guys! Why I'm not able to choose enforcing/permissive selinux while I'm in aroma installer? I remember there was that option before.

Thanks
[Nexus 6  Original Android Development] magnamentis:
you have to search because i cannot recall the exact words, however, the feature was removed as you found out and as to why read what flar2 had to say bout it. you can use any of the other means to set SELinux permissive, be it via terminal command "setenforce 0" or via an app. there are as well many custom roms with the feature built in.

pages like this there are many, you can choose your preferred way to set permissive:

https://www.google.es/search?client...&oe=UTF-8&gfe_rd=cr&ei=6NQfV5muC8GA8Qf8joKIDA

http://www.cyberciti.biz/faq/howto-turn-off-selinux/
[Nexus 6  Original Android Development] Lucas_Maximiliano:
Thanks for that info. All that I want to do is to get working Dolby Atmos in stock Rom, and I've read somewhere that Selinux must to be permissive. So I will try to set it with another method. Selinux mode changer app doesn't make it work (dolby). No way.

Thanks again!
[Nexus 6  Original Android Development] magnamentis:
SELinux Mode Changer app only sets SELinux to permissive and if your app doesn't work there is another reason why it doesn't work. there are no several kinds of permissive and enforcing, either it's enforced or not.

i as well use SELinux Mode changer app and all works well, even notifies on boot that SELinux has changed, further you can verify the status.
[Nexus 6  Original Android Development] Lucas_Maximiliano:
I thought the reason was that it's setting to permissive after booting OS, and not by default, or while booting.
[Nexus 6  Original Android Development] RandomPooka:
To my knowledge, the ViPER4Android zips [MENTION=4445176]guitardedhero[/MENTION] has uploaded no longer require permissive mode.
[Nexus 6  Original Android Development] magnamentis:
i cannot deny that there might be use cases where it makes a difference, so you may have a point here, but then i think some of the ways to set permissive apply during boot.

to be honest i have to pass here, perhaps someone who knows more can help out. i simply never had issues with how i did it all the time and it could well be that i therefore don't know the entire spectrum of variations :) wish you luck though
[Nexus 6  Original Android Development] pkgnex:
This is correct. I am running v4a with Dolby Atmos (version 4.8 on guitardedhero's thread) on stock ROM right now, with an enforcing custom kernel.
[Nexus 6  Original Android Development] Lucas_Maximiliano:
Thanks guys! ViperAtmos works perfectly with EXKernel.
[Nexus 6  Original Android Development] CroW_D:
Just want to let you know 128 reduce really some lags on Preview 2. i know you talked about m but just want to share my experience. Not that 100 % perfect now but definetely 50 % better then before need to test some more settings to reduce it even more. For me it was the scrolling lag that occurred on some Apps like g+ and so on. I know Preview is a early stage of Android. But someone even know more tweaks to get rid of this lags !. Never mind to try 128 thx aniway :).

Gesendet von meinem Nexus 6 mit Tapatalk
[Nexus 6  Original Android Development] pkgnex:
You're welcome!

Next thing to try for scrolling lag, set min CPU to 422 (this also helps prevent audio crackling issues) and increase cpu boost / input boost msec to 2000.

Let me know if you see any improvement.

If not, then you should revert the changes since they have a small negative impact on battery life.
[Nexus 6  Original Android Development] sruel3216:
Hey i am trying ElementalX for the first time. I also bought the app. I am running the latest android M kernel. How come i cant set max cpu past 1728? Also when using another CPU app it says 4 core is offline.

I am on chroma rom

Thanks
[Nexus 6  Original Android Development] magnamentis:
did you install aroma version? and if yes, did yo by accident set that frequency as the max? this is the first scenario that comes to my mind, else take a log to see what's going on, but first try to re-install and use aroma and make sure that you set the right frequency ( the one you want) as the max possible. after that cannot go higher anymore but you can change it with a new aroma install.
[Nexus 6  Original Android Development] sruel3216:
hmmm yea i did aroma before i bought the app. I did everything stock. Il try again and see.
[Nexus 6  Original Android Development] magnamentis:
for everything stock you can use the express installer, since you have the app you can download and flash it from withing the app under "ElementalX" tab
[Nexus 6  Original Android Development] sruel3216:
Yeah i tried express too but didnt work. think becuase aroma is already installed. Im reflashing rom and going to try express this time.
[Nexus 6  Original Android Development] magnamentis:
express always should work, it's originally thought to not need to go each time through aroma, the idea is to use once aroma and from there

express and the aroma settings should stick ( they do in most cases except if something is wiped that shouldn't ) so to me it seems that there is

something else going on. did you flash EX over another custom kernel ? because that one should not do, always either dirty flash the rom first

or the stock boot.img of the rom. EX is made to go from there.
[Nexus 6  Original Android Development] sruel3216:
I dont believe i flashed over my previous kernel. I thought i dirty flashed before. Im dirty flashing rom right now then will do the express install after.

Thanks for your help
[Nexus 6  Original Android Development] magnamentis:
yep, let's see, that's a safe way to start with, once things are working one can always take it further, good luck and i'm curios, should work really. which rom btw, sorry if you mentioned before?
[Nexus 6  Original Android Development] sruel3216:
i am on chroma..

hmm something is weird idk what is up. Im on stock kernel right now and 2 cores say they are offline and my cpu speed is maxed at 1728. im lost lol. I have been flashing roms since the OG droid.
[Nexus 6  Original Android Development] magnamentis:
do you have any app installed that could have the possibility to tweak the kernel? one such example would be "ROM Toolbox" which has a lot of secondary (bywork) features that many don't even know, root browser, app-manager all-in-one.

worst case would be if you had you brevious kernel tweaking app re-installed but the this is only guesswork and i think it's time to take all the logs you can get. kernel-log and catlog. you can do that from within the EX app under "Tools" > "Save Logs"
[Nexus 6  Original Android Development] sruel3216:
Nope i deleted all apps that would tweak kernel prior to installing EX. Il do a log here in a minute.
[Nexus 6  Original Android Development] eddy4823:
changed some settings via Kernel Auditor app. Wanna reset to default. Also, need someone to tell me color profile for reduced yellow tint on phone and better battery.

Sent from my Nexus 6
[Nexus 6  Original Android Development] Pkt_Lnt:
Clear all the settings in EX Kernel Manager. It is under Settings > Wipe App Data. Then flash the kernel.
[Nexus 6  Original Android Development] sruel3216:
Here are my logs. if someone can look at them that be great, since i have no clue what im looking for lol

https://www.dropbox.com/s/043dhn9q1r4sne2/logcat.txt?dl=0

https://www.dropbox.com/s/xffu2nknzw1l6cb/last_kmsg.txt?dl=0

https://www.dropbox.com/s/17mix49j4e2q33e/dmesg.txt?dl=0
[Nexus 6  Original Android Development] sruel3216:
that didnt seem to work. still have core 4 offline
[Nexus 6  Original Android Development] magnamentis:
how do you try to get all cores online, i mean they are not meant to be online when not needed :)
[Nexus 6  Original Android Development] sruel3216:
hmmm now core 4 is on randomly. but my cpu speed wont go past 1728

---------- Post added at 01:42 PM ---------- Previous post was at 01:40 PM ----------

kernel manager will show you if they are online or not. you can check or uncheck them if you want them on or off. now they are all online but i cannot set my cpu speed past 1728
[Nexus 6  Original Android Development] magnamentis:
this i know of course but if you switch them on they only come online when needed, except in performance governor, at least as far as i know, you wouldn't want all cores online just to run empty at full speed. after all they only go online and up in speed as needed i suspect there is a misunderstanding in terms, or i simply don't get the purpose :) doesn't matter :)

as to your logs, you first have to get rid of layers and Xposed, most people won't interpret what's going on with xposed installed, too many variables and unknown behaviors are possible. you can see this as a rule of thumb. we have unaccounted for issues, skip xposed and layers first and then look further and take logs. this does not mean they're the culprits but logs with xposed and layers are usually not accepted by many devs.
[Nexus 6  Original Android Development] sruel3216:
Weird becuase i used the xposed uninstaller earlier. must not work completely. Im doing a clean flash now. so it should work!
[Nexus 6  Original Android Development] flar2:
It's thernal throttling, or your battery is under 40%. Stop fiddling with cores and frequencies unless you know all the factors that affect it. By trying to change things you will only make make it behave suboptimally
[Nexus 6  Original Android Development] magnamentis:
just two more things.

- after flashing, nandroiding and installing many apps the device get's quite warm and you could be in for thermal throttle (media scanner running etc. )

- you can verify that xposed residues are stil there opening the log and search for "de.robv" or xposed

EDIT: just see has been ninjad somehow :)
[Nexus 6  Original Android Development] sruel3216:
Sorry, the last two developers kernels i was using the last 6+ months do not have that feature enabled by default, which is why i was confused.

Thanks, that was it
[Nexus 6  Original Android Development] Formhault:
Just had a random reboot. Haven't had one that actually generates pstore in a while. Here is the pstore folder : http://dump.no/files/826e7c908eb1/pstore.zip
[Nexus 6  Original Android Development] DroidIt!:
Heya [MENTION=4684315]flar2[/MENTION] hope all has been going well :) Well, I was just doing a clean flash and funny thing is that I sometimes have minor thoughts about something not working right, but never your kernel. I still can't believe how many devices I have that I use ONLY your work on. Soooo, sent you a little something and I left a message with it and I expect that message to be adhered to mister! :) Seriously, thanks again for all the work and making all my stuffs run the way it's supposed to ;)
[Nexus 6  Original Android Development] seanowns:
F2fs
[Nexus 6  Original Android Development] pkgnex:
Are there any kernel changes in the May security patch? It was hard for me to tell - some of the CVE's describe kernel vulnerabilities, but the MOB30I boot.img file looked to be the same size as MOB30D, while the MMB30G was a different size...
[Nexus 6  Original Android Development] flar2:
No changes to the kernel
[Nexus 6  Original Android Development] pkgnex:
Thanks for confirming!
[Nexus 6  Original Android Development] ouyamaster:
Last night my phone softbricked with benzo core kernel m11.

So I cleanwiped all the partitions and installed chroma gapps and then the latest elemental x.

I am using a moto nexus 6 gsm google play edition.

I originally left using exkernel because of random video pixelation that makes you tube unwatchable and the phone unusable until i hybernate it. using benzocore kernel I had no video pixelation issues until the latest version, bricked me last night.

I was hoping by cleanwiping everything I would not have this issue. I am very disapointed because I really wanted to use exkernel. I wish I could just find a solution. everything is excellent except the video issue. I would rather find a fix than to keep searching for another kernel.
[Nexus 6  Original Android Development] magnamentis:
play with govs and schedulers, many were able to reduce or solve the issue with a bit of tweaking ( read-ahead and GPU tweaks would be others )
[Nexus 6  Original Android Development] ouyamaster:
Thanks for that. Do you have any tutorial or links for any?
[Nexus 6  Original Android Development] iainaaldrich:
are there any changes to the kernel on the May security update? If not, using this kernel with the May security build should work without any hiccups, correct?
[Nexus 6  Original Android Development] nathanchance:
Previous page... http://xdaforums.com/showpost.php?p=66690637&postcount=6639
[Nexus 6  Original Android Development] galapagos:
read the previous page
[Nexus 6  Original Android Development] ouyamaster:
I keep hearing the same thing, but I already told you it didn't happen with a different kernel. I was happy with benzo core until the m11 bricked me last night. Because of that I gave ex another shot last night and pixelation is back.

---------- Post added at 10:53 PM ---------- Previous post was at 10:49 PM ----------

Do you have a link to a post with an example?
[Nexus 6  Original Android Development] ouyamaster:
Having a hard time finding anything that tells me what to set for video pixelation for governors or schedulers. It would seem from inside exkernel manager that governor is off because the power button icon is blue. I just wish I could find a humanly understandable tutorial for this?

---------- Post added at 09:32 AM ---------- Previous post was at 09:31 AM ----------
[Nexus 6  Original Android Development] magnamentis:
you ask this 4 times really while for thorough readers it has been answered in the first reply, pay attention to the words "PLAY with"as opposed to "SET to" ;)

i said PLAY with and it means exactly that, if there was a 100% working solution that i knew about, i would have posted it in the first place, but you have to PLAY around with the settings i mentioned and i mentioned as well that SOME users could either get rid of the problem or reduce it.

that means also that i don't have that issue and never had and this applies to 99.9% of all users as you can conclude from the fact that there are only few complaints in the entire thread and that flar2 didn't fix it, because there is basically nothing to fix. just do as advised and start to play with settings, which, BTW in the time you asked 4 times and wait for replies you would be done with if it works at all.

if i remember correctly i named the settings to start with while don't hesitate to play with others.

further one thing you can try is to go to: settings > developer options > hardware accelerated rendering

in this section you can as well try various settings like "Force GPU rendering" and "Disable HW overlays"

once you change settings, either kernel side or ROM side, try only one at a time so that you can come to conclusions as to which change helped
[Nexus 6  Original Android Development] rignfool:
You are getting cranky in your old age... :angel: