Home / cs-notes / Operating System / Linux / Syscalls / select vs poll vs epoll / epoll pros
epoll 更高效的原因
- fd 数据结构
- select
- fd bit marks: fd count limit - 1024
- poll
- pollfd[]: custom-length array
- select
- which fds are ready?
- select, poll dont know
- epoll know
- fd copy
- select, poll copy between user and kernel
- epoll use shared memory between user and kernel
- trigger
- select, poll: level trigger
- epoll: edge trigger