Unix Technical Forum

RE: SHMBASE parameter (IDS 7.31/Linux)

This is a discussion on RE: SHMBASE parameter (IDS 7.31/Linux) within the Informix forums, part of the Database Server Software category; --> Richard, If You have only 1 GB of physical RAM, both settings should be OK. The problem is when ...


Go Back   Unix Technical Forum > Database Server Software > Informix

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 08:39 PM
Alexey Sonkin
 
Posts: n/a
Default RE: SHMBASE parameter (IDS 7.31/Linux)


Richard,

If You have only 1 GB of physical RAM, both settings should be OK.

The problem is when You have 2 or 4 GB and try to allocate to Informix
as much shared memory as possible.

The problem with Linux is that, by default, it attaches shared libraries
to the process at starting address 0x40000000 (that is, 1GB).
If You want to allocate more then 1GB to Informix, You should set
SHMBASE above this value, e.g. 0x50000000 or even 0x44000000.

Linux allows to address 3GB of memory per process (upper 1 GB is reserved
for internal use). That is, You can allocate almost 2 GB of shared memory to
Informix.

The other trick is that Linux kernels 2.4.19 and higher support so-called
MAPPED_BASE feature. If You have a kernel with MAPPED_BASE, You can
relocate the address at which shared libraries are attached (for all
children
of particular shell process). In that case, You can lower SHLIB initial
address and set proper SHMBASE to allocate up to 3GB of shared memory
to Informix engine.

Best regards,
Alexey



>It's fine. SHMBASE is the initial attach address for shared memory within
>the engine. Higher is USUALLY OK and if it were going to cause a problem

it
>would have already.


>Art S. Kagel


>> Dear Informixers,
>>
>> I've been running IDS WE 7.31UD5 (3 instances) on a SuSE 7.2 Linux system
>> (Kernel 2.4.18-64GB-SMP) with 1GB physical memory without problems for
>> several years. The current configuration has been running for a year.
>>
>> During a review of my ONCONFIG parameters, I just discovered that SHMBASE

is
>> not set according to the release notes on all of my instances. Instead of
>> the standard 0x10000000L, it is set to 0x20000000 (note the absence of

the
>> "L"). Unfortunately and most embarrassingly for me, I could find no
>> documentation of why and when I made this change.
>>
>> Since everything is running smoothly, I am not too worried. Or should I

be?
>> Should I reset the parameter to the standard?
>>
>> Regards, Richard
>>

sending to informix-list
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 04:43 AM.


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