1833875 Members
1618 Online
110063 Solutions
New Discussion

Pseudo-swap in 11.31

 
SAM_24
Frequent Advisor

Pseudo-swap in 11.31

Hi,

This is the output from swapinfo.

# swapinfo -tma
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 8192 0 8192 0% 0 - 1 /dev/vg00/swap
dev 6016 560 5456 9% 0 - 0 /dev/vg00/swap2
reserve - 370 -370
memory 1943 1571 372 81%
total 16151 2501 13650 15% - 0 -

Can somebody tell why system uses 81% of memory as pseudo-swap and please explain how it works in 11.31?

Currently I don't have any performance problem on the system. But I am confused about memory usage.

Thanks.
Never quit
4 REPLIES 4
Michal Kapalka (mikap)
Honored Contributor

Re: Pseudo-swap in 11.31

chris huys_4
Honored Contributor

Re: Pseudo-swap in 11.31

Hi,

There is plenty of device swap, 8192 + 6016 = around 14Gbyte, defined.

User processes, take 370 + 560 = around 1 Gbyte, of reserved/allocated swapspace.

The system has 2 gbyte of physical ram.
1571 Mbyte of that 2Gbyte is used by the HP-UX kernel + filecache_min, this is why 81% of pseudo-swap is used, the "hp-ux kernel + filecache_min" took it away before pseudo-swap could "take it", 372 is what is used "by the difference of filecache_max-filecache_min and the userprocesses".

Probably the system is just not swapping at the moment, but it did in the past, the vhand process should still be pretty high in the top output, vmstat 1 100, to check for current pi/po values, and the available memory of the system is probably very close to 0, "watch" the free value, in the vmstat output.

Greetz,
Chris
PS. 2 gigabyte of physical ram on hp-ux 11.31, is good for a testsystem that doesnt tests application that dont use to much memory, or a application that doesnt care about performance..
Dennis Handly
Acclaimed Contributor

Re: Pseudo-swap in 11.31

>Can somebody tell why system uses 81% of memory as pseudo-swap and please explain how it works in 11.31?

This could be used in the filecache. What are are the values of filecache_max(5) & filecache_min(5)?
Chandrahasa s
Valued Contributor

Re: Pseudo-swap in 11.31

Hi,

For your information

your /dev/vg00/swap have priority 1

and /dev/vg00/swap2 have priority 0

Its always recommanded to keep swap space priority same.

Chandra