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

Re: Can you do hard drive caching? How?



Mark Phillips wrote:
> How does it know how much memory is to be used for caching?  Can you set
> this?  (I presume the caching software is part of the kernel.)

The kernel likes to use a certian percentage of yuor memory for cache, if
it's free. It's tunable by writing to /proc/sys/vm/freepages
(/usr/src/linux/Documentation/sysctl/vm.txt for docs).

-- 
see shy jo


Reply to: