Re: pipe POLLOUT oddity

From: Benjamin LaHaise (bcrl@redhat.com)
Date: Tue Nov 05 2002 - 13:18:39 EST


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?"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 07 2002 - 22:00:39 EST