Operating System - HP-UX
1833877 Members
1788 Online
110063 Solutions
New Discussion

Primary Swap and Crash conf

 
podichin
Advisor

Primary Swap and Crash conf

Hi Expert,

I need urs help in configuring primary swap and crash devices,

How much primary swap is required for for a 32GB server, Am planning to configure 4 GB primary swap and 50 GB secondey swap, Is this configuration is okay,

And i need to configure my savecrash location to diffrent location insted of default location /var/adm/crash,

Can anybody can suggest me how can i do this,

Is this 4 gb primary swap effect anything interms of crash dump,

Siju
3 REPLIES 3
IT_2007
Honored Contributor

Re: Primary Swap and Crash conf

Basic thumb rule is 1:1 to configure swap mens if you have 4GB memory then you need to have 4GB primary swap. Since you have 32GB memory, don't have to confiure same amount of swap. you can configure 4GB as primary and then check how much you really need to configure secondary swap using total active pages X page size.

See this link to get an idea about it.

http://docs.hp.com/en/sysdmp-62001/ch01s04.html

you can modify different directory to capture dump instead of /var/adm/crash. Make sure that you have correct size of filesystem.




IT_2007
Honored Contributor

Re: Primary Swap and Crash conf

Here is the information to decide how much swap you need.

http://www.docs.hp.com/en/B2355-90950/ch06s03.html
Bill Hassell
Honored Contributor

Re: Primary Swap and Crash conf

It all depends as far as swap space. You have a lot of RAM and unless you use all of it, 4Gb of swap is probably just fine. NOTE however that some database applications such as Oracle and SAP actually ask for 25 to 35Gb of RAM but only during installation. After install, they settle down to more normal memory requirements. In a production server, you don't a lot of swapping. 2:1 or even 1:1 swap versus RAM is unnecessary unless your apps need this much.

Your crash dump should be about 25% of your RAM size, about 8Gb or so.


Bill Hassell, sysadmin