Unix Technical Forum

what is the biggest shared memory segment on HP-UX 64-bit?

This is a discussion on what is the biggest shared memory segment on HP-UX 64-bit? within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> what is the biggest shared memory segment on HP-UX 64-bit? I need allocate one single segmen. And maybe you ...


Go Back   Unix Technical Forum > Unix Operating Systems > HP-UX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-17-2008, 05:33 AM
Petronenko Denis
 
Posts: n/a
Default what is the biggest shared memory segment on HP-UX 64-bit?

what is the biggest shared memory segment on HP-UX 64-bit? I need
allocate one single segmen. And maybe you have information about AIX
servers too.

Thanks.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-17-2008, 05:33 AM
Don Morris
 
Posts: n/a
Default Re: what is the biggest shared memory segment on HP-UX 64-bit?

Petronenko Denis wrote:
> what is the biggest shared memory segment on HP-UX 64-bit? I need
> allocate one single segmen. And maybe you have information about AIX
> servers too.


The kernel tunable shmmax determines the absolute bound (there are
address space layout limitations, but on PA-RISC the shmmax tunable
is bounded by the 64-bit address space limit, and on IPF it is well
below that limit).

http://docs.hp.com/en/B2355-60127/shmmax.5.html for the 11.11 man
page, if you're on 11.23 just do "man shmmax" - the man pages were
shipped with that release.

That's the theoretical bound, mind you.

In practice, you're obviously bounded by the available shared
address space (this is the global 32-bit / 64-bit shared
quadrant (top 1Gb of the 4Gb address space) plus the 64-bit
only shared areas, and you must have sufficient swap space
to cover the virtual address space [just like any other
virtual object on HP-UX]. Those limitations usually kick in
before high values of shmmax. (shmget will return ENOMEM if
the problem is being out of resources, EINVAL if you're
violating the shmmax bounds.. man shmget for full details).

AIX I believe has a similar tunable, don't know what other
restrictions might come into play.

Don
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:46 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com