dpif-linux: Use "epoll" instead of poll().
authorBen Pfaff <blp@nicira.com>
Tue, 22 Nov 2011 17:25:32 +0000 (09:25 -0800)
committerBen Pfaff <blp@nicira.com>
Mon, 28 Nov 2011 17:31:07 +0000 (09:31 -0800)
commit50f80534f2bcf5bbe58f94cfc2a8a16236b4bf56
treee17a461c8e16254a00b6f45754f85242bccbea18
parent8522ba0996907af86eb63afd4c69e9fd6bb1178a
dpif-linux: Use "epoll" instead of poll().

epoll appears to be much more efficient than poll() at least for
static file descriptor sets.  I can't otherwise explain why this
patch increases netperf CRR performance by 20% above the previous
commit, which is also about a 19% overall improvement versus
the baseline from before the poll_fd_woke() optimization was
removed.
lib/dpif-linux.c