Received: by 10.213.65.68 with SMTP id h4csp650409imn; Fri, 16 Mar 2018 14:34:48 -0700 (PDT) X-Google-Smtp-Source: AG47ELsFn7GE5lwbp0cTNOoocMyzjlSByINgtW3fEzbSdCjsQMQaP28udgRA71biHefVPqSmDcXQ X-Received: by 2002:a17:902:468:: with SMTP id 95-v6mr3675590ple.360.1521236088309; Fri, 16 Mar 2018 14:34:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521236088; cv=none; d=google.com; s=arc-20160816; b=ZAYYiTReFeZk6aqN1t6vCI9tZM3ph0psrW+sahdXiavuts+UKcXYpQzVUtJJoyrzAs 88KRFqfWx6cmMYSe4MMqm7mZkIfFozTsssVwUsX2V3iur2jFLftbxwLM78+ijM8D5nGw 8oUQhi6ZnFOgsxKT3nZwdqkvOqsOxC+zqlLqx8+cJs0Xm2mMZmjak7WngP2nRwgj9mJU BEURWh4LJxHZBH3WThU9nY4oTSL8m/0n2pTLr9M7wIcetzoGYIoZ7GwPNQtMYaLC2PZ3 DA0u4akQxu127Qwzvfr9KoN0oegtmW28BVlTSlnc/JmOtM1T3qlNE52NPBDY6uVtWHVn ZS7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=zttqNWiGx/DKuu2KN5AGg54envISoQcz2v/vJPxwIYU=; b=WdOjBAPvFdq/q0AWtqVU/zEAtfXWeDaDzyWroo8dJciiHotSqEXCn/h4+7dNj2WAs9 PanADp/YDqNHrOeEUFzRHwZoS0SrBfSLsI+/VQHBR9dvHK0680C1yRJ7Z+CZY8XdEmHM ZuMK/mITokaoAZsQFz55yaLDtOmihoeNPOn3vQ80TqH4+fGoCOG6sMYUi51fCki4aWiN AghTw8vZpCShHbNhTycT0mgW1TmGKMs7bfSCoBWyy1vxO5Nni51IKx4TZG+yn33OU/Rq PYgTFTdZq36WfLmrC7z4aHibg0JHqdu7Xz5dLosHS/FgquFu6/oWTD/oNw/C2CxGm1qB M9Iw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g20si1747345pgv.388.2018.03.16.14.34.33; Fri, 16 Mar 2018 14:34:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751917AbeCPVdJ (ORCPT + 99 others); Fri, 16 Mar 2018 17:33:09 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:44968 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750826AbeCPVdI (ORCPT ); Fri, 16 Mar 2018 17:33:08 -0400 Received: from akpm3.svl.corp.google.com (unknown [104.133.9.71]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id A047E1118; Fri, 16 Mar 2018 21:33:07 +0000 (UTC) Date: Fri, 16 Mar 2018 14:33:06 -0700 From: Andrew Morton To: Wei Wang Cc: gregkh@linuxfoundation.org, toddpoynor@google.com, wei.vince.wang@gmail.com, Dan Williams , Michal Hocko , "Kirill A. Shutemov" , Jan Kara , =?ISO-8859-1?Q?J=E9r=F4me?= Glisse , 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 Subject: Re: [PATCH] mm: add config for readahead window Message-Id: <20180316143306.dd98055a170497e9535cc176@linux-foundation.org> In-Reply-To: <20180316182512.118361-1-wvw@google.com> References: <20180316182512.118361-1-wvw@google.com> X-Mailer: Sylpheed 3.6.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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?