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

Fedora 4 swap + mem



Hello all

Also a question about swap.

I have 4G of RAM and partition about 4G for swap.

# cat /etc/fstab
....
LABEL=SWAP-cciss/c0d0p  swap                    swap    defaults        0 0
....

But seems Fedora doesn't use swap
# free
             total       used       free     shared    buffers     cached
Mem:       4086512    3951232     135280          0     160540     898700
-/+ buffers/cache:    2891992    1194520
Swap:            0          0          0

Why?? I've heard that with big amount of physical memory Fedora
doesn't use it.

I tryed to do

# swapon -a

no results ...

Also i'm very interested who "eats" this memory

# ps axuwww | grep -v "USER" | awk '{ vsz = vsz + $5; rss = rss + $6};
END {print "VSZ = ", vsz, " RSS = ", rss}'

VSZ =  3229396  RSS =  2659344

so resident set size, the non-swapped physical memory that a tasks has
used (in kiloBytes) is 2659344k ~= 2.6G , and virtual memory size of
the processes in KiB is about 3.2G . But all this this is much lesser
then shows free utility (3.9). 

can someone explain plz?


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