Operating System - HP-UX
1837613 Members
2959 Online
110117 Solutions
New Discussion

How can I decrease the pseudo-swap size on K380

 
Gumeni
Contributor

How can I decrease the pseudo-swap size on K380

I want to decrease the pseudo-swap size from 3/4 of system memory to 2/4 of sytem memory. I have only 512MB system memory and I want to extend the available memory to at least 2/4 of system memory.
I don't want to disable the pseudo-swap.

Thank you.
3 REPLIES 3
Andreas Voss
Honored Contributor

Re: How can I decrease the pseudo-swap size on K380

Hi,

if i'm right you can reduce the max value for the buffer cache with the kernel parameter:
dbc_max_pct
This parameter defines the max percent of the memory used for buffer cache.

Regards
CHRIS_ANORUO
Honored Contributor

Re: How can I decrease the pseudo-swap size on K380

The only way is to disable the swapmem_on by setting it to zero.
The pseudo swapping as it is has add 3/4 of your systems 512MB of Phy mem. It is an enhancement and not a deterrant. I will advise that you leave it on. It is a memory boost for you!
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
John Palmer
Honored Contributor

Re: How can I decrease the pseudo-swap size on K380

Hi,

As Chris said, you can't. Pseudo swap is either ON (recommended) or OFF.

When on however it doesn't mean that up to 75% of your memory is used as swap space. It means that up to 75% of your memory that would have required swap space on disk doesn't require it.

Pseudo swap is purely a means of reducing your requirement for device (disk) swap space.

Regards,
John