I am confused as to why the operating system is not using swap.
I am using Fedora Core 13, it did have 4GB of ram, all of the ram was used. performance was poor. I used free and top to check if it was swapping - according to both, swap was NOT used at all. Never the less, I upgraded to 8GB and performance improved a lot.
However, once again, free and top state that ALL the ram is utilised, yet NONE of the swap is utilised. I find this suspicious.
Please see the output below.
Can anyone explain this. thanks.
Code:
# free
total used free shared buffers cached
Mem: 8187616 8128084 59532 0 1701312 5370920
-/+ buffers/cache: 1055852 7131764
Swap: 24575976 0 24575976
# swapon -s
Filename Type Size Used Priority
/dev/sda1 partition 4095996 0 -1
/dev/sdb1 partition 4095996 0 -2
/dev/sdc1 partition 4095996 0 -3
/dev/sdd1 partition 4095996 0 -4
/dev/sde1 partition 4095996 0 -5
/dev/sdf1 partition 4095996 0 -6