[PATCH] fadvise(2) system call

Bruce Cran bruce at cran.org.uk
Thu Nov 10 00:03:48 UTC 2011


On 08/11/2011 13:00, John Baldwin wrote:
> I think it would be fine to add flags to applications like 'tar' to 
> allow users to alter their behavior in specific use cases when it 
> makes sense. However, I think there are more workloads for 'tar' than 
> the ones you are thinking of and we should be hesitant to change 
> applications to use non- default settings.

Someone's done that for GNU tar on Linux, adding a --no-oscache switch: 
http://www.mysqlperformanceblog.com/2010/04/02/fadvise-may-be-not-what-you-expect/ 
.

-- 
Bruce Cran


More information about the freebsd-arch mailing list