Previously, we call write(2) for each 32767 byte chunk. That is not
efficient because Linux can handle much larger write requests.
This patch changes the chunk size on Linux to 1 GiB.
This patch doesn't change the existing behavior for Windows.
Differential D39444
[Support] Make the default chunk size of raw_fd_ostream to 1 GiB. ruiu on Oct 30 2017, 7:18 PM. Authored by
Details Previously, we call write(2) for each 32767 byte chunk. That is not This patch doesn't change the existing behavior for Windows.
Diff Detail
Event Timeline
|
http://pubs.opengroup.org/onlinepubs/9699919799/functions/write.html#tag_16_685