yashsingh1/xdaforums huggingface dataset:
[Asus  Eee Pad Transformer Prime] batoo:
Let me know your opinion after testing!

It's my daily IO governor just right now.
[Asus  Eee Pad Transformer Prime] 180490:
got the same error :(
[Asus  Eee Pad Transformer Prime] batoo:
Stock rom? Busybox installed? Rooted?
[Asus  Eee Pad Transformer Prime] demandarin:
this can be applied by using terminal emulator to send commands in OP? if rooted, where exactly do you place those files/modules you have to download linked in your op? /system/lib/modules?
[Asus  Eee Pad Transformer Prime] stantang:
Just use Root Explorer or File Manager HD to copy the file to the system/lib/modules folder, then use terminal emulator to run

insmod /system/lib/modules/sio-iosched.ko

echo sio > /sys/block/mmcblk0/queue/scheduler
[Asus  Eee Pad Transformer Prime] batoo:
Link for asus kernel src pls.
[Asus  Eee Pad Transformer Prime] jgaf:
They haven't released the source on the web yet, it just came through an OTA.
[Asus  Eee Pad Transformer Prime] batoo:
Aha, we have to wait than...
[Asus  Eee Pad Transformer Prime] jgaf:
Well actually I pulled the ota update file from cache before updating, don't know if it helps anyway this is the link to thread where I posted it

http://xdaforums.com/showthread.php?t=1840397
[Asus  Eee Pad Transformer Prime] batoo:
Nope sorry
[Asus  Eee Pad Transformer Prime] jgaf:
Source code for the kernel has been released http://support.asus.com/Download.aspx?SLanguage=en&m=ASUS+Transformer+Pad+TF300T&p=20&s=16
[Asus  Eee Pad Transformer Prime] Samzebian:
any word on a version of this for the infiniti?!
[Asus  Eee Pad Transformer Prime] hypnostick:
Any word about a version of this for JB update ?
[Asus  Eee Pad Transformer Prime] McJesus15:
If there's no plans to create a JB version of this for clemsyn's OC kernel then could someone please point me in the right direction for I/O scheduler creation/compiling? I'd gladly learn how to, do it, and then release it for everyone.
[Asus  Eee Pad Transformer Prime] Parastie:
I'd also like to know if this is going to be pushed to the new JB kernals. I miss being able to copy files to external devices without it stopping every few seconds.
[Asus  Eee Pad Transformer Prime] batoo:
Gimme link for kernel sources... I don't have time to find it on asus website. Thx I will try to compile it.
[Asus  Eee Pad Transformer Prime] Parastie:
This is the latest kernal dump I can find.

http://dlcdnet.asus.com/pub/ASUS/EeePAD/TF201/10_4_2_17.zip

I'm not sure if it's source though....
[Asus  Eee Pad Transformer Prime] McJesus15:
http://support.asus.com/download.as...F201&p=28&s=1&os=32&hashedid=FqCKMQDqgvSncfFM

Kernel sources for download straight from Asus. They were fast about uploading the .18 update
[Asus  Eee Pad Transformer Prime] seeknom:
I would like this too... always preferred the "feel" of SIO more than cfq/noop.
[Asus  Eee Pad Transformer Prime] seeknom:
Just wondering if anyone has had a chance to take a look a compiling this for the latest kernel...
[Asus  Eee Pad Transformer Prime] demandarin:
so its confirmed that this is lost when ever prime is rebooted?
[Asus  Eee Pad Transformer Prime] Striatum_bdr:
Yes, you must use script file in init.d or any way to reload it after boot, like System Tuner, Script Manager and so. on
[Asus  Eee Pad Transformer Prime] stantang:
I made a script and run it with Script Manger on boot, works fine after reboot.
[Asus  Eee Pad Transformer Prime] Striatum_bdr:
3.0.4 motley's kernel is not compiled against 3.x.x kernel sources, it's a 2.6 kernel, improper naming that can fool people I agree.
[Asus  Eee Pad Transformer Prime] batoo:
Aha!

It is sometimes I think whey developers name kernel like this one :))

