yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Original Development] The Gingerbread Man:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Isn't the timer rate meant to be be in multiplies of 15k? Im sure Franco and osmosis said something about it matching CPU latency. So that means possible values of 15,30,45,60,75,90
[Nexus 7 Original Development] osm0sis:
Smoother because its very aggressive.. CPU will ramp up more to keep load at only 70. We'll have to see but this should be like setting your min to 400MHz.

Also maybe 45 instead of 50 so we're sort of a multiple of max cpu transition latency/2=15000, like The Gingerbread Man pointed out.

Edit: I think Currents is going to be sh*tty no matter what you do really... Isn't likely the best benchmark since it's so poorly coded for smoothness to begin with.
[Nexus 7 Original Development] joaquinf:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Thanks guys. I was thinking about t_r=50 because francisco said that worked pretty well on the n4 so I thought that it would be a good start. Anyways, raising the t_r seems to improve scrolling and responsiveness so that's where I'm playing my cards. I'm trying right now these tuneables according to what you guys pointed out.

60/90/1/45/45/80

What do you think about that? Also, are we sure that the cpu sample_rate is set to 30k? Thanks for your help :)
[Nexus 7 Original Development] osm0sis:
Hmm it's a little better for Currents, even better with ahd 15, but both whole sets causes more lag in Temple Run 2. ;)
[Nexus 7 Original Development] JDCFH:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

How do we get init.d working?

I'm sure I've seen that it's now supported?
[Nexus 7 Original Development] joaquinf:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

I see :(

So that's a no go for that. Guess we are back to 15/90/1/45/30/80 then.

Sigh
[Nexus 7 Original Development] osm0sis:
Haha don't be sad. I don't think we're going to do better for a balance of performance and battery life than we already have with those, and tunables can only do so much, my friend. :)
[Nexus 7 Original Development] privy:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

So question with fsync. Are we all using it or is it a significant improvement when off?
[Nexus 7 Original Development] osm0sis:
Yup make the dir /system/etc/init.d and set the correct perms, rwxr-xr-x for it and the scripts you put in it. The scripts are shell scripts so for the layout you can search my posts since I posted one recently in this thread to set read_ahead_kb 2048. Remember to leave a trailing LF (blank line) at the end and everything should work fine.

There is a significant improvement when off but it's on by default and most of us leave it on. You'll have to weigh the potential data loss from crashes with it off against the performance gains for yourself.
[Nexus 7 Original Development] JDCFH:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

How can I test to see if it has worked?
[Nexus 7 Original Development] osm0sis:
Check what you set. If it's the read_ahead_kb then you'd cat that file in terminal emulator.
[Nexus 7 Original Development] swedkg:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Sorry for the silly question, i'm completely unaware of the technical details, but what is the point of "target_loads" if the intermediate frequency steps are missing?

Doesn't that mean that we lose power, due to the CPU working to higher frequencies than really necessary?
[Nexus 7 Original Development] osm0sis:
Fewer steps makes interactive run faster/more smoothly, and target_loads has been explained more than a few times recently in this thread. Please search. :)
[Nexus 7 Original Development] JDCFH:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Can you type me out how the script should look for the 2048 read ahead please?
[Nexus 7 Original Development] The Gingerbread Man:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Hmm I'm impressed with battery life been playing my Amiga emulator and check this out
[Nexus 7 Original Development] drewski_1:
i think it was typed out just 3-4 pages ago. take a look.
[Nexus 7 Original Development] xI mEzMeRiZe Ix:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

On pace for ~11 hours of screen time. Go home. Your work here is done :thumbup:

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

Nah you'll never get to that. The battery level will go down faster when it discharges.

You get more screen on time with levels between 90% and 70% than 30% and 10% for example.
[Nexus 7 Original Development] JDCFH:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

What does osmosis mean when he says cat the file? I'm pro noob
[Nexus 7 Original Development] osm0sis:
First "pro noob" lesson: Search the thread. :good:

Search for "init.d" and you'll see my post where I posted an example init.d script with read_ahead_kb.

Next search for "cat" and you'll see that it's a *nix terminal command for reading the contents of a file. You'll also see how to use it.
[Nexus 7 Original Development] JDCFH:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

I have put init.d folder in etc. Set permissions. Created a script within that directory using Smanager. Set the permissions for that script. In Smanager I can set the script to be root / boot / etc etc do I need to do that?
[Nexus 7 Original Development] osm0sis:
No. You don't need Smanager at all. It has nothing to do with init.d. You only need a root file manager with a text editor in it (most of them), to make the script and set the correct permissions.
[Nexus 7 Original Development] JDCFH:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Think I have it then. Thanks for your help.

