View Single Post
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#168
Originally Posted by shadowjk View Post
I hope you're using charge21.sh which is newest right now...

I always run it out of /root, so iconsistencies in relative vs absolute paths never hit me

Additionally I have a script that I run on every boot, which among other things set reswap.stat to 0.

mmcblk0p3 is normal emmc swap. mmcblk1p3 in iostat.
mmcblk1p2 is microsd swap, mmcblk0p2 in iostat.

I leave emmc swap on, it sits at lower priority anyway, so I only have to do a swapoff if I want to remove back cover. No other particular reason. At one point I probably had a swapon binary with priority support and had emmc+usd at equal priority, but then I concluded performance was nicer when swap was dedicated to usd.

The general idea is indeed: swapon emmc, swapoff usd, swapon usd, swapoff emmc, swapon emmc.
You have my attention. Please talk me through this charge script. What do you use it for? Do you feel bme is inadequate for your purposes?
__________________
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.

Last edited by vi_; 2011-05-19 at 21:21.