- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- shmmax what should i set ?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2007 03:02 AM
03-30-2007 03:02 AM
I have 24 databases running on my rx4640 server with hpux 11i v2 IA-64 with 2 cpu's
the current shmmax set is 100000000.
One SGA size is set to 378 MB.
My system is swapping...
# swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 16000 2579 13421 16% 0 - 1 /dev/vg00/lvol2
dev 16000 2570 13430 16% 0 - 1 /dev/vg00/lvol12
reserve - 15219 -15219
memory 8180 2025 6155 25%
total 40180 22393 17787 56% - 0 -
What should i set shmmax to ?
Since im not able to run my glanceplus pack too bcoz of this..kindly let me know asap...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2007 03:24 AM
03-30-2007 03:24 AM
Re: shmmax what should i set ?
shmmax sets the max size of a single shared memory segment in the system.
Setting shmmax to a higher value perse will not cause paging. 24 database is indeed a big number for any system.
If it were me, I would work with the DBA to tune the SGA size of each of the database instance.
Also check your dbc_min_pct and dbc_max_pct. If they were at the default, they hog about 50% of the physical memory for buffering.
Sundar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2007 03:25 AM
03-30-2007 03:25 AM
Re: shmmax what should i set ?
..used to hear to just set up x% above what you need, but then it seems to me the last time I went to a Stephen Cuillo discussion he said open it up. So I did...
I like to hold just a little back, but I opened up this parm to take advantage of the memory inside.
But you should really look at all your parms and not just this one.....could be you need to tweek a couple.
Just a thought,
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2007 03:26 AM
03-30-2007 03:26 AM
Re: shmmax what should i set ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2007 03:29 AM
03-30-2007 03:29 AM
Re: shmmax what should i set ?
I think the real answer to the question that you should be asking is to add more memory and/or reduce the load.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2007 03:29 AM
03-30-2007 03:29 AM
Re: shmmax what should i set ?
dbc_max_pct 4 4 Immed
dbc_min_pct 2 2 Immed
Do i need to buy more RAM or more CPU...?
My dba says that our number of databses r going to increase in future....and each databse id using 378 MB...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2007 03:33 AM
03-30-2007 03:33 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2007 03:43 AM
03-30-2007 03:43 AM
Re: shmmax what should i set ?
:
>> each databse id using 378 MB...
512MB
You have to realize that each instance will grab those 378, no matter what size you set shmmax to, so you might as well make it as easy as possible, allowing for 1 chunk.
Is this the same system as in:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1113070
So there is 8GB physical memory?
So every bank is a DB instance?
24*378 = 9GB... without connections.
So those systems need more physical memory.
They are likeley to need more CPU horses real soon
It seems 'odd' that 378 MG SGA is 'the right size' for every DB on the box, but it is possible.
You want to work closely with your DBA to trim each SGA component down.
For example it is customary to bump the REDOLOG BUFFER from a few hundred KB in the multiple MB zone 'just in case'. But here you want to squeeze it down to say 512KB or 256KB to conserve memmory as it is unlikely to influence the final performance. Tweak down the JAVA pool and so on.
If need be, get an independent consult to help in the space between DBA and Sys Admin.
Regards,
Hein van den Heuvel ( at gmail dot com)
Hvdh Performance Consulting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2007 03:48 AM
03-30-2007 03:48 AM
Re: shmmax what should i set ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2007 04:16 AM
03-30-2007 04:16 AM
Re: shmmax what should i set ?
You really need some help in deciding the correct hardware and tunings. The answer might not even be HP-UX; it might be a herd of Linux servers; the answer could be HP-UX. I don't mean to insult you but if you aren't able to ask the right questions then how will you know the meanings of the answers? Your first task should be to sit down with your DBA's and management and determine what your future growth looks like. You then get some reliable metrics of your present configuration and then it should be possible to begin to analyze your situation. You also need to decide what your company would consider a reasonable level of performance.
An independent consultant might be a rather good idea.