From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757477Ab1K3QJW (ORCPT ); Wed, 30 Nov 2011 11:09:22 -0500 Received: from cantor2.suse.de ([195.135.220.15]:32852 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753906Ab1K3QJU (ORCPT ); Wed, 30 Nov 2011 11:09:20 -0500 Date: Wed, 30 Nov 2011 17:09:08 +0100 From: Jan Kara To: Wu Fengguang Cc: Christian Ehrhardt , Dave Chinner , Jan Kara , Christoph Hellwig , Andrew Morton , Linux Memory Management List , "linux-fsdevel@vger.kernel.org" , Ankit Jain , Rik van Riel , Nikanth Karthikesan , LKML , Andi Kleen Subject: Re: [PATCH 2/8] readahead: make default readahead size a kernel parameter Message-ID: <20111130160908.GE4541@quack.suse.cz> References: <20111121091819.394895091@intel.com> <20111121093846.251104145@intel.com> <20111121100137.GC5084@infradead.org> <20111121113540.GB8895@localhost> <20111124222822.GG29519@quack.suse.cz> <20111125003633.GP2386@dastard> <20111128023922.GA2141@localhost> <4ED629CB.401@linux.vnet.ibm.com> <20111130132928.GA31589@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111130132928.GA31589@localhost> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 30-11-11 21:29:28, Wu Fengguang wrote: > > cat /etc/udev/rules.d/60-readahead.rules > > # > > > > > > > > # Rules to set an increased default max readahead size for s390 disk > > devices > > > > > > # This file should be installed in /etc/udev/rules.d > > > > > > > > # > > > > SUBSYSTEM!="block", GOTO="ra_end" > > > > ACTION!="add", GOTO="ra_end" > > > > # on device add set initial readahead to 512 (instead of in kernel 128) > > > > KERNEL=="sd*[!0-9]", ATTR{queue/read_ahead_kb}="512" > > > > KERNEL=="dasd*[!0-9]", ATTR{queue/read_ahead_kb}="512" > > So SLES (@s390 and maybe more) is already shipping with 512kb > readahead size? Good to know this! SLES (and openSUSE) since about 2.6.16 times is shipping with 512kb readahead on everything... With some types of storage it makes a significant difference. Honza -- Jan Kara SUSE Labs, CR