[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: when is swap allocated



On Fri, 21 Jan 2000, Brian J. Stults wrote:

> I was just wondering when/why swap space is used.  I rooted around a bit
> in the various sources of documentation, but didn't find what I was
> looking for.  The reason I ask is that swap is very rarely used on my
> system.  Most of the time, the results of "free" look like this:
> 
>              total       used       free     shared    buffers    
> cached
> Mem:        128300     125204       3096      91920       2784     
> 61060
> -/+ buffers/cache:      61360      66940
                                     ^^^^^
Why should the kernel use the swap, if more then half of your memory is
unused?

> Swap:       273024       4344     268680
> 
> Maybe I should be glad that there is little need on my system for swap,
> but I'm a little surprised and worried that something is not set
> properly.

There is nothing to wory about (my $0.20).

Martin

-- 
This is Linux Country.
In a quiet night,
you can hear Windows
reboot.

For public PGP-key: finger mfluch@mathphys.fsk.uni-heidelberg.de


Reply to: