Message344671
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). |
|
Date |
User |
Action |
Args |
2019-06-05 05:24:52 | giampaolo.rodola | set | recipients:
+ giampaolo.rodola |
2019-06-05 05:24:51 | giampaolo.rodola | set | messageid: <1559712291.98.0.707685827942.issue37159@roundup.psfhosted.org> |
2019-06-05 05:24:51 | giampaolo.rodola | link | issue37159 messages |
2019-06-05 05:24:51 | giampaolo.rodola | create | |
|