On Tue, 2005-03-01 at 12:53 -0800, Bryan Henderson wrote:
> >You want to *use* the kernel pagecache as much as you can.
> 
> No, I really don't.  Not always.  I can think of only 2 reasons to 
> maximize my use of the kernel pagecache: 1) saves me duplicating code; 2) 
> allows me to share resources (memory and disk bandwidth come to mind) with 
> others in the same Linux system fairly.  There are many cases where those 
> two benefits are outweighed by the benefits of using some other cache.  If 
> you're thinking of other benefits of using the pagecache, let's hear them.

The page cache is capable of using more ram than apps can on some
architectures. The page cache knows about numa and other topologic
issues. For IO the pagecache has highly tuned algorithms in the 2.6
kernel that throttle write out based on per spindle congestion (assuming
DM/MD raid). You can implement most of that yourself, sure. But why
duplicate and tune it for all those different systems out there if the
kernel already did that work


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to