User: Password:
|
|
Subscribe / Log in / New account

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


(Log in to post comments)


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds