From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-f197.google.com (mail-qt0-f197.google.com [209.85.216.197]) by kanga.kvack.org (Postfix) with ESMTP id 6C82E6B0025 for ; Fri, 16 Mar 2018 17:52:00 -0400 (EDT) Received: by mail-qt0-f197.google.com with SMTP id j17so7566335qth.20 for ; Fri, 16 Mar 2018 14:52:00 -0700 (PDT) Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id m189sor5541563qkc.80.2018.03.16.14.51.59 for (Google Transport Security); Fri, 16 Mar 2018 14:51:59 -0700 (PDT) MIME-Version: 1.0 References: <20180316182512.118361-1-wvw@google.com> <20180316143306.dd98055a170497e9535cc176@linux-foundation.org> In-Reply-To: <20180316143306.dd98055a170497e9535cc176@linux-foundation.org> From: Wei Wang Date: Fri, 16 Mar 2018 21:51:48 +0000 Message-ID: Subject: Re: [PATCH] mm: add config for readahead window Content-Type: multipart/alternative; boundary="94eb2c04e5521a064805678e9eb6" Sender: owner-linux-mm@kvack.org List-ID: To: Andrew Morton Cc: Wei Wang , gregkh@linuxfoundation.org, Todd Poynor , Dan Williams , Michal Hocko , "Kirill A. Shutemov" , Jan Kara , =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , Hugh Dickins , Matthew Wilcox , Ingo Molnar , Sherry Cheung , Oliver O'Halloran , Andrey Ryabinin , Huang Ying , Dennis Zhou , Pavel Tatashin , linux-mm@kvack.org, linux-kernel@vger.kernel.org --94eb2c04e5521a064805678e9eb6 Content-Type: text/plain; charset="UTF-8" On Fri, Mar 16, 2018, 14:33 Andrew Morton wrote: > On Fri, 16 Mar 2018 11:25:08 -0700 Wei Wang wrote: > > > Change VM_MAX_READAHEAD value from the default 128KB to a configurable > > value. This will allow the readahead window to grow to a maximum size > > bigger than 128KB during boot, which could benefit to sequential read > > throughput and thus boot performance. > > You can presently run ioctl(BLKRASET) against the block device? > Yeah we are doing tuning in userland after init. But this is something we thought could help in very early stage. > --94eb2c04e5521a064805678e9eb6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


= On Fri, Mar 16, 2018, 14:33 Andrew Morton <akpm@linux-foundation.org> wrote:
On Fri, 16 Mar 2018 11:25:08 -0700 Wei Wang <wvw@googl= e.com> wrote:

> Change VM_MAX_READAHEAD value from the default 128KB to a configurable=
> value. This will allow the readahead window to grow to a maximum size<= br> > bigger than 128KB during boot, which could benefit to sequential read<= br> > throughput and thus boot performance.

You can presently run ioctl(BLKRASET) against the block device?

Yeah we are = doing tuning in userland after init. But this is something we thought could= help in very early stage.
--94eb2c04e5521a064805678e9eb6--