Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757032Ab0DPJqm (ORCPT ); Fri, 16 Apr 2010 05:46:42 -0400 Received: from earthlight.etchedpixels.co.uk ([81.2.110.250]:50033 "EHLO www.etchedpixels.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750903Ab0DPJqk (ORCPT ); Fri, 16 Apr 2010 05:46:40 -0400 Date: Fri, 16 Apr 2010 10:50:02 +0100 From: Alan Cox To: Dave Chinner Cc: Suleiman Souhlal , KOSAKI Motohiro , Mel Gorman , Chris Mason , linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, suleiman@google.com Subject: Re: [PATCH 1/4] vmscan: delegate pageout io to flusher thread if current is kswapd Message-ID: <20100416105002.191adeb1@lxorguk.ukuu.org.uk> In-Reply-To: <20100415233339.GW2493@dastard> References: <20100415013436.GO2493@dastard> <20100415130212.D16E.A69D9226@jp.fujitsu.com> <20100415131106.D174.A69D9226@jp.fujitsu.com> <64BE60A8-EEF9-4AC6-AF0A-0ED3CB544726@freebsd.org> <20100415093214.GV2493@dastard> <85DB7083-8E78-4884-9E76-5BD803C530EF@freebsd.org> <20100415233339.GW2493@dastard> X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.9; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1226 Lines: 24 > No. If you are doing full disk seeks between random chunks, then you > still lose a large amount of throughput. e.g. if the seek time is > 10ms and your IO time is 10ms for each 4k page, then increasing the > size ito 64k makes it 10ms seek and 12ms for the IO. We might increase > throughput but we are still limited to 100 IOs per second. We've > gone from 400kB/s to 6MB/s, but that's still an order of magnitude > short of the 100MB/s full size IOs with little in way of seeks > between them will acheive on the same spindle... The usual armwaving numbers for ops/sec for an ATA disk are in the 200 ops/sec range so that seems horribly credible. But then I've never quite understood why our anonymous paging isn't sorting stuff as best it can and then using the drive as a log structure with in memory metadata so it can stream the pages onto disk. Read performance is goig to be similar (maybe better if you have a log tidy when idle), write ought to be far better. Alan -- 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/