- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- System memory question.
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
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
07-09-2007 08:44 PM
07-09-2007 08:44 PM
I installed an Oracle server, rx2660, HP-UX 11.23, Oracle 10.2.
When tuning the kernel I used the recommendations from Oracle. The parameters that was changed is:
shmmax 8589934592
semmns 8192
semmni 4096
ncsize 34816
vps_ceiling 64
shmmni 512
semmnu 4092
ninode 34816
msgtql 4096
msgseg 32767
msgmni 4096
maxuprc 3687
maxssiz_64bit 1073741824
maxssiz 134217728
max_thread_proc 1024
nstrpty 60
scsi_max_qdepth 32
msgmap msgtql+2
dbc_max_pct 10
st_san_safe 1
Now it seems to me as some of these settings is not very realistic. For example, "ninode" is only relevant if using HFS filesystems. And for some of the other parameters, usage is only a few percent.
The Sys memory usage on this server is 1.9GB which seems much to me. I want to free up some memory by decreasing parameters. Which of the parameters above has most impact on the kernel size ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2007 08:59 PM
07-09-2007 08:59 PM
Re: System memory question.
For my opinion the changing of Kernel parameters /and K-size at all/ will not impact so much at memory usage. The parameters are OK.
When I do Oracle10.2-instalation, I usually
take the same parameters, "shmmax=available mem".
How much memory you have on this system? May be you could use another way to decrease mem-usage?
Regards,Stan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2007 11:02 PM
07-09-2007 11:02 PM
Re: System memory question.
Yes, I agree with the above comments. These parameters are more of a limit than actual usage, except for the dbc_max_pct - which will reserve space from memory for filesystem buffer. It may affect the size of the kernel, but am not too sure how drastically - I believe it should be fine.
The memory usage would actually depend on the parameters defined in the database - buffer, cache etc which will make the PGA (Program Global Area) and SGA (System Global Area). Also depending on the number of connections (client connections) that are connected to the database and what they are doing. And also for 10g, it asks for more memory than if you caompare to 9i or 8i.
Hope this is of some help.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2007 11:09 PM
07-09-2007 11:09 PM
SolutionI couldn't agree more.
Semmni is way too high, just use ipcs to see how many you are using. When combined with semmns, semmnu and semume the kernel memory grows unnecessarily.
http://docs.hp.com/en/7779/commonMisconfig.pdf
Same for shmmni and shmmns. These don't need to be so high.
Its probably the same for the msg parameters.
The ninode is a very common one. Set it to 5000 or 6000.
These parameters have missed off vx_ninode which means you have the default of 0 - unlimited. Thats the one you need to tune to reduce kernel memory. Set it to the ninode value that you have been given.
The other memory hog is dbc_max_pct, but you have tuned that already and I trust your judgement between DB and OS buffers because you are a salad head.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2007 11:22 PM
07-09-2007 11:22 PM
Re: System memory question.
Yes ninode seem irralvent but its a good idea for some mysterious reason to set it and vx_ninode to 90% of it. You can leave it at zero or default but you might run into troubleon that.
You can get some memory back by setting dbc_max_pct lower, but Bill Hassell once related to me that on file based oracle databases there was performance benefit from the buffer cache. This applied to 11.23 not earlier OS releases.
Don't forget to exceed Oracle minimums or Oracle will get quite cranky.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2007 07:40 PM
07-10-2007 07:40 PM
Re: System memory question.
Very interesting document. I changed back the ninode, sem- and msg- parameters to default and set vx_ninode to 20000, static cache.
The sys memory went down from 1.9GB to 950MB !
I have not yet seen any negative impact, the number of active vx_ninodes is 1200-1500.