|
From: | Carlo Alberto Ferraris |
Subject: | Re: [Bug-tar] Use posix_fadvise to improve archive creation performance |
Date: | Thu, 30 Mar 2017 08:32:19 +0900 |
Paul, as mentioned in my mail to Mark the original patch was stale, the correct one is here: https://github.com/CAFxX/tar/commit/8b3ccb099c6ddf9f03d12d1f7c433c7927b964d5 (NOREUSE was dropped because it’s a no-op in our configuration, and I have no way to validate it). In the tests I did most of the benefit comes from POSIX_FADV_SEQUENTIAL because in linux this doubles the readhead value. To give some context, the tests were done on linux 4.4 guests running on esxi. Doubling the readhead in this configuration almost doubled the tar throughput. The change itself should be pretty safe, since we’re using the semantics of the fadvise hints quite to the letter. Carlo
|
[Prev in Thread] | Current Thread | [Next in Thread] |