Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 20 Nov 2002 16:57:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 20 Nov 2002 16:56:22 -0500 Received: from bjl1.asuk.net.64.29.81.in-addr.arpa ([81.29.64.88]:20106 "EHLO bjl1.asuk.net") by vger.kernel.org with ESMTP id ; Wed, 20 Nov 2002 16:56:15 -0500 Date: Wed, 20 Nov 2002 22:04:26 +0000 From: Jamie Lokier To: Davide Libenzi Cc: Linux Kernel Mailing List Subject: Re: [rfc] epoll interface change and glibc bits ... Message-ID: <20021120220426.GB11879@bjl1.asuk.net> References: <20021120030919.GA9007@bjl1.asuk.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1177 Lines: 24 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). Btw, I have seen variations of that magnitude in other network tests that I've done that _appear_ to be explained by small changes to the code like that, but the next day or week the variation stops correlating with the change. Page colouring affecting benchmarks again? -- Jamie - 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/