[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Limiting Disck Cache



On Thursday 16 December 2004 4:35 pm, Ivan Garcia wrote:
>  --- Nate Duehr <nate@natetech.com> escribió: 
>
> > Uggh... I ran into that when experimenting with
> > UML's.  Good lord, it 
> > hurt performance badly.
> Does it mean that it's posible?
> 
> So how does it work?

Again, unless you have a very specific need to turn it off, like 
experimenting with UMLs, you *don't* want to turn it off.  You *will* 
experience a nasty performance hit.  Cache and buffers do go away if 
you're actually using the RAM; only what hasn't been used in a long 
time gets swapped to disk.  Even with 128MB of RAM, you'll lose 
performance by disabling cache.

Remember, your RAM accesses faster than your hard drive, all cache does 
is hold on to the most recently used data in the part of RAM that isn't 
being used for anything else at the moment.  Cache is a very, very Good 
Thing.

-- 
Paul Johnson
baloo@ursine.dyndns.org
http://ursine.dyndns.org/~baloo/

Attachment: pgphw9VU0rete.pgp
Description: PGP signature


Reply to: