On Tue, 14 Jul 2009, Roland Mainz wrote:

You should feel happy that Solaris is using 5120 rather than 512 like
FreeBSD.

Does FreeBSD really use 512 _bytes_ ?

That is what PIPE_BUF is defined to. Note that PIPE_BUF only specifies the maximum size of an atomic write and the OS is free to offer as much actual buffering as it likes (as long as it assures atomicity) in order to reduce pipe context switching. Are you sure that Solaris is really only providing 5120 bytes of pipe I/O buffering, or is the pipe atomic write limit being confused with the stream buffering limits?

Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org

Reply via email to