This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author giampaolo.rodola
Recipients giampaolo.rodola
Date 2019-06-05.05:24:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1559712291.98.0.707685827942.issue37159@roundup.psfhosted.org>
In-reply-to
Content
This is a follow up of issue33639 (zero-copy via sendfile()) and issue26828 (os.copy_file_range()). On [Linux 4.5 / glib 2.27] shutil.copyfile() will use os.copy_file_range() instead of os.sendfile(). According to my benchmarks performances are the same but when dealing with NFS copy_file_range() is supposed to attempt doing a server-side copy, meaning there will be no exchange of data between client and server, making the copy operation an order of magnitude faster.

Before proceeding unit-tests for big-file support should be added first (issue37096). We didn't hit the 3.8 deadline but I actually prefer to land this in 3.9 as I want to experiment with it a bit (copy_file_range() is quite new, issue26828 is still a WIP).
History
Date User Action Args
2019-06-05 05:24:52giampaolo.rodolasetrecipients: + giampaolo.rodola
2019-06-05 05:24:51giampaolo.rodolasetmessageid: <1559712291.98.0.707685827942.issue37159@roundup.psfhosted.org>
2019-06-05 05:24:51giampaolo.rodolalinkissue37159 messages
2019-06-05 05:24:51giampaolo.rodolacreate