8.4. File Access

8.4.1. Dynamic Buffer Cache

The use of the file system buffer cache is another important area where memory bottlenecks can be observed. The storage of pages in buffers means quicker access to the data on the second and successive reads, because they do not have to be read in again from disk or across the network. It is possible to set the size of the file system buffer cache, and the cache can be set up as either dynamic or static.

A dynamic buffer cache is enabled when the system parameters bufpages and nbuf are both set to zero; this is the default for HP-UX 10.0 and later. The buffer cache grows as the buffer page faults occur, which in turn results in pages being added. The cache shrinks as the page daemon vhand reclaims ...

Get HP-UX 11i Tuning and Performance now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.