You are not logged in.
when does linux kernel use swap, i want to reappear it exactly, what is the Algorithm, how it relates to the value of /proc/sys/vm/swappiness,
i find a clause in 2.6.0, but don't know what it mean
swap_tendency = mapped_ratio / 2 + distress + vm_swappiness;
Last edited by seanlin138 (2012-10-20 01:52:13)
Offline
Welcome to Arch, seanlin138. You will find that Arch users are encouraged to answer questions like this for themselves, either by using the wiki (please see this topic, which I found by searching the wiki for "swappiness") or by using a web search.
The Arch wiki is an excellent source of information.
Last edited by 2ManyDogs (2012-10-19 13:14:57)
Offline
thank 2ManyDogs so much.
Offline
while i am not a e-country person, i have not describe my question clearly, i will modify the question.
Offline
AS I know swappines in 2.6/3.x is 60 by default (a fixed value) and can by changed in /etc/sysctl.conf adding vm.swappiness to a value that you give, same for cache_pressure (as 100 as default) and reducted in same archive vm.vfs_cache_pressure
I think that this can help a little
Lenovo ThinkPad L420 modified
:: Intel i7 2560QM :: 8 GB RAM :: SSD 256 GB ::
:: DVD read+Writter :: 3 USB 3.0 Expresa Card ::
:: a Favulous 1 mins lasting Io-Li battery ::cry::
Offline
thanks
Offline