The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > HP-UX
Google UNIX.COM


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
reduce buffer cache allocation? dehuang83 UNIX for Dummies Questions & Answers 1 05-03-2007 02:26 AM
buffer cache size gsr_kashyap Linux 0 09-06-2006 10:34 PM
Unix Cache / Buffer jimthompson SUN Solaris 1 10-26-2005 07:03 AM
vm and buffer cache vish_shan UNIX for Advanced & Expert Users 2 04-29-2002 04:15 AM
buffer cache information vish_shan Filesystems, Disks and Memory 2 04-15-2002 12:19 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-21-2005
Junior Member
 

Join Date: Mar 2005
Posts: 11
Question Buffer Cache

What is the "Buffer Cache" used for?
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 04-02-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,452
In most cases, data being transferred between disk and memory goes through the buffer cache. When your program reads a file, the system transfers a large chunck of data into the buffer cache. Then the data is copied into your program. The next read may just need a few more bytes from the same buffer. The kernel tries to predict what buffers you may need and reads them in ahead of time. Write also transfer data to the buffer cache. Some tests show that about 90% of explicit reads and writes are satisfied by the buffer cache. This helps performance a lot.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:58 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0