From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756868Ab2AKIFm (ORCPT ); Wed, 11 Jan 2012 03:05:42 -0500 Received: from mail-yx0-f174.google.com ([209.85.213.174]:55627 "EHLO mail-yx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753157Ab2AKIFl convert rfc822-to-8bit (ORCPT ); Wed, 11 Jan 2012 03:05:41 -0500 MIME-Version: 1.0 In-Reply-To: References: <20120109181023.7c81d0be@annuminas.surriel.com> <4F0B7D1F.7040802@gmail.com> <4F0BABE0.8080107@redhat.com> From: KOSAKI Motohiro Date: Wed, 11 Jan 2012 03:05:19 -0500 Message-ID: Subject: Re: [PATCH -mm] make swapin readahead skip over holes To: Rik van Riel Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, Mel Gorman , Johannes Weiner Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2012/1/11 KOSAKI Motohiro : >> Also, I doubt current swap_cluster default is best value on nowadays. > > I meant, current average hdd spec is, >  - average seek time: 8.5ms >  - sequential access performance: about 60MB/sec > > so, we can eat free lunch up to 7MB ~= 60(MB/sec) * 1000 / 8.5(ms). Bah! I'm moron. the correct fomura is, 500KB = 60(MB/sec) / 1000(msec/ssec) *8.5 (ms)