Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Tunable Kernel Parameters: HP-UX Release 11i > d

dbc_min_pct(5)

Tunable Kernel Parameters
» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

dbc_min_pct — the minimum percentage of memory to be used by the dynamic buffer cache

VALUES

Minimum

2

Maximum

90

Default

5

Specify an integer value.

DESCRIPTION

During file-system I/O operations, data is stored in a buffer cache, the size of which can be fixed or dynamically allocated. When the parameters bufpages and nbuf are both set to their default values of 0, the size of the buffer cache grows or shrinks dynamically, depending on competing requests for system memory.

The value of dbc_min_pct specifies the minimum percentage of physical memory that is reserved for use by the dynamic buffer cache.

It is possible to set both dbc_min_pct and dbc_max_pct to the same value, 12 for example, and create a kernel that uses exactly that percentage of physical memory for the buffer cache, regardless of the size of physical memory.

Selecting an Appropriate Value

If dbc_min_pct is set to too low a value, very high demand on the buffer cache can effectively hang the system. The is also true when using fixed buffer cache. To determine a reasonable (and conservative) value for the minimum cache size in megabytes, use the following formula:

(number-of-system-processes)*(largest-file-system-block-size)/1024

To determine the value for dbc_min_pct, divide the result by the number of megabytes of physical memory installed in the computer and multiply that value by 100 to obtain the correct value in percent.

Only those processes that actively use disk I/O should be included in the calculation. All others can be excluded. Here are some examples of what processes should be included in or excluded from the calculation:

Include:

NFS daemons, text formatters such as nroff, database management applications, text editors, compilers, and so on, that access or use source and/or output files stored in one or more file systems mounted on the system.

Exclude:

X-display applications, hpterm, rlogin, login shells, system daemons, telnet or uucp connections, and so on. These processes use very little, if any, disk I/O.

Related Parameters

dbc_min_pct must be less than or equal to dbc_max_pct.

To use dynamic buffer caching, bufpages and nbuf must both be set to zero.

WARNINGS

All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX.

AUTHOR

dbc_min_pct was developed by HP.

SEE ALSO

hpterm(1), nroff(1), rlogin(1), telnet(1), uucp(1), bufpages(5), dbc_max_pct(5), nbuf(5).

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2000-2002 Hewlett-Packard Development Company, L.P.