Re: Reducing inode cache usage on 2.4?
From: Andrea Arcangeli
Date: Tue Dec 21 2004 - 09:42:34 EST
On Tue, Dec 21, 2004 at 01:59:06PM +0000, James Pearson wrote:
> I've changed the value of vm_mapped_ratio to 20 - which has a default
> value of 100 - I guess you're talking about vm_cache_scan_ratio?
yes, I was talking about vm_cache_scan_ratio, you can combine the two
sysctl together just fine.
> I've tried changing just vm_cache_scan_ratio to 20, but it doesn't seem
> to make any difference - I though a higher vm_cache_scan_ratio value
> meant less is scanned?
The less pages are scanned, the more likely you won't free enough
pagecache, the more likely you'll shrink dcache/icache.
I see why vm_mapped_ratio makes most of the difference though and
probably it's the easier fix for your problem (though increasing
vm_cache_scan_ratio sure won't make things worse).
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/