Is there a way to give inode entries a higher cache priority than data in the linux kernel?

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

 



Artur Skawina wrote:
...
>> 2) Is there a way to configure the kernel, so the inode entries
>>    are locked in the cache or at least get a much higher
>>    cache priority than ordinary data?
...
> o play with /proc/sys/vm/vfs_cache_pressure; try decreasing it. significantly. what you describe as "2)" above would be "vfs_cache_pressure=0".

Thanks, sounds like it is exactly what I need!

I have set /proc/sys/vm/vfs_cache_pressure to 1 for now.
I'll observe the effects for a while.

Carsten.


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux