[PATCH] fadvise(2) system call
Tim Kientzle
tim at kientzle.com
Wed Nov 9 04:24:13 UTC 2011
On Nov 8, 2011, at 7:35 PM, Alfred Perlstein wrote:
>
> One other optimization would be to set the bit when tar or other such apps
> notice that the file exceeds the memory of the system, effectively noting
> that it would be blowing out the entire cache.
Tar does not know the amount of RAM in the system
nor the size of the cache. It definitely does not know
how the kernel caching policies interact with any particular
access pattern.
It should be able to provide hints to the kernel
about the likely access pattern, though.
Tim
More information about the freebsd-arch
mailing list