- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HP-UX memory issue
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
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
04-25-2005 07:43 PM
04-25-2005 07:43 PM
After monitoring our HP server, HP 5470 running HP-UX, I found that my server is using very high memory. Since its a DB server, ideally most of the memory should be used by the oracle process. We found that the "buffer_cache" is about 50% of the memory. We found that kernel parameter "dbc_max_pct" is set to 50. Please advice me whether or not we should reduce this?.. Is there a undesirable side effects to reducing this parameter?
thanks in advance,
Suresh
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2005 07:47 PM
04-25-2005 07:47 PM
SolutionThe recommendation is to have set the dynamic buffer cache to around 300-400 MB on your server.
by default it is 50% of your memory,which is spared for your buffer cache.
When you reduce this you can use the freed up percentage to improve the memory performance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2005 07:48 PM
04-25-2005 07:48 PM
Re: HP-UX memory issue
#sar -b 5 30
Which UX version are you using? When you mentioned it was using high memory, which is it? Usr or sys? Which Oracle DB version do you have installed on this server?
Regards,
Isralyn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2005 07:55 PM
04-25-2005 07:55 PM
Re: HP-UX memory issue
dbc_max_pct 7
dbc_min_pct 5
Reasoning:
1) Double buffering Oracle db does nothing to help performance
2) Its very expensive in terms of CPU terms to change the values on a system. When the change is occuring, there isn't much else the system can do.
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
04-25-2005 08:19 PM
04-25-2005 08:19 PM
Re: HP-UX memory issue
As SEP said you should be buffering just on Oracle side with a confortable db_block_buffers (something like 3000). Also avoid very large log_checkpoint_interval...
Best Regards,
Eric Antunes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2005 08:24 PM
04-25-2005 08:24 PM
Re: HP-UX memory issue
You can set the dbc_max_pct to 15 and dbc_max_pct to 5
This will certainly give you the result.
regards,
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2005 08:29 PM
04-25-2005 08:29 PM
Re: HP-UX memory issue
As per your request, I am attaching the sar report
I really thankfull for the fast reponses I got.
Thanks
Suresh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2005 09:11 PM
04-25-2005 09:11 PM
Re: HP-UX memory issue
setting buffer cache to 500 would be ideal.
also check ur shmmax value..this shuld not be very high on a low memory system
Thanks
Sreejith M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 12:57 AM
04-26-2005 12:57 AM
Re: HP-UX memory issue
convosync=direct,mincache=direct as well as rw,suid,largefiles,delaylog,datainlog
NOTE: that is only for database files! Any commands like tar, awk...etc will suffer a performance hit - because that will bypass the OS buffer cache.
Depending on how you back up the database - you could suffer there as well....
Main thing for you is - to decrease dbc_max_pct - depending on how much ram you have...
2GB - try 25%
4GB - 14%
10GB - 7%
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 04:08 AM
04-26-2005 04:08 AM
Re: HP-UX memory issue
I also would suggest that you can not set to a fix value on all systems. Just set it according to the physical memory available in your system.
Generally dbc_min_pct should be 5 & dbc_max_pct should be 8 if your system has sufficient memory. But calculation of your sufficient memory is done having look at your application requirements.
50% is too much in any sense and we should always reduce it.
Apart from the parameters what Geoff suggested you can try be using read_nstream=1 ,write_nstream=1. This will surely help if sequentional reads are not very high.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2005 08:29 PM
05-05-2005 08:29 PM
Re: HP-UX memory issue
Here's an excerpt from the intro to perf tuning that I've attached here:
Ideally we want to see a %wcache of 95 or greater. If the system consistenly shows %wcache less than 75 it would be advisable to lower the value of dbc_max_pct.
As it is your case, you might want to consider lowering both values of dbc_max_pct and dbc_min_pct.
Regards,
Isralyn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2005 09:24 PM
05-05-2005 09:24 PM
Re: HP-UX memory issue
When setting your nbuf and bufpages to zero
and by setting dbc_min and max to a lower percentage, you will make use of Dynamic buffer cache.
Depends on the amount of physical memory and your applications..
dbc_max_pct Max dynamic buffer cache between 3 and 10 % of memory
dbc_min_pct Min dynamic buffer cache between 2 and 5% of memory
See the following Best practices document
http://h21007.www2.hp.com/dspp/files/unprotected/database/HP3KOracle.ppt
GoodLuck
Darrel