Anyeway, what is the source of this kernel?

Asus one?
[Asus  Eee Pad Transformer Prime] Striatum_bdr:
Yes I guess, like all kernels I've seen here. Probably some parts are modified, but the essential is stock based.
[Asus  Eee Pad Transformer Prime] lukcinek:
Got the same error. I'm on stock. Busybox installed and rooted :(
[Asus  Eee Pad Transformer Prime] batoo:
Ww version or us??

All people with exec problem, which version do you have? Ww or us?
[Asus  Eee Pad Transformer Prime] wernerzero:
Oops, I get Operation not permitted.

I'm on ww

SOLVED!

W.Z.

---------- Post added at 09:08 PM ---------- Previous post was at 08:42 PM ----------

Could you please share the script, to a semi-noob...:o

Or give some tips how to do it.

Thanks.

W.Z.
[Asus  Eee Pad Transformer Prime] lukcinek:
Hi

My version is .28 stock WW
[Asus  Eee Pad Transformer Prime] demandarin:
how did you solve it?
[Asus  Eee Pad Transformer Prime] Tempie007:
operation not permitted is probably fixed by 'su'
[Asus  Eee Pad Transformer Prime] batoo:
Yep, guys if you have kexec error please post kernel name (exact string from settings)

And FW from settings.

Thank you.

It seems to me that flash of .28 from SDcard and flash over OTA is different.
[Asus  Eee Pad Transformer Prime] wernerzero:
Yep, I was in such a hurry to try it out, that I forgot the basics... :o :D

The fix itself made the homescreens swipe away insanely fast, but I didn't notice that much of an improvement in browsers, pdfs etc.

Still testing though.

W.Z.
[Asus  Eee Pad Transformer Prime] qery:
I had the same problem, but it was because I downloaded it on my tablet. After I downloaded on pc and transfered to tablet everything was fine. Problem was with bayfiles.com
[Asus  Eee Pad Transformer Prime] batoo:
Aha pls somebody can you upload it here? I have tablet only and it is not working for me.
[Asus  Eee Pad Transformer Prime] sjrixon:
I rooted my prime.. Installed this.. I'm sure it's faster..

I copied it to my dropbox account and used root explorer to copy it over. For some reason I couldn't copy from a terminal, 'cp' doesn't appear to exist!!
[Asus  Eee Pad Transformer Prime] dagrim1:
Cheers! Works here on androwook 1.35...

Just copied the file to system/lib/modules using root explorer and ran the commands. Too soon to tell if there are any differences though.
[Asus  Eee Pad Transformer Prime] SalsaForte:
I just want to make sure...

From what I read, it will not affect the ability to receive/apply OTA? Am I right.
[Asus  Eee Pad Transformer Prime] nightmarept:
Can someone please share the script ?
[Asus  Eee Pad Transformer Prime] lukcinek:
I do the same. Download to my Pc from bayfiles.com. upload to dropbox. Copy sio-iosched.ko to /system/lib/modules then open terminal emulator and I run commands You posted. I dont have error that I had before...everything seems to be alright.

I have a question... I write commands You posted....I dont have error but I dont have any other message neither and I dont know if this IO Module was started.

Sorry for my bad english
[Asus  Eee Pad Transformer Prime] -viperboy-:
I no longer have the Prime, but I did write you guys a quick script for it. Here are the contents:

This will check /sdcard and /data/local for the module if it doesn't exist in /system/lib/modules already and will move it. It will then insmod, and then set sio scheduler for mmcblk0 and mmcblk1. This will also log everything to logcat. You can see what is happening by doing "adb logcat -s "sioScript" on boot or use aLogcat after boot and filter by name "sioScript". I have made an update.zip that will install this and the module as well, 120 second waiting time suck lol I can't test it, but it should work. Please let me know if you have any issues. OP, feel free to put this in the 1st post if you want.

