Operating System - HP-UX
1745872 Members
4153 Online
108723 Solutions
New Discussion юеВ

swapinfo output...query..

 
SOLVED
Go to solution
chindi
Respected Contributor

swapinfo output...query..

Hi guys,

My swapinfo o/p is as below;

root #/tmp >sw
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 32768 548 32220 2% 0 - 1 /dev/vg00/lvol2
reserve - 18130 -18130
memory 16353 3082 13271 19%
total 49121 21760 27361 44% - 0 -


and my kmeminfo isa s follows ;

Physical memory usage summary (in page/byte/percent):

Physical memory = 4186330 16.0g 100%
Free memory = 745976 2.8g 18%
User processes = 2531301 9.7g 60% details with -user
System = 891858 3.4g 21%
Kernel = 724405 2.8g 17% kernel text and data
Dynamic Arenas = 457783 1.7g 11% details with -arena
vx_buffer_cache = 129088 504.2m 3%
vx_global_pool = 60060 234.6m 1%
vx_inode_cache = 57732 225.5m 1%
spinlock = 21296 83.2m 1%
VFD_BT_NODE = 19396 75.8m 0%
Other arenas = 170211 664.9m 4% details with -arena
Super page pool = 10472 40.9m 0% details with -kas
Static Tables = 189628 740.7m 5% details with -static
pfdat = 98117 383.3m 2%
vhpt = 32768 128.0m 1%
nbuf = 22800 89.1m 1% bufcache headers
inode = 9526 37.2m 0%
bufhash = 8192 32.0m 0% bufcache hash headers
Other tables = 18225 71.2m 0% details with -static
Buffer cache = 167453 654.1m 4% details with -bufcache
UFC meta mrg = 0 0.0 0%
UFC file mrg = 0 0.0 0%


I would like to know hw come my memory utilisn is only 44% and still d swap is started gettng used ???

12 REPLIES 12
chindi
Respected Contributor

Re: swapinfo output...query..

My server details are as follows;


hpux 11i v2
16 gb RAM ..
rx6600..


Steve Steel
Honored Contributor

Re: swapinfo output...query..

Hi

Look at
ftp://eh:spear9@hprc.external.hp.com/memory.htm

For a good explain of swapinfo

The line reserved is memeory which is held in case of a program swapping thus not available for use. It does not show up in the 44% since it is reserved

Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Hakki Aydin Ucar
Honored Contributor

Re: swapinfo output...query..

look at this address ,it is good guide:

http://docs.hp.com/en/5965-4641/ch01s09.html
Berd
Trusted Contributor

Re: swapinfo output...query..

Chindi,

Memory usage is at 21,760MB. The same amount of swap space will be reserved, to allow for swapping if required. Your defined swap space is 18,130MB. what you will find is that you are now using 3,630MB of real memory for swap reservation.

I would add further swap to stop real memory being 'eaten' up by swap reservation.

HTH

Regards,
Berd
Venkatesh BL
Honored Contributor

Re: swapinfo output...query..

Was this system under memory pressure anytime in the recent past? My guess is that some pages were moved to swap during pressure situation, and, were not moved back into RAM till now, as these pages were not referred yet by the respective (dormant) processes.
chindi
Respected Contributor

Re: swapinfo output...query..

Hi Venkatesh,

If thats d case den, how do i come out of it now ??
please guide me..
I cant reboot d server rite nw...since its in production..
Dennis Handly
Acclaimed Contributor

Re: swapinfo output...query..

>I would like to know how come my memory utilization is only 44% and still dev swap is started getting used?

This isn't important. What's important is if you are getting Page Outs from vmstat(1).
Perhaps the system used more swap in the past?

>Steve: ftp://eh:spear9@hprc.external.hp.com

This has long stopped working.

>Berd: I would add further swap to stop real memory being 'eaten' up by swap reservation.

Why? There is 27 Gb free.
chindi
Respected Contributor

Re: swapinfo output...query..

Hi Dennis,

vmstat gives the following;

root #/tmp >vmstat 2 5
procs memory page faults cpu
r b w avm free re at pi po fr de sr in sy cs us sy id
1 2 0 1456431 636587 1023 101 1 0 0 0 7 2421 63384 3779 14 7 79
1 2 0 1456431 636034 1438 73 0 0 0 0 0 2183 38361 2007 4 4 92
1 2 0 1456431 639000 1099 57 0 0 0 0 0 2020 34281 1591 16 4 80
1 2 0 1456431 638773 1132 49 0 0 0 0 0 1963 33329 1415 12 3 85
1 2 0 1456431 642138 928 59 2 0 0 0 0 1877 37371 1313 27 8 65
Dennis Handly
Acclaimed Contributor
Solution

Re: swapinfo output...query..

>If that's the case then, how do I come out of it now?

There is nothing to come out of. Why do you think you have a problems?