Re: pipe POLLOUT oddity

Benjamin LaHaise
2002-11-05T18:13:24Z

On Tue, Nov 05, 2002 at 10:15:33AM -0800, John Gardiner Myers wrote:
> I could see this going either way, depending on the application.
> Holding off the POLLOUT readiness could improve performance by making
> sure that whenever a process is scheduled to write to a pipe the pipe
> has enough buffer to take all of the data.

Aio write to pipes has a distinct advantage here as the pipe code can
provide the write atomicity guarantees while preserving the non-blocking
aspect of the io submission interface.

-ben
--
"Do you seek knowledge in time travel?"