Messages in this thread | | | Date | Tue, 21 Dec 2004 15:39:54 +0100 | From | Andrea Arcangeli <> | Subject | Re: Reducing inode cache usage on 2.4? |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |