1831645 Members
2527 Online
110029 Solutions
New Discussion

Shared memory segments

 
SOLVED
Go to solution
Unix Team
Advisor

Shared memory segments

We are in the process of migrating an app from HP to AIX and the following question came up. We are comparing 32bit AIX5.2 to 32bit HPUX 11i

AIX has a limit of 11 shared memory segments per process, do we know how many does HP have?, just to sense comparison versus the prior environment?
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Shared memory segments

That is a tunable (shmseg) under HP-UX and the default (off the top of my head) is 120 but can be increased upto shmmni (the system-wide number of shm segments) and shmmni is also tunable.
If it ain't broke, I can fix that.
James R. Ferguson
Acclaimed Contributor

Re: Shared memory segments

Hi:

In comparison to AIX, HP-UX has a plethora of kernel tunables. In my opinion, this is a great benefit.

http://docs.hp.com/en/TKP-90202/index.html

If you want to see your current configuration's settings do:

# kmtune -l

Regards!

...JRF...