Thread
:
How to set swappiness?
View Single Post
wheelybird
2010-04-01 , 14:43
Posts: 42 | Thanked: 22 times | Joined on Dec 2009
#
8
It's /proc/sys/vm/swappiness. As root:
echo "50" > swappiness
will change it, though this won't survive a reboot.
The default is 100, which is the swappiest. You could try lowering it to, say, 50.
You can add a swap partition to your SD card by editing the partitions and adding a Linux swap partition to it (type 82).
For example, add a swap partition of 1GB to the SD. Search the internet for fdisk, swapon, swapoff and mkswap to teach you what to do. You'd turn the SD swap on and the internal swap off.
Please note: this is for information only. Do what you like with your device, but at the risk of making it not work at all. Personally I'd recommend keeping it set up as it is at the moment.
Quote & Reply
|
The Following 2 Users Say Thank You to wheelybird For This Useful Post:
Chrome
,
dscobsct
wheelybird
View Public Profile
Send a private message to wheelybird
Find all posts by wheelybird