https://dl.dropbox.com/u/6621763/sioScript.zip
[Asus  Eee Pad Transformer Prime] batoo:
I didn't have enough of time but as far as I know, stock prime rom doesn't have init.d folder at all.

But thank you for your contribution anyway.

I downloaded github code from creator of ATP application, I will add sio scheduler and release new version with sio included. But once again thank you for your effort!

Cya Batoo
[Asus  Eee Pad Transformer Prime] corey113888:
Your zip seems to work fine on AndroWook 1.3.5 with Motley kernel 3.0.4b. CPU master shows it is active but is there another way to make sure its loaded?

Thanks for the zip and thanks batoo for the kernel module!
[Asus  Eee Pad Transformer Prime] gade12:
and...No thanks for who has created SIO....:mad:
[Asus  Eee Pad Transformer Prime] batoo:
Of course that author of SIO should be on the first place!

But he gave source code, so I compiled it.

If we should thank to everybody it would be very difficult process...

Thanx to Linus, Thanx to google, thanx to Oracle and mainly thanx to the author of SIO,
[Asus  Eee Pad Transformer Prime] mdalacu:
For people who are getting error on insert, it is caused by corupted download. You can safely download the file on the tablet using Opera Mobile (the best browser imho).

It should have ~126KB, if it has ~8KB, then, it's the wrong one.

I have WW .28 version and it is working for me.
[Asus  Eee Pad Transformer Prime] xabhi:
Thanks

Definite improvement here at AndroWook_Prime_v1.35!!!!

Did some benchmark and it proved it works...

Thanks mr batoo and everyone else;):D:D:D:D
[Asus  Eee Pad Transformer Prime] batoo:
You are welcome, file uploaded in the first post to xda forum and script for smanager added!!
[Asus  Eee Pad Transformer Prime] batoo:
It shouldn't be bad for future OTAs but who knows, if you can be sure, delete this sio-iosched.ko file from /system/lib/modules before starting OTA upgrade.
[Asus  Eee Pad Transformer Prime] batoo:
Script has been added to the first post!
[Asus  Eee Pad Transformer Prime] batoo:
If you don't have cp in the terminal you need to install busybox installer from Play Market.

It's bunch of basic tools for shell.
[Asus  Eee Pad Transformer Prime] corey113888:
I am big on giving thanks so I did some research...

As far as the original thanks for the source code; the source code i found had the below in the comments if you download it (sio-iosched.c):

