View Single Post
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#2706
It's worth to add, that having swap on microSD and ED partition on eMMC also helps with performance. Honestly, I haven't had any reboots, no matter if I lzma 3GB image file for ED (on device), copy <whatever> size/files count directory, or any other heavy I/O thing. Of course, I also modified files suggested by freemangordon, but I use slightly different settings (tweaked to my liking):

Code:
echo 5 > /proc/sys/vm/page-cluster
echo 256 > /sys/block/mmcblk0/queue/nr_requests
echo 512 > /sys/block/mmcblk1/queue/nr_requests
echo 7 > /sys/block/mmcblk0/queue/iosched/slice_idle
echo 7 > /sys/block/mmcblk1/queue/iosched/slice_idle
echo 4 > /sys/block/mmcblk0/queue/iosched/quantum
echo 4 > /sys/block/mmcblk1/queue/iosched/quantum
echo 125 > /sys/block/mmcblk0/queue/iosched/fifo_expire_sync
echo 125 > /sys/block/mmcblk1/queue/iosched/fifo_expire_sync
echo 250 > /sys/block/mmcblk0/queue/iosched/fifo_expire_async
echo 250 > /sys/block/mmcblk1/queue/iosched/fifo_expire_async
I must add, that combination of swap on (class 2) microSD and above settings, not only device doesn't reboot during heavy I/O, but is also fully responsible (seriously, @900 mhz, even during packaging ED image with lzma and compressions (1 above default), I can do other things on device without much problem!).

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following 4 Users Say Thank You to Estel For This Useful Post: