Message336643
@Inada: having played with this in the past I seem to remember that on Linux the bigger bufsize doesn't make a reasonable difference (but I may be wrong), that's why I suggest to try some benchmarks. In issue33671 I pasted some one-liners you can use (and you should target copyfileobj() instead of copyfile() in order to skip the os.sendfile() path). Also on Linux "echo 3 | sudo tee /proc/sys/vm/drop_caches" is supposed to disable the cache. |
|
Date |
User |
Action |
Args |
2019-02-26 10:59:12 | giampaolo.rodola | set | recipients:
+ giampaolo.rodola, methane, desbma |
2019-02-26 10:59:12 | giampaolo.rodola | set | messageid: <1551178752.34.0.373526070971.issue36103@roundup.psfhosted.org> |
2019-02-26 10:59:12 | giampaolo.rodola | link | issue36103 messages |
2019-02-26 10:59:12 | giampaolo.rodola | create | |
|