From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 27 Apr 2006 20:41:32 +0900 From: KAMEZAWA Hiroyuki Subject: Re: Lockless page cache test results Message-Id: <20060427204132.2150e5cb.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <20060427111625.GD23137@suse.de> References: <20060426135310.GB5083@suse.de> <20060426095511.0cc7a3f9.akpm@osdl.org> <20060426174235.GC5002@suse.de> <20060426185750.GM5002@suse.de> <20060427111937.deeed668.kamezawa.hiroyu@jp.fujitsu.com> <20060427080316.GL9211@suse.de> <20060427111625.GD23137@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: akpm@osdl.org, linux-kernel@vger.kernel.org, npiggin@suse.de, linux-mm@kvack.org List-ID: On Thu, 27 Apr 2006 13:16:25 +0200 Jens Axboe wrote: > Added, 1 vs 2/3/4 clients isn't very interesting, so to keep it short > here are numbers for 2 clients to /dev/null and localhost. > Thank you! looks splice has significant advantage :) > Sending to /dev/null > > ml370:/data # ./splice-bench -n2 -l10 -a -s -z file > Waiting for clients > Client1 (splice): 19030 MiB/sec (10240MiB in 551 msecs) > Client0 (splice): 18961 MiB/sec (10240MiB in 553 msecs) This maybe shows cost of gathering page-cache. > Client1 (mmap): 158875 MiB/sec (10240MiB in 66 msecs) > Client0 (mmap): 158875 MiB/sec (10240MiB in 66 msecs) This shows read/write system-call and user program cost. right ? > Client1 (rw): 1691 MiB/sec (10240MiB in 6200 msecs) > Client0 (rw): 1690 MiB/sec (10240MiB in 6201 msecs) > This shows 10240MiB copy_to_user() cost. BTW, How big are cpu-cache-size and read/write buffer size in this test ? > Sending/receiving over lo > read from a file and write to lo ? > ml370:/data # ./splice-bench -n2 -l10 -a -s file > Waiting for clients > Client0 (splice): 3007 MiB/sec (10240MiB in 3486 msecs) > Client1 (splice): 3003 MiB/sec (10240MiB in 3491 msecs) > Client0 (mmap): 555 MiB/sec (8192MiB in 15094 msecs) > Client1 (mmap): 580 MiB/sec (9216MiB in 16257 msecs) > Client0 (rw): 538 MiB/sec (8192MiB in 15573 msecs) > Client1 (rw): 541 MiB/sec (8192MiB in 15498 msecs) > Thank you. -Kame -- 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