On 6/13/17, Mattias Andrée <maand...@kth.se> wrote:
> On Linux, the performance of cat(1) can be doubled
> when cat(1):ing from one pipe to another, by compiling
> with -DBUFSIZ=(1<<16) (the default pipe capacity).
> This is close to optimial for a read(3)/write(3)
> implementation.

Agreed. On my sbase branch, I bumped it up to 8192 (from 1024 on musl)
and noticed significant performance improvements.

Speaking of a read(3)/write(3) implementation, I should ping my IO
improvement patch series thread...

Reply via email to