Re: and nicer too - Re: [PATCH] epoll more scalable than poll

Dan Kegel
2002-11-01T17:19:47Z

Davide Libenzi wrote:
>>Do you avoid the cost of epoll_ctl() per new fd?
>
> Jamie, the cost of epoll_ctl(2) is minimal/zero compared with the average
> life of a connection.

Depends on the workload. Where I work, the http client I'm writing
has to perform extremely well even on 1 byte files with HTTP 1.0.
Minimizing system calls is suprisingly important - even
a gettimeofday hurts.

- Dan