Re: Fedora 4 swap + mem

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

 



rassylkaformazaj@xxxxxxx wrote:
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

Try replacing "LABEL=SWAP-cciss/c0d0p" with /dev/cciss/c0d0p? where
the question mark should be replaced with the partition number of
your swap partition. You might use fdisk to find the right partition:

fdisk -l /dev/cciss/c0d0


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
...
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?


The answer is right in front of your eyes. The rest of the memory
is used for cache and buffers. You should compare the number 2891992
with 2659344, not a big difference.

Mogens

--
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: mk@xxxxxx Homepage: http://www.crc.dk


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux