- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- buff cache so high
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
06-12-2003 04:21 AM
06-12-2003 04:21 AM
this machine has 1,5 GB of memory, 4 GB swap. this machine is db server (ingres) and omniback server (just patched too).
I've started glance and i've seen that the Mem Util in glance is 99%. The swap is near 50% but cpu and disk have a avg=4%. when i go in Memory report, the Buf Cache is high (714.7mb). i've just made a compare with another machine with the same characteristic and the Buf Cache is half (358,4mb).
The question is that there is something to do to lower the Buf Mem value or lower the value of used Mem and if i can do to know what it used all memory on machine. u must know that the machine have no system processes running (for example mib2 or something else). only mwa is running now.
thanks in advice
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 04:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 04:26 AM
06-12-2003 04:26 AM
Re: buff cache so high
-Bryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 04:26 AM
06-12-2003 04:26 AM
Re: buff cache so high
-Bryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 04:28 AM
06-12-2003 04:28 AM
Re: buff cache so high
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 04:40 AM
06-12-2003 04:40 AM
Re: buff cache so high
You're posting above describes an idle server with only system utilities running: 99% memory, 50% swap, 4% disk and CPU. What are the metrics when the server is busy?
Use these commands when the server is busy / loaded and paste in the results:
sar -v 5 5
sar -u 5 5
sar -d 5 5
vmstat 5 5
swapinfo -tam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 04:41 AM
06-12-2003 04:41 AM
Re: buff cache so high
Make sure the following Kernel Parameters are set to something like:
dbc_min_pct 3
dbc_max_pct 10
Regards,
Dario
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 04:42 AM
06-12-2003 04:42 AM
Re: buff cache so high
i've just compared two machines (dbc min e max) and i've seen that on the machine with high use of Mem the dbc_max_pct value is 50 (20 in the other). the dbc_min_pct is 5 (in all two machines).
so the last question is:
why put this value so high? there is a reason?
is it right if i set 10 in all two machines or i can make no change?
good work, thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 04:47 AM
06-12-2003 04:47 AM
Re: buff cache so high
The 5 and 50 values are default values that are in place when the OS is installed. These are usually much too high for a database environment.
-Bryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 04:47 AM
06-12-2003 04:47 AM
Re: buff cache so high
The default dbc_max_pct is 50. Why HP sets it that high is anyone's guess. I would say that you should always set it to 10 or less. You probably only need 200 to 400 Mb of buffer cache so aim for a percentage that will give you that amount.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 04:49 AM
06-12-2003 04:49 AM
Re: buff cache so high
The 50% setting seems to be a default that has been around for a long time. It is generally far too high, especially on modern systems with large amounts of physical memory. The appropriate value depends on lots of things.
The buffer cache allows file buffers to reside in memory so that I/O an remain memory-bound instead of proceeding physically to the disk. Too large a buffer cache may mean that the 'syncer' daemon takes a long time to run to flush modified buffers. Too small a buffer cache may mean too many physical I/O's where "logical" ones would suffice.
As with most things, the correct value for optimal performance depends on your environment. 'glance' is an excellent tool with which to monitor I/O and memory pressure. If you don't have it, you should. A trial copy is available on the Application CDROM set.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 04:54 AM
06-12-2003 04:54 AM
Re: buff cache so high
the default of 50% dbc_max_pct is quite old. Earlier the amounts of memory wasn't that massive. Also the buffercache is dynamic, so it use whatever is left after other processes had its share of memory, to buffercache. (up to dbc_max_pct that is)
Nothing wrong with that except when new processes is started, and in need for memory, it is quite some overhead involved to flush out , re-organize and shrink the buffercache when new user-memory is needed.
Actually on database servers that handles their own cache, and do synchronous i/o anayway, people tend to keep it as low as 2-5% both on dbc_min_pct and dbc_max_pct, keeping buffercache constant.
Rgds Jarle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 05:01 AM
06-12-2003 05:01 AM
Re: buff cache so high
thank u randal, thank u james, thank u dario, thanks to all.
roberto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 05:03 AM
06-12-2003 05:03 AM
Re: buff cache so high
On my production server (Oracle) we have physical memory ( 4 GB) and it is more than 90% utilized during the regular business hours, and utilization reaches 99% during peak times. Percentage of physical memory used by the system and buffer cache is 5.6%. Usually memory allocated to user code and data varies between 87% and 93%. I can see a deactivation rate (swap outs) of about 1 over a short intervals under moderate and heavy system load. We feel that we are tight on memory and could be nice to have more, but users are not complaining yet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2003 05:06 AM
06-12-2003 05:06 AM
Re: buff cache so high
Here is a nice post that talks about it. It also includes some swap information.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xa78006295e00d6118ff40090279cd0f9,00.html
Regards,
Dario