- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How te reduce buffer cache ??
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
12-11-2002 06:42 AM
12-11-2002 06:42 AM
I've an HP-UX N4000 system with 4 GB RAM.
When i display informations about memory (by glance) i've this :
Total VM : 92.6mb Sys Mem : 206.3mb User Mem: 744.3mb Phys Mem: 4.00gb
Active VM: 58.2mb Buf Cache: 2.00gb Free Mem: 1.07gb
The Buf cache is fixed at 2 gb.
Is it possibile to reduce it? how?
Is there any doc to manage memery parameters ??
Regards
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 06:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 06:51 AM
12-11-2002 06:51 AM
Re: How te reduce buffer cache ??
bufpages interacts with XYX as follows:
* bufpages = 0, nbuf = 0: Enables dynamic buffer cache.
* bufpages not zero, nbuf = zero: Creates bufpages/2 buffer
headers and allocates (bufpages x4 Kbytes) of buffer pool
space at system boot time.
* bufpages = 0, nbuf not zero: Allocates nbuf*2 pages of buffer
pool space and creates nbuf headers at boot time..
* bufpages not 0, nbuf not zero: Allocates bufpages pages of
buffer pool space and creates nbuf buffer headers at boot time.
If the two values conflict such that it is impossible to configure a
system using both of them, bufpages takes precedence.
bufpages controls how much actual memory is allocated to the buffer
pool. See nbuf.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 06:51 AM
12-11-2002 06:51 AM
Re: How te reduce buffer cache ??
change the kernel param of :
dbc_max_pct to 10 .
the default param is 50 is it is a lot .
if your server is a nfs server reduce it to 20
but 50 it is too much .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 06:51 AM
12-11-2002 06:51 AM
Re: How te reduce buffer cache ??
It is possible to reduce the limit, you can go for two seperate options, I am afraid it requiers a reboot:
the dbc_max_pct/dbc_min_pct option with is dynamic. can be set
and with bufpages:
check out:
http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparams.OverviewAll.html
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 06:52 AM
12-11-2002 06:52 AM
Re: How te reduce buffer cache ??
If bufpages is zero at system boot time, the system allocates two
pages for every buffer header defined by nbuf. If bufpages and
nbuf are both zero, the system enables dynamic buffer cache
allocation and allocates a percentage of available memory not less
than dbc_min_pct nor more than dbc_max_pct , depending on
system needs at any given time.
The maximum amount of memory that can be allocated to the buffer
pool is also affected by the amount of memory allocated to the system
for other purposes. Thus, modifying parameters that affect system
memory may also affect the maximum amount of memory can be
made available to the buffer pool.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 06:56 AM
12-11-2002 06:56 AM
Re: How te reduce buffer cache ??
nbuf interacts with bufpages as follows:
bufpages = 0, nbuf = 0: Enables dynamic buffer cache. [dbc_min_pct and dbc_max_pct]
bufpages not zero, nbuf = zero: Creates BufPages/2 buffer headers and allocates bufpages times 4 Kbytes of buffer pool space at system boot time.
bufpages = 0, nbuf not zero: Allocates Nbuf*2 pages of buffer pool space and creates Nbuf headers at boot time..
bufpages not zero, nbuf not zero: Allocates BufPages pages of buffer pool space and creates Nbuf buffer headers at boot time. If the two values conflict such that it is impossible to configure a system using both of them, bufpages takes precedence.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 07:02 AM
12-11-2002 07:02 AM
Re: How te reduce buffer cache ??
Try looking at nbuf and bufpages kernel parameters. Go to SAM/Kernel Configuration/Configurable Parameters. Both values on my system are set to 0. This allocates 10% of available memory.
Tom