Online Expert Day - HPE Data Storage - Live Now
April 24/25 - Online Expert Day - HPE Data Storage - Live Now
Read more
cancel
Showing results for 
Search instead for 
Did you mean: 

Swap Utilization

Sridhar
Occasional Contributor

Swap Utilization

Hi

    In my sysystem swap utilization is always on 74% as shown below.

 

#-> swapping -tam
             Mb      Mb      Mb   PCT  START/      Mb
TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME
dev        8192     725    7467    9%       0       -    1  /dev/vg00/lvol2
dev       12288     725   11563    6%       0       -    1  /dev/vg00/lvswap
reserve       -   19030  -19030
memory    12719    4071    8648   32%
total     33199   24551    8648   74%       -       0    -  ====> I need to know what this TOTAL states... Is this is the actual swap utilization %

3 REPLIES
raj
Senior Member

Re: Swap Utilization

Steven E. Protter
Exalted Contributor

Re: Swap Utilization

Shalom,

swap is reserved when a process is launched, based on memory requirements. For many daemon processes this never changes.

HP-UX factoid:
Memory is calculated by physical memory plus swap.

Therefore 74% of your total which is approximately 32 GB is being "used"

This may or may not be a problem. I would take a look at vmstat output to see if there is paging.

reserving swap is not necessarily a problem. Once processes are being paged to and from swap, in and out of active memory, then this may be a problem.

If there is a problem, the normal responses are:
1) Reduce memory use.
2) Increase physical memory.

If you wish to pursue details, post vmstat output and the output of the command model.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Dennis Handly
Acclaimed Contributor

Re: Swap Utilization

>I need to know what this TOTAL states. Is this is the actual swap utilization %?

 

Yes, that's what Total means.  24.5 Gb is 74% of 33.2 Gb.

Note this is how much swap that's reserved, not how much has been swapped yet.

(Notice the large "reserve" but small used under "dev".