bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] Use posix_fadvise to improve archive creation performance


From: Paul Eggert
Subject: Re: [Bug-tar] Use posix_fadvise to improve archive creation performance
Date: Thu, 30 Mar 2017 08:08:07 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

On 03/29/2017 04:32 PM, Carlo Alberto Ferraris wrote:
The change itself should be pretty safe

Alas, I've run into setups where using POSIX_FADV_SEQUENTIAL and POSIX_FADV_DONTNEED slow things down. See, for example:

https://github.com/jborg/attic/issues/252

Also, if we're going to use these flags, shouldn't it be POSIX_FADV_NOREUSE instead of POSIX_FADV_DONTNEED? And shouldn't the size be 0?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]