diff options
| author | Pádraig Brady <P@draigBrady.com> | 2009-03-06 22:30:55 +0000 |
|---|---|---|
| committer | Pádraig Brady <P@draigBrady.com> | 2009-03-11 14:19:08 +0000 |
| commit | 55efc5f3ee485b3e31a91c331f07c89aeccc4e89 (patch) | |
| tree | 95b9123d558a3583053b103ca8a294a0dcc84464 /tests/misc/cat-buf | |
| parent | tests: add a test for newly-fixed bug in comm --check-order (diff) | |
| download | coreutils-55efc5f3ee485b3e31a91c331f07c89aeccc4e89.tar.gz coreutils-55efc5f3ee485b3e31a91c331f07c89aeccc4e89.zip | |
cat,cp,mv,install,split: Set the minimum IO block size used to 32KiB
This is following on from this change:
[02c3dc9d 2008-03-06 cat: use larger buffer sizes ...]
which increased the IO block size used by cat by 8 times,
but also capped it at 32KiB.
* NEWS: Mention the change in behavior.
* src/system.h: Add a new io_blksize() function that
returns the max of ST_BLKSIZE or 32KiB, as this was
seen as a good value for a minimum block size to use
to get good performance while minimizing system call overhead.
* src/cat.c: Use it.
* src/copy.c: ditto
* src/split.c: ditto
Diffstat (limited to 'tests/misc/cat-buf')
0 files changed, 0 insertions, 0 deletions
