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

Carsten Koch Carsten.Koch at icem.com
Thu Feb 15 01:48:44 CET 2007


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.



More information about the vdr mailing list