Operating System - HP-UX
1834101 Members
2917 Online
110063 Solutions
New Discussion

Re: maxswapchunks default

 
lastgreatone
Regular Advisor

maxswapchunks default

An l-class 11/64 server has been upgraded to 1.5GB of RAM. The maxswapchunks default is 1024. Should I increase this parameter before changing the swap from 896MB to 1GB? And can I use SAM to change the swap size? There is a secondary swap on an alternate disk set to pri 1 at 896MB, as well.
3 REPLIES 3
Steven Sim Kok Leong
Honored Contributor

Re: maxswapchunks default

Hi,

Each swapchunk is 2 MB. Thus, you should set your maxswapchunks to at least 896 since your total swap is (896 * 2).

Since you have 1.5 GB memory, it is advisable that you set it to a higher value. If you foresee swap to be increased to say 3 GB (2 * total memory), then you should increase the maxswapchunks parameter to 1536.

Hope this helps. Regards.

Steven Sim Kok Leong
Steven Sim Kok Leong
Honored Contributor

Re: maxswapchunks default

Hi,

To answer your question directly, as long as you are not expanding to a swap space of > 2 GB (2048 MB), then there is no need to increase maxswapchunks to higher than 1024.

Hope this helps. Regards.

Steven Sim Kok Leong
Sanjay_6
Honored Contributor

Re: maxswapchunks default

Hi Frankie,

Here is some detail on the "maxswapchunks" parameter,

http://docs.hp.com//hpux/onlinedocs/os/KCparam.MaxSwapChunks.html

Hope this helps.

regds