Received: by 10.213.65.68 with SMTP id h4csp647324imn; Fri, 16 Mar 2018 14:28:33 -0700 (PDT) X-Google-Smtp-Source: AG47ELsc+do8tg7KRqbi63iRuukX950NP3Q+j4SsuqdNUGIJSmjV0D2WsYsFXj+g1CQ8pgErRbRQ X-Received: by 10.99.95.86 with SMTP id t83mr2575096pgb.183.1521235713578; Fri, 16 Mar 2018 14:28:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521235713; cv=none; d=google.com; s=arc-20160816; b=zlDdiEWEl5/G1Ww5EtNL62FPgXkrfWz7u3VBm9WkcJqfO+CKZQoaDkxR5JzErE0OYv yuEsMiCRBo5lyl8esZg+YksfMdQ4B4IqZwACUA7p1VVBK5BW6c4p3H6Bk6eCQL+M4O9X AIp5XL4dl3L4TINpAnLspfTvdEHUyaM3nXSZ/wmnqhysv3j2sQKOsnyZ3tOsxbkzuN4l h+v6++/rL/L4QOxB8kIzdJltylFAY9KiXaIRrkJMzl+NjYdrv5LEUp8h/jzpgqMDsaRW w6hk/E8Zmv1WEC2YAB2+hSsC3Jhw+LARpxuHNEohZY8sa/y1zfQ+4RrEqY0eZSJkvB3o RdvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=qb9iN9jD2Y6OxAGQTjs9258nOTjxQLmmriIJl94BicI=; b=Yq7dTONI1kQKkduAIe8OCG+Mz+1uATGyEwKGk+fyLUtyqNB1Nf0ySVClwLCjSDdBIG ggsDbmDKB88SsNn8ZBaks/qgy8BFNPoBZ3By0kHxZj7cTuKccHnRxYHdRsJHMLUWIiFG uexPidjRcC/9z2Zc6VNR5g8Mn17mmvJlCvN0kLAZO2BkZ+4dDx+9gnzIje0TETEaduFJ RgIpj+Z1OLYOV0/iMwgaAW/8o2aHLejK1RcTwbNsr3y3P/cvlGdIQvpyS6xdfS0hPGgE c+IpSp3SNCJ5Ok37wdy42TcUvqQ3jIjnHC+gIWpEzn9ijJiCXemJycsqfh4WHN+GZD4G NSOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=bZRUkrej; dkim=fail header.i=@linux-foundation.org header.s=google header.b=iBFB49Wi; 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 z17si6057613pfh.136.2018.03.16.14.28.11; Fri, 16 Mar 2018 14:28:33 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=bZRUkrej; dkim=fail header.i=@linux-foundation.org header.s=google header.b=iBFB49Wi; 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 S1752010AbeCPV0u (ORCPT + 99 others); Fri, 16 Mar 2018 17:26:50 -0400 Received: from mail-it0-f52.google.com ([209.85.214.52]:39149 "EHLO mail-it0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751487AbeCPV0t (ORCPT ); Fri, 16 Mar 2018 17:26:49 -0400 Received: by mail-it0-f52.google.com with SMTP id e98-v6so3736889itd.4 for ; Fri, 16 Mar 2018 14:26:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=qb9iN9jD2Y6OxAGQTjs9258nOTjxQLmmriIJl94BicI=; b=bZRUkrejva6hZWoyFgxEqO87f+7Qb/LMtwnJ4ekg8US8k3jRPANeY15L4z1SsjRQ2W uZ8CR2bPDbWhxYRF+uft1vmN6OYSxMKmnC+WNpcGgF+5qw8Ni5n22Gf8rcFPTQ6FYWsa DEWtx13HJYb39f4Kk+kKq/FM7o8mR0ctA+VJ2bVmTcWtaiPNUlhuXyTkm82XYRwYbEv5 yupGSUKb5Yh5xjAuaHrsUz/C9NqcPTtcDhPuq52C6xcIVNu+BH5G7D8NnpkxowtcYLGo zr98q9CyuolKyGPWSGeV8qZe69GaCsooglZ6il6N53U2EAlVGSXtuU7Ap77smfCqizMZ yrGg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=qb9iN9jD2Y6OxAGQTjs9258nOTjxQLmmriIJl94BicI=; b=iBFB49WixGu5djTYhTEWBE6R/65rV1A8h/4RlSD7t5v20Zuq/UUiW6sJtqRytGM7kv 72a2NrrTESWlKeDmOtRTycJAGyik2dvBE75p7jn/mc1/1g3Zxh212Lck694MO4y9x/U5 WNYov80Hx9KqiKAkSwF0SlPbsYCuCczzeYyak= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=qb9iN9jD2Y6OxAGQTjs9258nOTjxQLmmriIJl94BicI=; b=tNt7b+4fMF+Ylg7ogXXws2/xdgCYVuesYzm+oYR+SkWvpZtkAaRNSC5qTg3Zpwu0s2 753YENXAKOP748mpaDn/L8Wb5p75CNzFzZQdsX6ttgGP9yLa9co9ULIpO/TyOcYVBmlB ezaXYgHOgy/nkY/UAK/csUwilLf362ppkxHhzROqnba3XbSAeAOApPap063iYYnNfOOB mg/ndCLz53nPCZxfmNAs18+YbPKk1uwl8sRVeIgB/MzPTWEaaXnidQlF2UX/CH9DwZTZ oKlJ8EGs6ikKWnOlzg6bG6gf2i/iD6n4pQjLh7lM8dMVd3JwUv/rR0fApqURdWurhlNH RPZg== X-Gm-Message-State: AElRT7ENel7xypcame/0hnVQCk6LhEllIbjqNw7W3phLqc3LazvT59TJ pKX2dfyJUfUms/7W45nKkfmS+XVlxXpCWLV6t8Y= X-Received: by 2002:a24:5989:: with SMTP id p131-v6mr3786315itb.113.1521235608300; Fri, 16 Mar 2018 14:26:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.135.221 with HTTP; Fri, 16 Mar 2018 14:26:47 -0700 (PDT) In-Reply-To: <20180316205607.lr6nmrkkzzbw2tqh@node.shutemov.name> References: <20180316182512.118361-1-wvw@google.com> <20180316205607.lr6nmrkkzzbw2tqh@node.shutemov.name> From: Linus Torvalds Date: Fri, 16 Mar 2018 14:26:47 -0700 X-Google-Sender-Auth: h-uNrhgQAnv1umDPBc7HeZDbFPY Message-ID: Subject: Re: [PATCH] mm: add config for readahead window To: "Kirill A. Shutemov" Cc: Wei Wang , Greg Kroah-Hartman , toddpoynor@google.com, wei.vince.wang@gmail.com, Andrew Morton , 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 , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 16, 2018 at 1:56 PM, Kirill A. Shutemov wrote: > > Increase of readahead window was proposed several times. And rejected. > IIRC, Linus was against it. I have never seen any valid situation that wasn't tuning for one odd machine, usually with a horribly crappy disk setup and very little testing of latencies or low-memory situations. And "horribly crappy" very much tends to include "big serious enterprise hardware" that people paid big bucks for, and that has huge theoretical throughput for large transfers, but is pure garbage in every other way. So I'm still very much inclined against these kinds of things. They need *extensive* numbers and explanations for why it's not just some uncommon thing for one setup. Linus