Buffer cache ON/OFF for file system in HP UX:How to ??

Why buffer cache ?

Buffer cache stores recently read data in memory to help reduce the amount of I/O to physical disks.  This is advantageous when the same data is accessed many times as the data can be served directly from memory.

How to Turn ON /OFF ?

File systems use Buffer cache by default. To stop a file system using Buffer cache the following mount options are used: 

mincache=direct,convosync=direct

These options can be changed on the fly without umounting the filesystem by using the remount option to the mount command.

mount -F vxfs -o remount,<options> <fsdevice> <mount point>

To make the file system use buffer cache again, remount the file system without the mincache and convosync options.

 





Post a Comment

0 Comments