- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NBUF and BUFPAGES
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
01-31-2003 07:58 AM
01-31-2003 07:58 AM
NBUF and BUFPAGES
My server is set up like this
#model 9000/800/V2250
# uname -a
HP-UX rgmtl01 B.11.00 U 9000/800 76288 unlimited-user license
# cat /var/adm/syslog/syslog.log |grep -i Phys
Jan 31 02:04:29 rgmtl01 vmunix: physical page size = 4096 bytes, logical page size = 4096 bytes
Jan 31 02:04:29 rgmtl01 vmunix: Physical: 8384512 Kbytes, lockable: 6471460 Kbytes, available: 7432684 Kbytes
# swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 2097152 0 2097152 0% 0 - 1 /dev/vg00/lvol2
dev 8384512 0 8384512 0% 0 - 1 /dev/vg00/lvol9
reserve - 4778600 -4778600
memory 6486124 3923628 2562496 60%
# sysdef |grep -i buf
bufpages 209612 - 0- Pages -
nbuf 105504 - 0- -
ndilbuffers 30 - 1- -
I was just wondering if changing NBUF and BUFPAGES Kernel parameter could better the situation if 'TWEAKED'. Take in consideration the above Kernel Parameters.
Note that this server has a fair few instancies of Oracle.
NBUF
Minimum = 0 or 16
Maximum = Memory limited
Default = 0
BUFPAGES
Minimum = 0 or 6 (Nbuf*2 or 64 pages)
Maximum = Memory limited
Default = 0
If you have any pointers let me know as I am about as far as I can go on this one.
Cheers Rich
Want some Points then help me
See ya!!!!!!!!!!!!!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2003 08:05 AM
01-31-2003 08:05 AM
Re: NBUF and BUFPAGES
What are your values for 'dbc_min_pct' and 'dbc_max_pct'? Also what indicators do you have of Buffer Cache maxing out?
Also, an 'ipcs -ma' should show all the SGAs of Oracle - can you attach the results pse?
Thanks, Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2003 08:08 AM
01-31-2003 08:08 AM
Re: NBUF and BUFPAGES
Are you sure it is not already set ?
kmtune |grep dbc
You may bee looking at nbuf and bufpages as they are being set by the dynamic buffer settings. If the percentage is too high you will run into buffer management issues. "surging system " effect.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2003 08:11 AM
01-31-2003 08:11 AM
Re: NBUF and BUFPAGES
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2003 08:12 AM
01-31-2003 08:12 AM
Re: NBUF and BUFPAGES
do not use sysdef to check bufpage settings, it shows actual use i believe
Dynamic buffer caching has always wokred well for me
in sam or run manually against the kernel
set nbuf and buffpages to 0 (thus enabling dynamic buffering) then set your dbc_min to 5% dbc_max to 10%
increase these settings as need ..with 8 gb memory i'd use 5-10% for the min and 10-15% for the max but with the amount of dev sway you already have i'd stick with the lower end
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2003 08:13 AM
01-31-2003 08:13 AM
Re: NBUF and BUFPAGES
do not use sysdef to check bufpage settings, it shows actual use i believe
Dynamic buffer caching has always wokred well for me
in sam or run manually against the kernel
set nbuf and buffpages to 0 (thus enabling dynamic buffering) then set your dbc_min to 5% dbc_max to 10%
increase these settings as need ..with 8 gb memory i'd use 5-10% for the min and 10-15% for the max but with the amount of dev swap you already have i'd stick with the lower end
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2003 08:13 AM
01-31-2003 08:13 AM
Re: NBUF and BUFPAGES
In general, I would not recommend a buffer cache larger than say 400MB for an 11.00 system. Things may get inefficient for larger configurations. 11.11 scales better here (BTW, your V-Class may benefit from 11.11 anyway).
I would not recommend to tune nbuf or bufpages either. Leave them at the default (0), instead use dbc_min_pct and dbc_msx_pct. My 1st shot would would be dbc_min_pct=2, dbc_max_pct=5.
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2003 08:39 AM
01-31-2003 08:39 AM
Re: NBUF and BUFPAGES
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2003 08:56 AM
01-31-2003 08:56 AM
Re: NBUF and BUFPAGES
Well you have plenty of memory. I count 3.3GB allocated to Oracle SGAs.
Does 'sar -u 2 20' show a high value for %wio?
If you have memory free, look at the possiblity of expanding the SGAs to get Oracle to perform a little more internal buffering, rather than putting the load on HP-UX.
(I got asked this in a job interview, and got the answer right).
Q: Where does 80% of the return on performance tuning come from in Oracle?
A: Tuning SQL Statements.
Share and Enjoy! Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2003 09:16 AM
01-31-2003 09:16 AM
Re: NBUF and BUFPAGES
Write IO is AV 5 % nothing.
So I will expand the SGA. Once I find out what an SGA is. Presumably thats a DBA job and a DBASE vairiable or something.
You dont need to go into it it if I am correct, I will just tell the DBA's to
"Expand the SGA's"
Is it to do with the allocation to Semiphores in memory or am I completely wrong.
Rich
Anyway thanks for your help and I will assign TOP MARKS "POINTS"
Rich
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2003 10:57 AM
01-31-2003 10:57 AM
Re: NBUF and BUFPAGES
Make user you leave enough for user processes and each of the Oracle instances. Each instance also uses up a fair amount of mem like 200MB each in addition to each SGA..
Leave a GB or so for HPUX, users, and Oracle else you will end up swapping/deactivating and cause yourself another world of hurt.
There is some SGA tuning that can be done as well by allocating pieces of the SGA for the different Oracle buffers..
Oracle Enterprise manager is a great help in identifying where resources are needed for Oracle.
Luck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2003 02:54 AM
02-03-2003 02:54 AM
Re: NBUF and BUFPAGES
Rich
You all have 10 points
Bye for now.