Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 20 Nov 2001 19:20:01 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 20 Nov 2001 19:19:52 -0500 Received: from garrincha.netbank.com.br ([200.203.199.88]:44050 "HELO netbank.com.br") by vger.kernel.org with SMTP id ; Tue, 20 Nov 2001 19:19:35 -0500 Date: Tue, 20 Nov 2001 22:19:26 -0200 (BRST) From: Rik van Riel X-X-Sender: To: "David S. Miller" Cc: , , Subject: Re: Swap In-Reply-To: <20011120.154004.123980549.davem@redhat.com> Message-ID: X-spambait: aardvark@kernelnewbies.org X-spammeplease: aardvark@nl.linux.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 20 Nov 2001, David S. Miller wrote: > From: Rik van Riel > Date: Tue, 20 Nov 2001 21:35:40 -0200 (BRST) > > On Tue, 20 Nov 2001, David S. Miller wrote: > > TLB misses add to the cost, and this overhead is more than > > "noise". > The Apache folks were keeping it mapped across requests, > so even if it was "primed" (ie. pre-faulted), a read() into > a static buffer was still significantly faster. Interesting. I wonder how read() and mmap() compare when the data is in highmem pages and we're facing a kmap()/kunmap() for read() ... regards, Rik -- Shortwave goes a long way: irc.starchat.net #swl http://www.surriel.com/ http://distro.conectiva.com/ - 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/