Unix Technical Forum

Do I need to be RESIDENT

This is a discussion on Do I need to be RESIDENT within the Informix forums, part of the Database Server Software category; --> We currently have RESIDENT set to -1, if I increase BUFFERS above 2M I get the message 07:55:17 Informix ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 09:01 AM
Colin Dawson
 
Posts: n/a
Default Do I need to be RESIDENT




We currently have RESIDENT set to -1, if I increase BUFFERS above 2M I get
the message

07:55:17 Informix Dynamic Server Stopped.
07:56:49 mt_shm_init: can't create resident segment

When I change RESIDENT to 0, I can increase the buffers to whatever I want.
I know why I'm getting this error, that is not the reason for this posting.
What I'm looking for is an informed opinion of why set RESIDENT to -1 in the
first place, Is there a real benefit or only a percieved one?





Regards

Colin Dawson


sending to informix-list
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-20-2008, 09:01 AM
Michael Mueller
 
Posts: n/a
Default Re: Do I need to be RESIDENT

What platform are you on?

Making memory resident that is not paged out anyway may not make sense.
But on Solaris the "RESIDENT -1" setting has a second effect: It creates
shared memory with a page size of 4 MB instead of 8k pages (using the
SHM_SHARE_MMU flag of shmat()). This speeds up physical to virtual page
translation in the cpu and has a performance benefit on large systems.

Michael

Colin Dawson wrote:
> We currently have RESIDENT set to -1, if I increase BUFFERS above 2M I get
> the message
>
> 07:55:17 Informix Dynamic Server Stopped.
> 07:56:49 mt_shm_init: can't create resident segment
>
> When I change RESIDENT to 0, I can increase the buffers to whatever I want.
> I know why I'm getting this error, that is not the reason for this posting.
> What I'm looking for is an informed opinion of why set RESIDENT to -1 in the
> first place, Is there a real benefit or only a percieved one?
>
>
>
>
>
> Regards
>
> Colin Dawson
>
>
> 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 08:49 AM.


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