lkml.org 
[lkml]   [2002]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: and nicer too - Re: [PATCH] epoll more scalable than poll
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.123 / U:0.680 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site