Re: [ovs-dev] [PATCH 4/5] pool-loop: Enable checking whether a FD caused a wakeup.

2011-09-22 Thread Ben Pfaff
On Thu, Sep 22, 2011 at 01:58:49PM -0700, Jesse Gross wrote: > On Thu, Sep 22, 2011 at 12:48 PM, Ben Pfaff wrote: > > On Mon, Sep 19, 2011 at 03:00:07PM -0700, Jesse Gross wrote: > >> Each time we run through the poll loop, we check all file descriptors > >> that we were waiting on to see if there

Re: [ovs-dev] [PATCH 4/5] pool-loop: Enable checking whether a FD caused a wakeup.

2011-09-22 Thread Jesse Gross
On Thu, Sep 22, 2011 at 12:48 PM, Ben Pfaff wrote: > On Mon, Sep 19, 2011 at 03:00:07PM -0700, Jesse Gross wrote: >> Each time we run through the poll loop, we check all file descriptors >> that we were waiting on to see if there is data available.  However, >> this requires a system call and poll

Re: [ovs-dev] [PATCH 4/5] pool-loop: Enable checking whether a FD caused a wakeup.

2011-09-22 Thread Ben Pfaff
On Mon, Sep 19, 2011 at 03:00:07PM -0700, Jesse Gross wrote: > Each time we run through the poll loop, we check all file descriptors > that we were waiting on to see if there is data available. However, > this requires a system call and poll already provides information on > which FDs caused the w

[ovs-dev] [PATCH 4/5] pool-loop: Enable checking whether a FD caused a wakeup.

2011-09-19 Thread Jesse Gross
Each time we run through the poll loop, we check all file descriptors that we were waiting on to see if there is data available. However, this requires a system call and poll already provides information on which FDs caused the wakeup so it is inefficient as the number of active FDs grows. This p