Still lost as to the cat thing though.
[Nexus 7 Original Development] osm0sis:
You cat the file you echoed the value to in the init.d.

For read_ahead_kb:

It's set with echo 2048 > /sys/block/mmcblk0/queue/read_ahead_kb

so to check the value was written you cat /sys/block/mmcblk0/queue/read_ahead_kb

Do this in Android Terminal Emulator (root app) or adb shell with USB Debugging enabled.
[Nexus 7 Original Development] lrefra:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Im having an issue when using OTG sd. It shows storage is plugged in then the notification disappears and cannot mount it.

With M-Kernel and Motley work fine.

Enviado desde mi Nexus 7 usando Tapatalk 2
[Nexus 7 Original Development] ÜBER™:
Stickmount.
[Nexus 7 Original Development] lrefra:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Without that app is impossible in this kernel?

Enviado desde mi Nexus 7 usando Tapatalk 2
[Nexus 7 Original Development] ÜBER™:
I believe so.. thats all i know seeing as i dont use USB OTG for storage.
[Nexus 7 Original Development] DJLamontagneIII:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Must be because this kernel comes with its own ramdisk.. With trinity and motley the built in mount feature in the ROMs that have it work fine.. But no big deal to use stickmount and keep the smoothness of this kernel :p
[Nexus 7 Original Development] The Gingerbread Man:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41
[Nexus 7 Original Development] Skyfall007:
which rom are you running?
[Nexus 7 Original Development] williamlaw:
Any setting need after flash ???

Thanks
[Nexus 7 Original Development] The Gingerbread Man:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Stock rom

Sent from my Galaxy Nexus
[Nexus 7 Original Development] Skyfall007:
wow..I never get a screen on time like yours... maybe your battery is better.. I often get 4 hours of gaming..(candy crush, subway surfers...)
[Nexus 7 Original Development] The Gingerbread Man:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Its only because the thing I was doing most was playing an Amiga emulator (so technically I achieved 8+ hours gaming :thumbup::p ) but the Amiga by today's standards is a very basic machine, it has a whooping 1mb ram and a blazing 7mhz CPU, comapared to my n7 spec 1gb ram and 1.3ghz processor. Honestly I reckon with serious under clock like 100mhz min and max it would run that emulator for over 10 hours screen on time, probably more! That's entertainment sorted for transatlantic flights :D

Sent from my Galaxy Nexus
[Nexus 7 Original Development] davisac:
Same test method, settings, etc as last time. We have new and improved results charts this time around though. :cool:

For some reason it won't post a higher res image than that one. There is a full size one on the link below though.

Full results on Google Docs
[Nexus 7 Original Development] puffel86:
Great comparison.there are huge differences.so what is the best setting overall?the best would be to throw all results in one diagramm to look which setting gives the best compromise.

edit:

Deadline 1024 best overall?
[Nexus 7 Original Development] ÜBER™:
To me it looks like Deadline at 1024 seems to be the best all around.
[Nexus 7 Original Development] MaNFr3:
R: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

how do you think about this use on stock 4.2.1 with r40?

Inviato dal mio Nexus 7 con Tapatalk 2
[Nexus 7 Original Development] davisac:
It's hard to put it all into one because of the difference in values. Some of the data ranges come across as flat lines. I'll try though.
[Nexus 7 Original Development] JDCFH:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Get an error that it can't be opened guess it's not open?

Edit...

It works thanks for help should check my spelling of queue... Not que...
[Nexus 7 Original Development] franciscofranco:
Last app update adds IO scheduler tunables option. More customization because it wasn't enough as it was ;)
[Nexus 7 Original Development] Mac of York:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Thanks a bunch Franco. I'm glad to be able to support you through buying your app.
[Nexus 7 Original Development] osm0sis:
row at 512 looks like a winner too, overall. A lot of people in the GN thread are reporting 256 makes transitions the smoothest but 512 is a bit smoother with app opening, so we should definitely play around with read_ahead_kb and find the one that feels the best for the N7 as well. :)
[Nexus 7 Original Development] joaquinf:
Indeed. I've changed it to row/512 and it does feels smoother :)

Man can the gnex get any smoother?? that *** is silky smooth with the latest tuneables and now this row/512 combo.

