Jump to content

How can i set swappiness permanently on 2.1??


Recommended Posts

Posted

Hi! if i do "a2sd swappy30" it does'nt works(flb 1.6b)

If i do: "echo 30 > /proc/sys/vm/swappiness" it works but if you reboot the phone it goes back to the default value of 15 unles you write the command again

I've put a "sysctl.conf" file in /system/etc/ with this: "vm.swappiness = 30" inside, and it's not working

Is there anything else i could do? Anyway i'm doing it because since last week when i'm in any app and press home button launcher pro restarts and i think that maybe it's because i'm running low of ram and changing the swappiness to 30 could help

Guest TaiwanCHT8k
Posted (edited)

an app called swapper2 on market does a good job and it's got GUI

you might wanna turn that built-in DTa2sd swap feature off and try swapper2 for a few days

Edited by TaiwanCHT8k
Guest igor_anta
Posted (edited)
an app called swapper2 on market does a good job and it's got GUI

you might wanna turn that built-in DTa2sd swap feature off and try swapper2 for a few days

Off topic but congrats on 100 ;)

I'm also using Swapper2 but that's cause I'm still on a rom with and older version of Darktremor a2sd so it's difficult for me to set it up. Just ask in the FLB MOD topic, I'm sure someone ill answer there. Cheers!

EDIT: Oh, you also have an older version of a2sd :) If you don't plan to switch to 1.7, that command will not work on your rom version, than just use Swapper2.

Edited by igor_anta
Posted
Hi! if i do "a2sd swappy30" it does'nt works(flb 1.6b)

If i do: "echo 30 > /proc/sys/vm/swappiness" it works but if you reboot the phone it goes back to the default value of 15 unles you write the command again

I've put a "sysctl.conf" file in /system/etc/ with this: "vm.swappiness = 30" inside, and it's not working

Is there anything else i could do? Anyway i'm doing it because since last week when i'm in any app and press home button launcher pro restarts and i think that maybe it's because i'm running low of ram and changing the swappiness to 30 could help

In /etc/init.d/ add a file or modify one of the existing ones.

# !/system/bin/sh


echo 30 > /proc/sys/vm/swappiness

Guest jamielockeymusic
Posted (edited)

i use swapper 2 and it works perfectly! :) with FLB MOD 1.5 (flashed swap kernal)

kicks in as soon as you have booted your phone (well once its loaded and SU has granted it)

EDIT: Also, since using it (been a week now) LauncherPro hasnt restarted once when leaving another app ;)

Edited by jamielockeymusic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.