Here's the values although on the n7 read_idle is 20 not 15. Download is init.d script to easily implement
#!/system/bin/sh
#chmod -R 755 /system/etc/init.d
echo "row" > /sys/block/mmcblk0/queue/scheduler
echo 100 > /sys/block/mmcblk0/queue/iosched/hp_read_quantum
echo 75 > /sys/block/mmcblk0/queue/iosched/rp_read_quantum
echo 5 > /sys/block/mmcblk0/queue/iosched/hp_swrite_quantum
echo 4 > /sys/block/mmcblk0/queue/iosched/rp_swrite_quantum
echo 3 > /sys/block/mmcblk0/queue/iosched/rp_read_quantum
echo 1 > /sys/block/mmcblk0/queue/iosched/lp_read_quantum
echo 1 > /sys/block/mmcblk0/queue/iosched/lp_swrite_quantum
echo 15 > /sys/block/mmcblk0/queue/iosched/read_idle
echo 25 > /sys/block/mmcblk0/queue/iosched/read_idle_freq
echo "row" > /sys/block/mmcblk0/queue/scheduler
echo 100 > /sys/block/mmcblk0/queue/iosched/hp_read_quantum
echo 75 > /sys/block/mmcblk0/queue/iosched/rp_read_quantum
echo 5 > /sys/block/mmcblk0/queue/iosched/hp_swrite_quantum
echo 4 > /sys/block/mmcblk0/queue/iosched/rp_swrite_quantum
echo 3 > /sys/block/mmcblk0/queue/iosched/rp_write_quantum
echo 1 > /sys/block/mmcblk0/queue/iosched/lp_read_quantum
echo 1 > /sys/block/mmcblk0/queue/iosched/lp_swrite_quantum
echo 15 > /sys/block/mmcblk0/queue/iosched/read_idle
echo 25 > /sys/block/mmcblk0/queue/iosched/read_idle_freq
I typed rp_read_quantum when it should have been rp_write_quantum
Awesome benchmark app Franco and his best friend developed
sorry for the long delay in my response regarding the tunables you provided (school has been keeping me insanely busy) so far i have found them to work pretty well, dont notice any major hiccups. installs from teh market seem to take less time however (not sure if this is due to me running through a proxy and higher load on their end) i have noticed that downloads from the market seems to be taking longer than normal.
Exporting files (roms) from dropbox to sd card feels like its about the same but definitely slower than when i use deadline.
I generally dont do much writing to my device so use in applications like chrome etc feel about the same if not a tad faster, tho it is hard to really tell thanks to interactive and 365 being so ridiculously fast.
i know this is likely less than helpful, please let me know if there are any specific tests you would like me to perform to give better feedback.
- Cheers[/QUOTE]
No man that'll work. Your app downloads are gonna be regular swrite or even hp swrite. Same with pulling roms from dropbox. I'll look at bumping the numbers and see. In your script instead of 5 4 3, try 6 4 4 or even 6 5 4 for hp_swrite rp_swrite and rp_write. Let me know if that makes a difference
Franco r365
JBSourcery 4.5.5[/QUOTE]
After testing each for about a day, im finding that 6 5 4 seems to feel a bit better overall, feels much snappier, im betting it has something to do with the higher hp_swrite_quantum value. so far it hasnt seemed to affect the battery life at all. I'm going to continue testing 6 5 4 for a bit longer to be sure it isnt a placebo affect[/QUOTE]
so 100/75/6/5/4/1/1/15/25 seems to be working well[/QUOTE]
And I asked him to bump lp_write to 2. We'll give it a couple days testing and then maybe we've got winning defaults
2=1
10=2
100=13
Frigging bizarre, so I'm going to leave it alone. Trying the others at 12 11 10 though.
P.S. Welcome aboard 'tyres!
#!/system/bin/sh target=/sys/block/mmcblk0/queue/iosched/lp_swrite_quantum
i=0
until [ $i == '1000' ]; do
echo $i > $target
cat $target >> /sdcard/output.txt
i=$(( $i + 1 ))
done
echo 100 > /sys/block/mmcblk0/queue/iosched/hp_read_quantum;
echo 75 > /sys/block/mmcblk0/queue/iosched/rp_read_quantum;
echo 6 > /sys/block/mmcblk0/queue/iosched/hp_swrite_quantum;
echo 5 > /sys/block/mmcblk0/queue/iosched/rp_swrite_quantum;
echo 4 > /sys/block/mmcblk0/queue/iosched/rp_write_quantum;
echo 3 > /sys/block/mmcblk0/queue/iosched/lp_read_quantum;
echo 12 > /sys/block/mmcblk0/queue/iosched/lp_swrite_quantum;
echo 10 > /sys/block/mmcblk0/queue/iosched/read_idle;
echo 25 > /sys/block/mmcblk0/queue/iosched/read_idle_freq;
Edit: Reboot fixed it. Probably just something still running in the background from when I was running those value test scripts.
Send me your sysctl.conf too while you're at it.
It also seems to improve row on the N7 slightly, though still not to the point that I'd choose it over deadline on it.
As for the Dev options, I've always been 0.5x across the board. It's like increasing the mouse pointer speed in Windows, it might not be much faster but it *feels* a lot faster. And I've found the transitions since JB progressively gooier and slower/more annoying with each new release.. I'll try them at 1x to see what you guys are saying though. ;)
P.S. Never any need to apologize Aleem, we're all testing things out, not every device is made the same, mileage may vary and we're all entitled to our own opinions. :)
#!/system/bin/sh
# chmod -R 755 /system/etc/init.d
echo 512 > /sys/block/mmcblk0/queue/read_ahead_kb;
echo 2 > /sys/block/mmcblk0/queue/nomerges;
echo 2 > /sys/block/mmcblk0/queue/rq_affinity;
# wait for android os
until [ `pidof com.android.systemui` != "" ]; do
sleep 1
done;
sleep 20;
# deadline tweaks
echo 350 > /sys/block/mmcblk0/queue/iosched/read_expire;
echo 3500 > /sys/block/mmcblk0/queue/iosched/write_expire;
echo 6 > /sys/block/mmcblk0/queue/iosched/writes_starved;
echo 0 > /sys/block/mmcblk0/queue/iosched/front_merges;
echo 0 > /sys/block/mmcblk0/queue/iosched/fifo_batch;
# row tweaks
echo 100 > /sys/block/mmcblk0/queue/iosched/hp_read_quantum;
echo 75 > /sys/block/mmcblk0/queue/iosched/rp_read_quantum;
echo 5 > /sys/block/mmcblk0/queue/iosched/hp_swrite_quantum;
echo 4 > /sys/block/mmcblk0/queue/iosched/rp_swrite_quantum;
echo 4 > /sys/block/mmcblk0/queue/iosched/rp_write_quantum;
echo 3 > /sys/block/mmcblk0/queue/iosched/lp_read_quantum;
echo 12 > /sys/block/mmcblk0/queue/iosched/lp_swrite_quantum;
echo 15 > /sys/block/mmcblk0/queue/iosched/read_idle;
echo 25 > /sys/block/mmcblk0/queue/iosched/read_idle_freq;
That's the setup I'm running (did not change back to window ani 1x)
How bout you Chris? Steve? Aleem?
# wait for android os
until [ `pidof com.android.systemui` != "" ]; do
sleep 1
done;
sleep 25;
Sleep 25 being the difference over your 20. I grabbed this one of chris I beleive it was originally but just editted the values as we have tested them. All animation, transition and windows speed still set to 1x
Its not a boolean. Maybe Tuna kernel doesn't have the latest code for setting it to 2, kernel 3.4 has it natively. I'll merge it later to Tuna.
# row tweaks
echo 100 > /sys/block/mmcblk0/queue/iosched/hp_read_quantum;
echo 75 > /sys/block/mmcblk0/queue/iosched/rp_read_quantum;
echo 5 > /sys/block/mmcblk0/queue/iosched/hp_swrite_quantum;
echo 4 > /sys/block/mmcblk0/queue/iosched/rp_swrite_quantum;
echo 4 > /sys/block/mmcblk0/queue/iosched/rp_write_quantum;
echo 3 > /sys/block/mmcblk0/queue/iosched/lp_read_quantum;
echo 12 > /sys/block/mmcblk0/queue/iosched/lp_swrite_quantum;
echo 10 > /sys/block/mmcblk0/queue/iosched/read_idle;
echo 25 > /sys/block/mmcblk0/queue/iosched/read_idle_freq;
## N4 and N10 have a new version of row with corrected entry for lsq and renamed ri and rif
[ `cat /sys/block/mmcblk0/queue/iosched/lp_swrite_quantum` != "2" ] && echo 2 > /sys/block/mmcblk0/queue/iosched/lp_swrite_quantum;
echo 10 > /sys/block/mmcblk0/queue/iosched/rd_idle_data;
echo 25 > /sys/block/mmcblk0/queue/iosched/rd_idle_data_freq;