Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750772AbWCLWPo (ORCPT ); Sun, 12 Mar 2006 17:15:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750730AbWCLWPn (ORCPT ); Sun, 12 Mar 2006 17:15:43 -0500 Received: from rtr.ca ([64.26.128.89]:49330 "EHLO mail.rtr.ca") by vger.kernel.org with ESMTP id S1750772AbWCLWPn (ORCPT ); Sun, 12 Mar 2006 17:15:43 -0500 Message-ID: <44149D6A.7080005@rtr.ca> Date: Sun, 12 Mar 2006 17:15:06 -0500 From: Mark Lord User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20060305 SeaMonkey/1.1a MIME-Version: 1.0 To: Marr Cc: Linda Walsh , Bill Davidsen , linux-kernel@vger.kernel.org, reiserfs-dev@namesys.com, Andrew Morton Subject: Re: Readahead value 128K? (was Re: Drastic Slowdown of 'fseek()' Calls From 2.4 to 2.6 -- VMM Change?) References: <200602241522.48725.marr@flex.com> <200603071453.46768.marr@flex.com> <440DF802.8@tlinx.org> <200603121653.30288.marr@flex.com> In-Reply-To: <200603121653.30288.marr@flex.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 787 Lines: 22 Marr wrote: > > I tried turning 'readahead' off entirely ('hdparm -A0 /dev/hda') and, although No, that should be "hdparm -a0 /dev/hda" (lowercase "-a"). And the same "-a" for all of your other test variants. If you did it all with "-A", then the results are invalid, and need to be redone. The hdparm manpage explains this, but in a nutshell, "-A" is the low-level drive firmware "look-ahead" mechanism, whereas "-a" is the Linux kernel "read-ahead" scheme. In general, most uppercase hdparm flags are drive *firmware* settings. Cheers - 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/