Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1954977imu; Fri, 14 Dec 2018 03:33:57 -0800 (PST) X-Google-Smtp-Source: AFSGD/WaO8LH+BHV5KVeV/6B6kx1m4UXrbCXyXk4l51S6449onMAVequa3LRgJXZq7iw6SQb4sft X-Received: by 2002:a63:d604:: with SMTP id q4mr2334760pgg.175.1544787237109; Fri, 14 Dec 2018 03:33:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544787237; cv=none; d=google.com; s=arc-20160816; b=q93IzWtKDxzwbJWMk8c5OyeYGOY70Nxbp+VMO630NJkCwwDO6VCzvB0ya2kyanIuGa 5Et0fBkUihv74KIxA9mrTNPh9XWt85uaec5rshSKFTFcHCY4sxXkmTuXReDxkN9iUWHV MRPQeGbyhizLEFQ6xnkTNCA75A0emBHGicTX4+GOzA9+25dxOCpMVBa6N0iPRzr2plY7 PRBilqwfm2t21ft+j7QPkTjBm+4/WngyQi/YWJUM0D/ak+U4uXvpphXquwyOLmTrmUew PDFNIrjup0/VF0qbQmdq9SuXcY6T1nIcqPmStIWNPdMWw8dOMr72UFiPHugGYn690b1E B6VA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=lLUaQnAQVk68ozQorBufCS51iUvmxMeDB8TBt6BpREI=; b=bfQuaFPvhzmUHxag9+nYOw1k3SktV0+zVcv6H08Q2ovP74ZLCPSzRV/317WhIAUlJ+ ldvA4+TdtqtXm84pRaWPK3r2O+d5DYJPrFddsS9zUQWMfDUIOxL7o8ciHaxWznvhrJLJ kb//pTVhO/KIY6SAWurYvOqwW7AESFo0BG9x8aFcpOG3oqpwdTZ93OJYWO19p4M9lCca C1NRNW9TLYhDAUeiiJiZh8QXCNAc7iukCZOmiDINKJddgO4KfKzhhfBWf84QLCLBarWC sdoVMI9PRgRNzIXHmk/0f82foo7GpGKYZGyKvb+d7WFhe8TOGU7Sf/0NCxMf71Nu99mw mCAw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z71si3678482pgd.490.2018.12.14.03.33.38; Fri, 14 Dec 2018 03:33:57 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729298AbeLNLcp (ORCPT + 99 others); Fri, 14 Dec 2018 06:32:45 -0500 Received: from mx2.suse.de ([195.135.220.15]:35316 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726527AbeLNLcp (ORCPT ); Fri, 14 Dec 2018 06:32:45 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 3B228AE54; Fri, 14 Dec 2018 11:32:43 +0000 (UTC) Date: Fri, 14 Dec 2018 12:32:41 +0100 From: Michal Hocko To: Andrea Arcangeli Cc: David Rientjes , Linus Torvalds , mgorman@techsingularity.net, Vlastimil Babka , ying.huang@intel.com, s.priebe@profihost.ag, Linux List Kernel Mailing , alex.williamson@redhat.com, lkp@01.org, kirill@shutemov.name, Andrew Morton , zi.yan@cs.rutgers.edu Subject: Re: [LKP] [mm] ac5b2c1891: vm-scalability.throughput -61.3% regression Message-ID: <20181214113241.GC5343@dhcp22.suse.cz> References: <20181205233632.GE11899@redhat.com> <20181210044916.GC24097@redhat.com> <20181212095051.GO1286@dhcp22.suse.cz> <20181212170016.GG1130@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181212170016.GG1130@redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 12-12-18 12:00:16, Andrea Arcangeli wrote: [...] > Adding MADV_THISNODE/MADV_NODE_RECLAIM, will guarantee his proprietary > software binary will run at maximum performance without cache > interference, and he's happy to accept the risk of massive slowdown in > case the local node is truly OOM. The fallback, despite very > inefficient, will still happen without OOM killer triggering. I believe this fits much better into a MPOL_$FOO rather than MADV_$FOO. But other than that I full agree. There are reasonable usecases for the node reclaim like behavior. As a bonus you do not get local node only but all nodes within reclaim distance as well. -- Michal Hocko SUSE Labs