Is it possible to use epoll and whether it makes sense to use epoll with Netmap to speedup?

StackOverflow https://stackoverflow.com/questions/22121163

  •  18-10-2022
  •  | 
  •  

문제

As we known, we can use poll/select with Netmap: http://info.iet.unipi.it/~luigi/netmap/

Is it possible to use epoll and whether it makes sense to use epoll with Netmap, or it has no advantages in speed?

도움이 되었습니까?

해결책

netmap author here: we have changes to enable epoll() for linux (the equivalent kevent() on FreeBSD is already supported). The advantage only exists when you have to handle several file descriptors in the same poll/select/epoll/kqueue operation.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top