pipe performance
pipe performance
Posted Jan 20, 2005 5:27 UTC (Thu) by sweikart (guest, #4276)In reply to: pipe performance by giraffedata
Parent article: Circular pipes
> For the common case, for which the existing pipe implementation was designed, > where there is a steady stream of about 80 byte reads and writes ...Actually, this is not the common case. The common case is that the programs writing to (and reading from) the pipe use stdio; when writing to a device that's not a tty, stdio defaults to block buffering. The block size used by stdio should work well with Linus's scheme (and if it doesn't, it would probably make sense to change it).
-scott