whats in swap? why am i using all of it?

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

 



I've got a couple nodes (running inside VM on a s390) that are using
up every bit of there swap, yet only using a 1/3 to 1/2 there memory
(-buffers/cache).

Here is free -m from a node:
$ free -m
            total       used       free     shared    buffers     cached
Mem:          1008       1002          5          0         98        514
-/+ buffers/cache:        390        618
Swap:           99         93          6


So out of 1008MB total memory we're only using 390, Not to bad. But it
does seem kinda bad when you look at it as you have 514MB in cache but
your almost out of swap.

But then again swap is only 1/10th the size of memory so maybe its not
that much in swap.

This leads to my 2 questions.

1 Why am i using any swap when i have so much memory free?  (and is
that a problem, if so would adding more memory even help? How about
more swap?)

2 How do i tell whats in swap anyway. like a lot of memory management
stuff there doesn't seem to be a easy way to tell.

Eli

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux