- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Buffer cache & 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
11-17-2003 08:34 PM
11-17-2003 08:34 PM
Buffer cache & bufpages
I set bufpages and nbuf equal to zero on my
HPUX 11.0 system.
I want to use dinamyc buffer cache with two
parameters dbc_max_pct & dbc_min_pct.
On my system I have 4GB of Ram and max_pct=50
and min_pct=5.
SAM shows to me bufpages=0
Kmtune shows to me bufpages=(NBUF*2) according
to the file /usr/conf/master.d/core-hpux
Kmtune shows to me nbuf=0
If I tried to check this value with adb I found
different value. Why?
Output of:
echo bufpages/D |adb -k /stand/vmunix /dev/kmem
shows bufpages=523776 and nbuf=524748
also sysdef shows the same situation, but
is an obsolete tool for HPUX 11.0
Could you help me to understand this behaviour.
Thanks Davide
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2003 08:40 PM
11-17-2003 08:40 PM
Re: Buffer cache & bufpages
http://docs.hp.com/cgi-bin/otsearch/getfile?id=/hpux/onlinedocs/939/KCParms/KCparam.Nbuf.html&searchterms=nbuf&queryid=20031118-023700
There is a relationship between nbuf, bufpages and dbc_mac/min_pct
Normal procedure is to leave nbuf=0 in /stand/system, bufpages=(NBUF*2) and let dbc_max_pct and dbc_min_pct control buffer size. Normally buffer cache should only be a max size of around 400MB so set dbc_mac_pct accordingly depending on your physical ram size.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2003 08:49 PM
11-17-2003 08:49 PM
Re: Buffer cache & bufpages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2003 09:06 PM
11-17-2003 09:06 PM
Re: Buffer cache & bufpages
I know perfectly the metod to set these
parameters. My question is regarding
the diffrent output from kmtune and adb or
sysdef.
On my system bufpages is equal to zero
(NBUF*2) nbuf is equal to zero.
Why adb shows bufpage equal to 523776 and
nbuf equal to 524748?
Thanks
Davide
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2003 09:17 PM
11-17-2003 09:17 PM
Re: Buffer cache & bufpages
bufpages shows the current size of the buffer cache - as controlled by dbc_max and dbc_min_pct (if set to 0 in the system file). You can see it go up and down, ie. boot your server, adb will show bufpages nice and low, and it will slowly grow to the dbc_max_pct size (ie. RAM=4096, dbc_mac_pct = 10%, bufpages=104857 *4= 429MB). nbuf is similar, but im not sure of the relationship size wise to bufpages in this case.