On a side note, am i the only one who find the scheduler tuneables a lil too much complicated to set up on the fku? I'm a complete noob on that matter but i was expecting something similar to the governor tuneables. Set the read ahead value and go
[Nexus 7 Original Development] davisac:
Yeah I don't have a clue lol. I'll have to google that later.
[Nexus 7 Original Development] franciscofranco:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

The tunables are there for maximum customization, thats why I placed a big warning explaining that they are to be done with care and knowledge. No app has ever allowed this much customization level.
[Nexus 7 Original Development] joaquinf:
Yup. I know, you've gone one step further and i appreciate that. I just feel so lost :p i'd read about it and we will be tweaking the s*** out of the scheduler in a blink of an eye.

Thanks for the effort you've put in the app, there has been many great features integrated and i'm sure there are more to come. Keep up the good work buddy.

BTW r41 is flying with paranoid android (i've flashed it just for curiosity a couple of hours ago and i think im keeping it, so much visual awesomeness)
[Nexus 7 Original Development] Dc4479:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Haha, yup! Opened it up, said "wtf?" And decided to go back and leave it alone.
[Nexus 7 Original Development] franciscofranco:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Its not that hard. I know nothing about ROW tunables yet, but the deadline ones are pretty straight forward.
[Nexus 7 Original Development] davisac:
Thanks Franco. Now I have something else to play with and tweak. :laugh:

ETA: Good choice with PA joaquinf
[Nexus 7 Original Development] 1pop23:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Should post some info on the battery usage with PA. I switched back to stock as I couldn't tell battery dying fast was due to PA or R41
[Nexus 7 Original Development] davisac:
OK guess I'm gonna have to read up some more on the tuning. Doing the same tests I've been doing but no matter what I change I can't seem to get the scores outside the "margin of error."

ETA: Just for kicks I think I'm going to try out NOOP for a couple days. It didn't do badly on my tests and I haven't used it before. So why not?
[Nexus 7 Original Development] 1pop23:
So what are the best to use tunables right now? ive been using what Gingerbread posted and its ok but still noticing lag in games
[Nexus 7 Original Development] poondog:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

I bumped my GPU up to 520 and it helps :)

Sent from my Blacked Out Incredible S
[Nexus 7 Original Development] 1pop23:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

I always run that
[Nexus 7 Original Development] Short Viking:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Im playing Amiga on my Nexus7 aswell. Brings back good memories and the awesome sound 'quality' <3
[Nexus 7 Original Development] The Gingerbread Man:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Did you see my post where I achieved over 8 hours screen on playing Amiga? :D Not even under clocked just the normal cpu settings I use everyday :thumbup:

Sent from my Galaxy Nexus
[Nexus 7 Original Development] NoobNeutralizer:
Is this compatible with 4.1.2?

I'm on CM10...
[Nexus 7 Original Development] tropicanapure:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Op says for v4.2.
[Nexus 7 Original Development] davisac:
r25 is that last 4.1.2 version but I don't know if it works with CM10.
[Nexus 7 Original Development] NoobNeutralizer:
'K...

Thank you...

---------- Post added at 12:02 PM ---------- Previous post was at 11:54 AM ----------

Flashed r25 and it's working fine so far...
[Nexus 7 Original Development] franciscofranco:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Whats the point in having a nexus and stay on an older Android version?
[Nexus 7 Original Development] NoobNeutralizer:
:P

The rom I'm using hasn't been updated to 4.2 yet...

http://rootzwiki.com/topic/35743-romkang-cm10-with-tablet-ui-android-412/

It's CM10 with a Tablet UI theme...

I'm planning on switching to Paranoid Android as soon as they hit 3.0...
[Nexus 7 Original Development] davisac:
Go ahead and do it now. It runs fine.
[Nexus 7 Original Development] opz187:
You know the same is available in 4.2 right? Sgt7 is straight cm10.1 with tablet ui
[Nexus 7 Original Development] Obsidian...:
Re: [KERNEL][GPL][N7][21 JAN] franco.Kernel - r41

Same thing here... I've been on PA 2.54 and had to stick with r25. I don't think it was worth PA switching from cm to aosp base due to the length of time it has taken for them to create a 4.2 release. As those of you who use PA know once you switch to PA you can't switch back due to the ui mods but with them losing the cm mods (truly its the nav bar mods they couldn't replicate) it has been hard to run their beta builds.

Neutralizer ... The most recent PA 2.99pie4 is solid. No nav mods but they added a pie nav while the desktop is expanded and I'm finally getting my kernel fix again

