Messages in this thread | | | Subject | RE: [PATCH v9 net-next 5/7] net: simple poll/select low latency socket poll | From | Eric Dumazet <> | Date | Wed, 05 Jun 2013 07:00:08 -0700 |
| |
On Wed, 2013-06-05 at 14:49 +0100, David Laight wrote: > > I am a bit uneasy with this one, because an applicatio polling() on one > > thousand file descriptors using select()/poll(), will call sk_poll_ll() > > one thousand times. > > Anything calling poll() on 1000 fds probably has performance > issues already! Which is why kevent schemes have been added. >
You'll be surprised but many applications still use poll(), and not epoll() or whatever OS specific interface, because they are non portable or buggy. (I played with FreeBSD and kevent crashed easily at 64,000 fds, while the epoll() version reached 4,000,000 fds with no problems)
| |