On Thu, Mar 01, 2007 at 03:16:37PM +0100, Ingo Molnar ([EMAIL PROTECTED]) wrote: > > * Eric Dumazet <[EMAIL PROTECTED]> wrote: > > > I can tell you that the problem (at least on my machine) comes from : > > > > gettimeofday(&tm, NULL); > > > > in evserver_epoll.c > > yeah, that's another difference - especially if it's something like an > Athlon64 and gettimeofday falls back to pm-timer, that could explain the > performance difference. That's why i repeatedly asked Evgeniy to use the > /very same/ client function for both the epoll and the kevent test and > redo the measurements. The numbers are still highly suspect - and we are > already down from the prior claim of kevent being almost twice as fast > to a 25% difference.
There is no gettimeofday() in the running code anymore, and it was placed not in common server processing code btw. Ingo, do you really think I will send mails with faked benchmarks? :)) Btw, there were never almost twice perfromance increase - epoll in my tests always showed 4-5 thousands requests per second, kevent - up to 7 thausands. That starts looking like ghost hunting, Ingo, you already said that you do not see any need in kevent, have you changed your opinion on that? > Ingo -- Evgeniy Polyakov - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/