Sent from my Nexus 7 using Xparent Skyblue Tapatalk 2
[Nexus 7 Original Development] tylercarter:
Exactly :)
[Nexus 7 Original Development] franciscofranco:
Released r42 enabling CFQ IO scheduler back so it can be tested against the other ones and added Tassadar's original work to support multi-roms.
[Nexus 7 Original Development] 1pop23:
Re: [KERNEL][GPL][N7][30 JAN] franco.Kernel - r42

Flashing now

What would the default Read ahead speed be for cfq
[Nexus 7 Original Development] The Gingerbread Man:
Re: [KERNEL][GPL][N7][30 JAN] franco.Kernel - r42

Not been tested yet but if you follow here http://xdaforums.com/showthread.php?t=2111084 I'm sure it will be in the next few days or so
[Nexus 7 Original Development] 1pop23:
Re: [KERNEL][GPL][N7][30 JAN] franco.Kernel - r42

Haha OK sweet! I was thinking that for some reason stock kernel ran cqf
[Nexus 7 Original Development] The Gingerbread Man:
Re: [KERNEL][GPL][N7][30 JAN] franco.Kernel - r42

It does but what I meant was it hasn't been included in Davisac testing data base, he has been working on his results using the same version of a kernel to make it as fair and scientific as possible.

As we are talking about io schedulars, how's this for some light reading http://xdaforums.com/showthread.php?t=2097146 I found it quite helpful
[Nexus 7 Original Development] 1pop23:
Re: [KERNEL][GPL][N7][30 JAN] franco.Kernel - r42

Very helpful indeed! I understand more of what I've been helping test haha.
[Nexus 7 Original Development] poondog:
Guys, would there be any advantage/benefit if this was compiled with a newer toolchain? I understand that some other kernels have this as a feature, I'm interested in whether or not it would improve anything, I've always wondered

Thanks :)
[Nexus 7 Original Development] papeles:
My giroscope got completly messed up after updating to 4.2 . Can't play games (like need for speed- the cars keep turning left in circles xD ) and rotation doesnt work even in the stock launcher. (using PAnd latest rom)
[Nexus 7 Original Development] irminsul:
Re: [KERNEL][GPL][N7][30 JAN] franco.Kernel - r42

Did you fully wipe your device? Try wiping all and flash a factory image to return to stock. If the problem persist while being on stock you can conclude it's a hardware problem not a ROM problem.
[Nexus 7 Original Development] currydude:
Just wondering, does this kernel have CIFS support? If not, will it possible for you to add it? :)

To implement/add: http://xdaforums.com/showthread.php?t=2106480
[Nexus 7 Original Development] The Gingerbread Man:
Re: [KERNEL][GPL][N7][30 JAN] franco.Kernel - r42

I wonder what would be the chances of getting sound mod from ezekeel added to gnex in 364 kernel added to the n7? That would be awsome
[Nexus 7 Original Development] kyo171:
benchmark on epic citadel

Benchmark taken with latest Franco kernel with default settings row 1024 gpu 520. Not bad result if u ask me :)
[Nexus 7 Original Development] papeles:
tried for the second time. Did factory reset and all wipes and on top of that i reinstalled the PA rom again. Booted, installed the kernel, rebooted and rotation stopped working again ;s
[Nexus 7 Original Development] Sultan.Alkhuzaie:
Re: [KERNEL][GPL][N7][30 JAN] franco.Kernel - r42

Hi

I have the latest Franco app 8.5 . how to change the governers and frequencies like u do I just see a numbers posted by users like this

84\50\15\4 ( this is from my mind ). what is this and how to set it up and what is the best frequency\ GPU\CPU settings out there
[Nexus 7 Original Development] Sveke:
Re: [KERNEL][GPL][N7][30 JAN] franco.Kernel - r42

Posting benchmarks screenshots should get you a day ban.

No one cares and they have zero real world relevance.

Might as well post 10 battery life screen shots as well.
[Nexus 7 Original Development] ÜBER™:
Re: [KERNEL][GPL][N7][30 JAN] franco.Kernel - r42

Is that why Franco had us run benchmarks not too long ago? They give a generalization on whether something adds to or subtracts from performance. Doesn't mean you should base the entire device on them.
[Nexus 7 Original Development] irminsul:
Re: [KERNEL][GPL][N7][30 JAN] franco.Kernel - r42

Flashing Paranoid Android isn't reverting back to stock ROM. Use the nakasi factory image from Google. On stock rotation works, people report problems with custom Roms every now and then.
[Nexus 7 Original Development] The Gingerbread Man:
Re: [KERNEL][GPL][N7][30 JAN] franco.Kernel - r42

