[issue36103] Increase shutil.COPY_BUFSIZE

Inada Naoki report at bugs.python.org
Tue Feb 26 06:24:02 EST 2019


Inada Naoki <songofacandy at gmail.com> added the comment:

> Also on Linux "echo 3 | sudo tee /proc/sys/vm/drop_caches" is supposed to  disable the cache.

As I said already, shutil is not used only with cold cache.

If cache is cold, disk speed will be upper bound in most cases.
But when cache is hot, or using very fast NVMe disk, syscall overhead
can be non-negligible.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36103>
_______________________________________


More information about the Python-bugs-list mailing list