Unix Technical Forum

extended shared memory

This is a discussion on extended shared memory within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hi, I do have a problem running my app cause it needs more than 11 shared memory segments, therefore ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-04-2008, 08:01 PM
aixtest
 
Posts: n/a
Default extended shared memory

Hi,

I do have a problem running my app cause it needs more than 11 shared
memory segments, therefore I've set the env EXTSHM=ON according to the
man shmat with no effect. Anyone a suggestion what might be wrong.

regards

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-04-2008, 08:02 PM
Jason Mather
 
Posts: n/a
Default Re: extended shared memory

aixtest wrote:
> Hi,
>
> I do have a problem running my app cause it needs more than 11 shared
> memory segments, therefore I've set the env EXTSHM=ON according to the
> man shmat with no effect. Anyone a suggestion what might be wrong.
>
> regards
>


Just a suggestion.

Including what call is failing, what parameters you are passing to it
and what error you are getting would make your post much more lively
and interesting.

-- Jason

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-04-2008, 08:02 PM
Gary R. Hook
 
Posts: n/a
Default Re: extended shared memory

aixtest wrote:
> Hi,
>
> I do have a problem running my app cause it needs more than 11 shared
> memory segments, therefore I've set the env EXTSHM=ON according to the
> man shmat with no effect. Anyone a suggestion what might be wrong.
>
> regards
>

EXTSHM, AFAIK, doesn't give you more segments. It allows more
attaches to succeed, packing the shared memory regions/etc into
the available space. If you're working with 11 256 MB segments,
you've taken up all the space available.

On AIX 5.2, you can try using the DSA feature to free up segments
13 and 15, but you are still limited to the size of the 32-bit
address space, which allows 3.25 GB of shared memory regions.
No more. (Read up on LDR_CNTRL=MAXDATA=xxxxxxxx/DSA for more
info.

--
Gary R. Hook / AIX PartnerWorld for Developers / These opinions are MINE
__________________________________________________ ______________________

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-04-2008, 08:54 PM
Andrew Werden
 
Posts: n/a
Default Re: extended shared memory

set SHMLBA_EXTSHM=1024 or some other value > 11

"Gary R. Hook" <nospam@nospammers.net> wrote in message
news:v9vWa.11891$z52.3596@newssvr22.news.prodigy.c om...
> aixtest wrote:
> > Hi,
> >
> > I do have a problem running my app cause it needs more than 11 shared
> > memory segments, therefore I've set the env EXTSHM=ON according to the
> > man shmat with no effect. Anyone a suggestion what might be wrong.
> >
> > regards
> >

> EXTSHM, AFAIK, doesn't give you more segments. It allows more
> attaches to succeed, packing the shared memory regions/etc into
> the available space. If you're working with 11 256 MB segments,
> you've taken up all the space available.
>
> On AIX 5.2, you can try using the DSA feature to free up segments
> 13 and 15, but you are still limited to the size of the 32-bit
> address space, which allows 3.25 GB of shared memory regions.
> No more. (Read up on LDR_CNTRL=MAXDATA=xxxxxxxx/DSA for more
> info.
>
> --
> Gary R. Hook / AIX PartnerWorld for Developers / These opinions are MINE
> __________________________________________________ ______________________
>



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 08:00 AM.


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