Go to page 312 of this thread and its all there
[Nexus 7 Original Development] davisac:
Yup. It'll probably be a few days though my sister is visiting from out of town this week and its my other sisters birthday.

I'll post in both threads when I get it tested.
[Nexus 7 Original Development] siscim23:
Page numbers don't help... thread is on page 80 for me :p
[Nexus 7 Original Development] Sveke:
Re: [KERNEL][GPL][N7][30 JAN] franco.Kernel - r42

We all know they have no relevance in daily use.
[Nexus 7 Original Development] 1pop23:
Re: [KERNEL][GPL][N7][30 JAN] franco.Kernel - r42

Really they do have relevance in our everyday use since Franco is using them to tune the kernel. These benchmarks tell what needs to be added and changed. They have more relevance then you think
[Nexus 7 Original Development] osm0sis:
It should be mentioned that cfbench is the only one franco told us to use, since we're dealing with CPU-related tweaking differences.
[Nexus 7 Original Development] tomeks:
Odp: [KERNEL][GPL][N7][30 JAN] franco.Kernel - r42

for games you could always try to use new epic citadel tech demo with the new unreal 3 engine as, but not only, gpu intensive benchmark

stock 4.2.1 with default r42 setup

Wysyłane z mojego Nexus 7 za pomocą Tapatalk 2
[Nexus 7 Original Development] joaquinf:
/joaquinf looks at thread title = 30 JAN franco.kernel R42 :eek:

Something is coming :p

EDIT: aaaaaaaaaandd file is up :D
[Nexus 7 Original Development] davisac:
You missed it, it's already here: Post 3947

ETA: guess you saw that.
[Nexus 7 Original Development] joaquinf:
S**t you are right :p sorry for all the exitement .. i must've missed that post :(

/hides in shame while flashing r42 quietly
[Nexus 7 Original Development] Wynnded:
I'd flash r42, it's all the rage. ;)
[Nexus 7 Original Development] osm0sis:
Does it have our new winning tunables? I won't have the chance to flash it until tonight. :(
[Nexus 7 Original Development] Sveke:
Re: [KERNEL][GPL][N7][30 JAN] franco.Kernel - r42

Yeah that's great....my point was we don't need to see the screenshots

Sent from my Nexus 7
[Nexus 7 Original Development] Wynnded:
Let's see here..... 15/90/1.0/45/15/80
[Nexus 7 Original Development] osm0sis:
Ah poop. I think our winners had a t_r of 30.

---------- Post added at 02:33 PM ---------- Previous post was at 02:14 PM ----------

Just so you know, r42 zip has a .DS_Store file under /system again, and also the updater-script still points to mmcblk0p2 instead of the safer by-name/LNX. Did you want it to create the init.d dir with those folders? As far as I know unpacking empty folders doesn't work so you don't really need them in there at all. To create them you'd have to run_program mkdir or busybox, then set_perm_recursive. :)
[Nexus 7 Original Development] joaquinf:
Re: [KERNEL][GPL][N7][30 JAN] franco.Kernel - r42

Yup, t_r was 30 in our winner tuneables. Also, what was the general opinion about having buffer size set to 512? I tried it for a couple of days with row but I barely notice a difference.
[Nexus 7 Original Development] osm0sis:
I'm trying 256 since yesterday, trying to see a difference. No opinion yet, other than stock launcher does seem a bit quicker with it lower, but I also noticed Temple Run 2 getting a little more jittery than usual. I'm going to take it all the way down to 128 tonight and see how that feels, then back up to 1024.
[Nexus 7 Original Development] 1pop23:
Re: [KERNEL][GPL][N7][30 JAN] franco.Kernel - r42

We post screenshots of these benchmarks so Franco can see them and us users can get a general idea of what we can expect from a certain tunable. The screenshots are actually quite helpful
[Nexus 7 Original Development] Palthron:
Re: [KERNEL][GPL][N7][30 JAN] franco.Kernel - r42

Turn off your display rotation lock
[Nexus 7 Original Development] papeles:
don't act smartass, im not that dumb. And the problem is not only with the rotation feature. My racing games stopped working. The car keeps turning to the left no matter what i do.
[Nexus 7 Original Development] Jack Barrett:
Re: [KERNEL][GPL][N7][30 JAN] franco.Kernel - r42

CFQ - yeah baby! I asked for it 1 month ago and my dream came true. Buying now franco's app to support him.