General
cancel
Showing results for 
Search instead for 
Did you mean: 

How to increate swap in HP-UX according to requirment

SOLVED
Go to solution
Zishan
Regular Advisor

How to increate swap in HP-UX according to requirment

Hi All,
I am trying to install 11g database on hp-ux. For this I need swap space = 1.5 time of RAM. I have 8 GB Ram on my server. Currently I have 4069 MB swap available. I tried to increase by using SAM but I have only 1 drive /u01 where I have 70 GB available.
My question is :
If I use swap from /u01 is there any performance degradation beacausey my database is installed on the same drive /u01.

Any help would be appreciated.
Regards,
9 REPLIES
Michal Kapalka (mikap)
Honored Contributor

Re: How to increate swap in HP-UX according to requirment

hi,

i would recommend to use Ignite (tape/server),

and them use recovery ==> advanced mode, and them you will be able to resize the swap space.

if you use the swap space from /u01, you could have a performance problem.

mikap
Zishan
Regular Advisor

Re: How to increate swap in HP-UX according to requirment

Hi Micheal,
When I m trying to start "ignite" by type #ignite Following message arise.
Any idea why >

Failed to update the client's ability to write to the server. The
command "/opt/ignite/lbin/setup_server -n" failed. See
/var/opt/ignite/logs/ignite for details.

Regards,
Jeeshan
Honored Contributor

Re: How to increate swap in HP-UX according to requirment

Dennis Handly
Acclaimed Contributor

Re: How to increate swap in HP-UX according to requirment

>For this I need swap space = 1.5 time of RAM.

You already have swap space 1.5 times RAM. You have a total of 12 Gb. What does "swapinfo -tam" show?
Kapil Jha
Honored Contributor

Re: How to increate swap in HP-UX according to requirment

Is this free or installed swap
Currently I have 4069 MB swap available

you can always make a new LV where you have free space and can use it as swap.
procedure in
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1267208

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Zishan
Regular Advisor

Re: How to increate swap in HP-UX according to requirment

Hi Dennis,
The output is following:

# swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 0 4096 0% 0 - 1 /dev/vg00/lvol2
reserve - 244 -244
memory 16372 2110 14262 13%
total 20468 2354 18114 12% - 0 -
#

Oracle Installer will start when I have 12279MB swap available on my system.
Any help would be appreciated.

Regads,
Regards,
Kapil Jha
Honored Contributor
Solution

Re: How to increate swap in HP-UX according to requirment

seems you have 16G of physical RAM and 4G of swap.So you have 20G of memory out of which 18G is available.
And oracle wants to 12G of swap so I suppose you need 12+12=24G of available memory and you are running 6G short.
You may have to increase swap.
Its very less 4G as compared to 16G memory.

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Prabhat_1
Occasional Advisor

Re: How to increate swap in HP-UX according to requirment

There is no harm and you can use that. Ideally there should not be a performance degradation.

Its recommended to have atleast swap equal to your Ram and 1.5 time is better.

So whatever physical memore you have add the swap to make it 1.5 times of the physical memory.

THanks and regards,
Prabhat
Dennis Handly
Acclaimed Contributor

Re: How to increate swap in HP-UX according to requirment

>Prabhat: It's recommended to have at least swap equal to your RAM and 1.5 times is better.

This formula is outdated and doesn't apply for very large memory systems.