|
From: | Carlo Alberto Ferraris |
Subject: | Re: [Bug-tar] Use posix_fadvise to improve archive creation performance |
Date: | Sun, 7 May 2017 15:18:12 +0900 |
Paul, any chance of having this pulled in? To recap, this simply uses posix_fadvise to provide a hint to the OS that we’re going to perform a sequential read of the source files when creating an archive. In our testing on linux 4.4 when creating a tar archive with source files on a ext4 filesystem (on a SAN volume) this patch doubles tar's throughput. This is because when linux is provided the FADV_SEQUENTIAL hint it doubles the readahead on the underlying block device. Any feedback is welcome. Carlo
|
[Prev in Thread] | Current Thread | [Next in Thread] |