/*

* Simple IO scheduler

* Based on Noop, Deadline and V(R) IO schedulers.

*

* Copyright (C) 2010 Miguel Boton <mboton@gmail.com>

*

*

* This algorithm does not do any kind of sorting, as it is aimed for

* aleatory access devices, but it does some basic merging. We try to

* keep minimum overhead to achieve low latency.

*

* Asynchronous and synchronous requests are not treated separately, but

* we relay on deadlines to ensure fairness.

Its hard to nail down where the source is from (original source code post) or what "copyright 2010" means if its all opensource. Its all over github in allot various kernels. The source posted in the OP points to waninkoko's(of wii and ps3 hacking fame) git hub site. Looks like he changed some syntax in Miguel Boton's original code so it compiles with newer linux kernels.

Thanks to all.
[Asus  Eee Pad Transformer Prime] Mistar Muffin:
Are there any benchmarks I can run to see if cio is actually faster than cfq?
[Asus  Eee Pad Transformer Prime] corey113888:
Enter

I did some in antutu and they were about the same. My FPS were higher though. There is alot of controversy over these software bench marks so take it with the grain of salt...
[Asus  Eee Pad Transformer Prime] Tempie007:
You could try sqlite benchmark or androbench.

I dont know if an idle tablet with only a bench running will notice big differences .. (there aint much to schedule :o) benches vary anyway from time to time.

In real world SIO will probably be faster, CFQ is not fast to begin with. In fact CFQ will be slower than the asus default (noop) in most cases... however it does feel faster because it devides IO time on another way (fair) for apps that want it , for instance google play updates and foreground browser. Overall it takes just as long as with noop scheduler.

Faster does not mean that it improves user experience this ccase.
[Asus  Eee Pad Transformer Prime] demandarin:
I downloaded what you said and its still telling me

sh: cp: not found

I made sure to install the files from busybody installer. installation location is /system/xbin. it gave me a few options to where to install. that was the default. or was it supposed to go into /system/bin or doesn't matter?

edit: changed location to /system/bin. same results sh: cp: not found

I'm on .28.5 but same kernel version: 2.6.39.4
[Asus  Eee Pad Transformer Prime] SalsaForte:
I repeat my question: does this affect the ability to receive OTA/official firmware updates?

I'm not used to these script. From what I understand, the system stays "intact" and the script "force the scheduler to load" on every boot?

Thanks!
[Asus  Eee Pad Transformer Prime] bpear96:
the cp command is used to copy the module from your sdcard to the directory it is needed in, since its not on your sdcard (internal memory really) and you already moved it where it is needed manually with root explorer, you can skip that line.

---------- Post added at 03:23 AM ---------- Previous post was at 03:21 AM ----------

I had the CFQ module, and received the .28 OTA update fine. I am now using this and dont think it will be a problem either. And if worse comes to worse, you can either remove it, or manually update via BLOB file.
[Asus  Eee Pad Transformer Prime] demandarin:
thanks. I skipped that line you said. commands went through no errors. there was no confirmation. any way to make sure this is installed or running or not. I saw someone asked same thing on previous page bit was never answered.
[Asus  Eee Pad Transformer Prime] ThiaiZ:
Install ATP tweak for exemple, open it and on the left upper corner you gonna see the available schedulers,it should show cfq by default. If you click on it a list with 3 different options should popup:cfq,noop and "sio". This is the guy we want "sio", if it is showing just choose it, that means it is working.
[Asus  Eee Pad Transformer Prime] demandarin:
yep, it there's and I chose it. its working. thanks.
[Asus  Eee Pad Transformer Prime] clenz:
Should you be using this if you're testing the new build? Lol we need you a vanilla as possible - no cheating.
[Asus  Eee Pad Transformer Prime] ThiaiZ:
Anytime mate. :)
[Asus  Eee Pad Transformer Prime] demandarin:
lol..you funny....I've already did most testing and sent Gary the feedback. still waiting to hear back from him. plus I can always just reboot, since I'm not running script, and it'll go back to default noop scheduler. so I'm not cheating. just trying out these new things to see if it helps things out. Cause if they do, I always pass the word onto Asus to see if it might help them out.

So I'm vanilla for most part. not unlocked ;)

although I am on the brink of wanting to unlock. anxious to try out Androwook and motley kernel tweaks.
[Asus  Eee Pad Transformer Prime] nhshah7:
for anyone else with this issue, this should help

https://play.google.com/store/apps/...t=W251bGwsMSwxLDMsInN0ZXJpY3Nvbi5idXN5Ym94Il0.
[Asus  Eee Pad Transformer Prime] demandarin:
I always had that installed. I did like bpear said and just skipped that one step. I think it was just giving me that error since I already had the file in the proper location and there was no need for cp command. I believe that line is for if you have that file stored anywhere else but the proper location. running THST command would place it in the right location.

like you linked, Busybox is needed.
[Asus  Eee Pad Transformer Prime] Blairware:
Can't have it both ways, now...

That tells me 28.5 is nothing earth shattering, even if it is better than .28 - I am at the point of unlocking myself, but I want to understand the slow memory write phenomena with this thing first. I am betting on misaligned I/O - We see it all the time at Netpp with VMware admins. They setup the disk for the wrong OS, and the header then misaligns EVERY write to the disk after that. Quadruples the amount of I/O. This would explain why in recovery the memory is fast, but in OS it sucks. Asus should get some storage expertise onboard and stop looking to XDA to figure out what they did wrong. :mad: My SGSII Skyrocket does writes 5x as fast - on a Dual Core at 1.5
[Asus  Eee Pad Transformer Prime] demandarin:
all that tells is that im trying out a new scheduler. big deal..lol even if .28.5 was earth shattering, i would still be trying out stuff. Im an xda user first. so its natural for me to eventually want to try out the new tweaks and mods. yes, .28.5 is better.

i do think your theory on misaligned i/o is a good one. I'm almost positive this is an Asus/Nvidia issue. Either in the kernel or drivers or a combo of both. Asus will get it right. i just hope its sooner than later.

But me wanting to unlock is not based on my prime performance being bad. Prime overall is performing great stock. My random gaming issues is not enough to make me think or feel my prime is performing subpar. But i keep hearing of these custom roms being even more optimized and faster. So faster speeds and even better performance is what i seek. I'm not going to unlock based on prime performing poorly, which mines doesn't.
[Asus  Eee Pad Transformer Prime] Tempie007:
OK after some days with the SIO scheduler I've seen more ANR messages than on the CFQ scheduler

None of the benches show difference but thats expected.
[Asus  Eee Pad Transformer Prime] demandarin:
haven't had any anr. what I noticed so far is that this Sio completely removed the playstore lag when installing. will try out with larger batch of apps installing to really see.

Seems good so far. haven't noticed any drawbacks, yet.
[Asus  Eee Pad Transformer Prime] batoo:
Same here, since I have compiled SIO I don't have any ANR at all!

I am testing more progressive kernel tweaks (nothing dangerous but my device is a lot of faster) so stay tuned!
[Asus  Eee Pad Transformer Prime] -viperboy-:
If you used my zip, just check logcat when booting or use alogcat and sort by tag sipScript after booting.

No, it won't.
[Asus  Eee Pad Transformer Prime] weinshin:
Works on TF300T

I installed the kernel module without issue on the TF300T, running termleech's AOKP Build 39, which has kernel version 2.6.39.4. Enabled using the SetCPU app. Seems to make a huge difference, thanks!
[Asus  Eee Pad Transformer Prime] batoo:
It's ok than ... I didn't know that they use same kernel version for both!
[Asus  Eee Pad Transformer Prime] Zephyrot:
Wow, just wow. This is insane!

I use my Prime as a book replacement using PDFs, and it used to take ages to load pages. Books are very complex PDF files with images and searchable text.

The difference loading a random page is huge. It is loading pages under 3 seconds for the most complex ones (before around 15 seconds).

Big thanks for this one man.
[Asus  Eee Pad Transformer Prime] flak0:
Where did u paste the module to so that setCPU can pick it up
[Asus  Eee Pad Transformer Prime] weinshin:
Same as the instructions in the first post, /system/lib/modules. I also did the insmod command before trying SetCPU.
[Asus  Eee Pad Transformer Prime] flak0:
thanks
[Asus  Eee Pad Transformer Prime] Tempie007:
i must rectify this , the ANR must have come from something else. now im running androwook .35 with motley kernel .5 which has SIO built in.

works as a charm.

still some lockups on updating apps with playstore but at least the tablwt is usable while doing so!
[Asus  Eee Pad Transformer Prime] sachinkumar1312:
Do we need an unlocked and root TFP?

Mine's only rooted and locked BL, have EZOverclock installed.

Can I use this mod?
[Asus  Eee Pad Transformer Prime] batoo:
Root only
[Asus  Eee Pad Transformer Prime] justcookiesncream:
Got this installed via Terminal Emulator and Root Explorer via the PlayStore without using a pc for convenience sake

Been testing this schedular for about 7 hours now, overall stability and performance of the device has improved for me, How so ?

Stability

- In used to get stuck at a point of playing Max Payne where the screen flickers like mad, while the screen flickers the game still registers my touch, as there are still sound responses to my touch, I can hear the enemies as well but the screen just halts at the frame in which it flickers HOWEVER after I've begun using this schedular there has been no such instances with the game AND browser seems to be literally on the fly for me, doesn't go irresponsive for a few seconds and ANR or whatnot, so there you go no more CAREFULusage of my tablet at least for now, the testing continues ..

Performance

-For performance wise I really couldn't think of anything to test on other than MORE graphically intense games, like Modern Combat 3. When playing MC3 on balanced mode before the implementation of the schedular, it lagged noticeably, controls were irresoponsive and movements stuttered a whole lot HOWEVER after the addition of this schedular, even on balanced mode, everything ran spectacularly smooth for me. Movements were fluid, responsive really just an over the top experience.

Overall I must say that this is the first ever improvement on my tablet, a remarkable one at that. I'm not really tech but I'm guessing that the reasons for Lags/Game stutter/Game flickers/Hangs are probably caused by the slow I/O responsiveness originally on the Prime.

I don't want to draw any further quick conclusions but this is my experience so far and I'd like to thank the OP for this remarkable find !

*Using browser2ram in addition to the browser, still sucked before the I/O change

Edit

Shall test for other problems that I previously had like screen tearing, that was easily emulated by using Opera Next, will post the results here
[Asus  Eee Pad Transformer Prime] tsmt971@yahoo:
I have modified the ATP_Tweak code to include this simple IO schedule and load it at boot.

Also sent PM to Batoo for his permission to post the APK into this thread. Awaiting for his response.

Edit: I have sent ATP_Tweak_Sio.apk to Batoo to upload into the OP. If you need it, please PM me.
[Asus  Eee Pad Transformer Prime] nhshah7:
was this as simple as copying the sio-iosched.ko to assets in teh atp_tweak apk?
[Asus  Eee Pad Transformer Prime] tsmt971@yahoo:
Something is like that. But if you donwloaded code from saturn_de's github respo the checkboxes on the right hand side are all checked. I have modified code a little bit.

There is something with the checkbox, minor one, from this code it may not function as expected. I am still working to modify it a little bit. However the ATP is usable at the moment.
[Asus  Eee Pad Transformer Prime] batoo:
i trie that too but code can't go through validation because of R.label, but I don't have time aaaargh.
[Asus  Eee Pad Transformer Prime] barisko:
I'm doing my very best to understand how to use this.

I installed BusyBox, SManager and ATP Tweak.

Next I placed the sio-iosched.ko file in /system/lib/modules/

'sio' showed up in SManager, but after reboot is disappeared again.

I tried to run commands using SManager, but only got error messages. I don't understand how to use BusyBox.

Is there a extensive guide on how to use these modules?

---

Sent from my Transformer Prime TF201
[Asus  Eee Pad Transformer Prime] bdawg31:
I know. And I know what I am doing and the module will not load brah
[Asus  Eee Pad Transformer Prime] Gage_Hero:
See http://xdaforums.com/showthread.php?t=1714253&page=5

Post #42... there is a zip to flash, then it will load at boot.....:good:
[Asus  Eee Pad Transformer Prime] Parastie:
Is your prime rooted?

I'm actually considering rooting my prime for the first time just to try this.

EDIT:

QUESTION: Does this improve general read/writes like copying files from thumb drive to internal memory and vice versa?
[Asus  Eee Pad Transformer Prime] batoo:
Yes
[Asus  Eee Pad Transformer Prime] Parastie:
Well that's enough for to try it. Guess it's time to root my prime. :D
[Asus  Eee Pad Transformer Prime] Subsonic44:
Just flashed this on top of Androwook 1.35 with Motley's 3.0.5 kernel. My Antutu benchmark went from 13730 to 14008 with i/o score going from 330 to 870 IMPRESSIVE!
[Asus  Eee Pad Transformer Prime] Tempie007:
run this benchmark 3 times.

how consistent s the speed improvement?
[Asus  Eee Pad Transformer Prime] Subsonic44:
Test 1: 14008

Test 2: 13986

Test 3: 13774
[Asus  Eee Pad Transformer Prime] sachinkumar1312:
What's the ATP tweak? Couldn't get to find out from this thread.