Skip to content

Commit

Permalink
update news message
Browse files Browse the repository at this point in the history
  • Loading branch information
rmmancom committed Oct 3, 2024
1 parent 40febb6 commit e2f33ef
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Increase ``io.DEFAULT_BUFFER_SIZE`` from 8k to 128k. Adjust :func:`open` on
Linux to use ``max(io.DEFAULT_BUFFER_SIZE, device block size)`` rather than
the device block size. Improve I/O write performance by up to 5 times.
Increase ``io.DEFAULT_BUFFER_SIZE`` from 8k to 128k and adjust :func:`open` on
platforms where ``fstat`` provides a ``st_blksize`` field (such as Linux) to use
``max(io.DEFAULT_BUFFER_SIZE, device block size)`` rather than always using the
device block size. This should improve I/O performance.
Patch by Romain Morotti.

0 comments on commit e2f33ef

Please sign in to comment.