Operating System - HP-UX
1835991 Members
2459 Online
110088 Solutions
New Discussion

managing big executable on hpux 11i os

 
SOLVED
Go to solution
Shivkumar
Super Advisor

managing big executable on hpux 11i os

Dear Sirs,

If a hpux system has 16GB RAM, and let us assume that there a software which has size of 17GB, then how the operating system manages such a big executable to load ?

Thanks,
Shiv
12 REPLIES 12
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: managing big executable on hpux 11i os

That is where virtual memory comes into play. Virtual memory is comprised of physical memory + swap space. The idea is that not all of the instructions or data need to be executed or acted upon at any one moment in time. Those that aren't needed are swapped out to disk but can be relaoded from disk as needed ---- but with a speed penalty.
If it ain't broke, I can fix that.
Arunvijai_4
Honored Contributor

Re: managing big executable on hpux 11i os

Hi Shiv,

You mean to say that the executable is of 17GB?. When you try to execute this file, swap area or memory comes into play. So, your virtual memory will be 16Gb+ Swap.

Hope this is clear.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Arunvijai_4
Honored Contributor

Re: managing big executable on hpux 11i os

Hi Shiv,

Some discussions in HPUX Devtools list,

http://h21007.www2.hp.com/dspp/ml/showArchiveMessage/1,,4!00!05!0046,00.html

-Arun

"A ship in the harbor is safe, but that is not what ships are built for"
Yogeeraj_1
Honored Contributor

Re: managing big executable on hpux 11i os

hi,

Virtual Memory.

see attached lecture notes

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Steven E. Protter
Exalted Contributor

Re: managing big executable on hpux 11i os

Shalom,

Just because the software is a certain size does not mean it will use that much memory. It can use more or less.

My guess though is that it will use more, if it has any data. Thats quite a piece of software.

To a certain degree swap will help. After that a bigger memory pool may be needed. The OS uses some memory too.

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
Arunvijai_4
Honored Contributor

Re: managing big executable on hpux 11i os

Hi Yogee,

I am experiencing difficulties opening the presentation. Powerpoint 2003 is crashing while i try to open. Can you resend it ?

-Arun
P.S : Zero points please.

"A ship in the harbor is safe, but that is not what ships are built for"
Muthukumar_5
Honored Contributor

Re: managing big executable on hpux 11i os

A good reference:

http://docs.hp.com/en/32650-90421/ch03s04.html

--
Muthu
Easy to suggest when don't know about the problem!
Muthukumar_5
Honored Contributor

Re: managing big executable on hpux 11i os

IT is not meant that if you are having 17GB sized executable then we have to have 17 GB RAM. HP-UX uses mechanism of paging of virtual memory. Every page will contain 4 KB size and it is used during the execution of executable.

We can find the usage of virtual memory as,

1) vmstat
2) swapinfo -tam will give all related memory informations.

--
Muthu

Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: managing big executable on hpux 11i os

Hi Shiv,

HP-UX memory management PDF is attached,

"A ship in the harbor is safe, but that is not what ships are built for"
Arunvijai_4
Honored Contributor

Re: managing big executable on hpux 11i os

Another great HP-UX 11i memory management White paper.

http://docs.hp.com/en/1218/mem_mgt.html

Shiv, I request you to join HP DSPP to access a great amount of tutorials and Tips in HP-UX.
http://www.hp.com/go/dspp.

Make sure you register and sign up for DSPP newsletter which is a great resource every month.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Yogeeraj_1
Honored Contributor

Re: managing big executable on hpux 11i os

hi again,

attached document is in pdf format

regards
yd
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Yogeeraj_1
Honored Contributor

Re: managing big executable on hpux 11i os

hi again,

attached document is in pdf format

regards
yd
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)