lkml.org 
[lkml]   [2002]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [rfc] epoll interface change and glibc bits ...
On Wed, 20 Nov 2002, Jamie Lokier wrote:

> Davide Libenzi wrote:
> > And the lower size of the structure will help to reduce the amount of
> > memory transfered to userspace. I just saw that adding the extra "obj"
> > member lowered performance of about 15% with crazy tests like Ben's
> > pipetest. This because it creates, on my machine, more than 400000 events
> > per second, and saving memory bandwidth on such conditions is a must. With
> > the "more human" http test performance are about the same.
>
> I'd be quite surprised if 400,000 word/sec of memory bandwidth can
> explain a 15% time difference, especially considering all the other
> things that are done to communicate over a pipe (wakeups etc).

Jamie, they were 16 bytes * 400000, and the token passed through the pipe
was 12 bytes.



- Davide


-
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:31    [W:0.195 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site