bug-tar
[Top][All Lists]
Advanced

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

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


From: Carlo Alberto Ferraris
Subject: [Bug-tar] Use posix_fadvise to improve archive creation performance
Date: Mon, 27 Mar 2017 23:02:10 +0900

This is a PoC patch that improves archive creation performance at least in 
certain configurations (ubuntu x64 14.04, virtualized infrastructure, SAN 
storage) by using posix_fadvise to signal the intent to sequentially read the 
whole file. 

gnulib currently does not provide posix_fadvise. On platforms where 
posix_fadvise is not available (e.g. my macbook) this patch silently reverts to 
a noop. 

Carlo

 

Attachment: 0001-use-posix_fadvise-to-prefetch-files-when-creating-ar.patch
Description: Binary data


reply via email to

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