Operating System - HP-UX
1833875 Members
1680 Online
110063 Solutions
New Discussion

Re: Increasing Virtual Memory

 
Ted McLean
Occasional Advisor

Increasing Virtual Memory

Hey,

How do I increase the virual memory on an HP/UX 11.0 machine?
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: Increasing Virtual Memory

If by virtual memory, you mean swap?

Based on my assumpton of your experience. I would recommend sam.

sam
disks and filesystems
swap

actions add filsystem swap (you can do device,its faster, but requires more sysadmin skills)

Pick a nice filesystem with plenty of free space.

Follow the prompts.

Your system will boot at the end, this is unavoidable.

Total Swap/virtual memory should not exceed two times ram except in certain emergencies.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Michael Tully
Honored Contributor

Re: Increasing Virtual Memory

You can swap space on the fly. Be careful where... As swap like anything else should be balanced. Aviod placing it on the same LUN as used for primary swap. Once you have a LUN pointed out.

lvcreate -n swap1 /dev/myvg
lvextend -L /dev/myvg
swapon /dev/myvg/swap1

update the /etc/fstab file with an entry like this.

/dev/myvg/swap1 ... swap pri=1 0 0

Or SAM can aslo help, keeping in my the balacing act above.
Anyone for a Mutiny ?
Nick Zraika
Frequent Advisor

Re: Increasing Virtual Memory

Bare in mind whislt swap can be added on the fly taking it off requires an outage.

i.e to remove you will need to uncomment the entry from /etc/fstab and reboot.

Nick
'Everything is do-able'