[CentOS] Swap

Sam Drinkard sam at wa4phy.net
Mon Jun 5 20:15:35 UTC 2006



Rodrigo Barbosa wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>On Mon, Jun 05, 2006 at 02:01:52PM -0600, Joshua Gimer wrote:
>  
>
>>On 6/5/06, Max H. <btmanmeh at verizon.net> wrote:
>>    Kai Schaetzl wrote:
>>    > where do you set "swappiness"?
>>
>>    Echo a value 0 to 100 into /proc/sys/vm/swappiness.
>>
>>    Higher the number, more swap.
>>
>>    Here's an interesting argument from some kernel developers:
>>
>>    <http://kerneltrap.org/node/3000>
>>
>>I would at least keep a little bit of swap space. If you were to ever run out
>>of physical memory it WILL cause a kernel panic. Just a suggestion.
>>    
>>
>
>And that is why we are suggesting changing swappiness instead of
>turning of swap.
>  
>
I assume then, with swappiness set to 0, *if* the system does happen to 
need some extra pages, then it *will* go into swap, but only if all 
memory is exhausted?  Zat sound right?

-- 
Sam W.Drinkard -- sam at wa4phy.net
http://wa4phy.net
Augusta Area Mesonet
cell 706.825.8513 Home 706.868.7253
MAIL 4428 Branchwood Drive,
Martinez Georgia, 30907-1304




More information about the CentOS mailing list