lkml.org 
[lkml]   [2002]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectpipe POLLOUT oddity


Mark Mielke wrote:

>On Fri, Nov 01, 2002 at 03:27:41PM -0800, John Gardiner Myers wrote:
>
>
>>There's also the oddity that I noticed this week: pipes don't report
>>POLLOUT readiness through the classic poll interface until the pipe's
>>buffer is completely empty. Changing this to report POLLOUT readiness
>>when the pipe's buffer is not full apparently causes NIS to break.
>>
>>
>
>These seems deficient. Does this mean that pipes managed via poll() are
>not able to maximum throughput?
>
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.

[unhandled content-type:application/x-pkcs7-signature]
\
 
 \ /
  Last update: 2005-03-22 13:30    [W:1.536 / U:0.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site