Operating System - HP-UX
1753531 Members
5513 Online
108795 Solutions
New Discussion юеВ

How many Share memory can bu used by 32 bit application in IA64

 
chenyu
Frequent Advisor

How many Share memory can bu used by 32 bit application in IA64

I have one 32-bit application install IA 64 11.23, now i want to know home many share memory can be used by application
2 REPLIES 2

Re: How many Share memory can bu used by 32 bit application in IA64

you mean how many shared memory segments?

that would be goverened by the kernel parameter shmseg

You can check what it is currently set to using:

kctune shmseg

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Steven E. Protter
Exalted Contributor

Re: How many Share memory can bu used by 32 bit application in IA64

Shalom,

I think you mean how much shared memory can your 32 bit application use.

kctune -l | grep shmmax

That is your current setting.

On page 234 of HP-UUX tuning and performance, the authors robert f sauers chris p eummler and peter s weygant indicate the maximum memory mapped file size is 1 GB.

The combined total for shared mapped files, all shared memory and all shared libraries without shared memory windows is 1.75 GB.

This is probably the hard limit for shmmax total on a 32 bit application.

On page 212 of the same book, the authors indicate the maximum memory available for all shared objects using SHMEM_MAGIC memory windows is 2.75 GB on PA-RISC and 3 GB on IPF.

Want more than that for a 32 bit application, you will need to store it in a file on disk or make it into a 64 bit application.

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