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>
Tue, 29 Nov 2011 00:54:52 +0000 (16:54 -0800)
commit70bc60cab7bf34a533ff824a9ea0f93afb09ed84
tree0011c28e588975239f3d8c9b40d2c8354ff92dd1
parent2a75b1753eabb1b4e123f0b5f1c0dbaba5d0eaba
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