I recently switched to an android phone, which is the first smart phone I have. There is an IM app I must use for daily life, but it got too much i/o which laaaaaaaaaags my entire phone. Basically it writes too many temporary/cache files (image received) into my phone too often.
Then I remind I've been using some program called "Ramdisk" on my Windows Laptop to deal with this problem, I know there's something similar called "tmpfs" for Linux, since Android is based on Linux, can I get tmpfs on my phone and link the cache directory to it? My phone has 2GB RAM, which usually still has 800MB free during heavy usage. I'm thinking take about 200MB~300MB of RAM to use for those annoying cache. So the question is:
- If all of this is possible, do you think this will solve my problem? (My phone is a quad core phone, doesn't support SD cards. I think the I/O is the cause of lag, or am I wrong?)
- Can I get tmpfs on my android phone? (Running stock rom "MIUI V5" based on Android 4.1.1, rooted)
- Once I get tmpfs done, how can I link those cache directory to it?
- What do I need and how can I get it done? (I don't have busybox installed and I've no idea how to install it.)
Thanks in advance.