From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 26 Apr 2006 13:12:00 -0700 From: Andrew Morton Subject: Re: Lockless page cache test results Message-Id: <20060426131200.516cbabc.akpm@osdl.org> In-Reply-To: <20060426191557.GA9211@suse.de> References: <20060426135310.GB5083@suse.de> <20060426095511.0cc7a3f9.akpm@osdl.org> <20060426174235.GC5002@suse.de> <20060426111054.2b4f1736.akpm@osdl.org> <20060426191557.GA9211@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Jens Axboe Cc: torvalds@osdl.org, linux-kernel@vger.kernel.org, npiggin@suse.de, linux-mm@kvack.org List-ID: Jens Axboe wrote: > > With a 16-page gang lookup in splice, the top profile for the 4-client > case (which is now at 4GiB/sec instead of 3) are: > > samples % symbol name > 30396 36.7217 __do_page_cache_readahead > 25843 31.2212 find_get_pages_contig > 9699 11.7174 default_idle __do_page_cache_readahead() should use gang lookup. We never got around to that, mainly because nothing really demonstrated a need. It's a problem that __do_page_cache_readahead() is being called at all - with everything in pagecache we should be auto-turning-off readahead. This happens because splice is calling the low-level do_pagecache_readahead(). If you convert it to use page_cache_readahead(), that will all vanish if readahead is working right. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org