Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2005665imu; Sat, 22 Dec 2018 09:59:15 -0800 (PST) X-Google-Smtp-Source: AFSGD/WD5q960coD+uGg6mxxy77KK8Dlu/NN0UHaXiTkYA527gltzGJh0c2D9A9nn0kIr0EmZx8M X-Received: by 2002:a62:8dd9:: with SMTP id p86mr7188828pfk.143.1545501555770; Sat, 22 Dec 2018 09:59:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545501555; cv=none; d=google.com; s=arc-20160816; b=V0G7FQ4aLDWlF11d/P/u9U79OIwcAy1+bADlh3+9mc+WBJBxSgr9Jl813gt8zJoZIW l/kOFXBERMgBCM6k17Jswzf4pzGE8NuvErnpTyWQmPHOurVaBX62UoKWe8DD85cVAGrL p9UDo84UI0azUQFgeQXLB4vA11nqzeil+8s+PagzxDNDnSfuc82D9wiEDPK+SQ+exIK+ 407aLL9wyN0aYmuOYCFcoAoolQ5/8xwEo22RYQEbxlKqiLBEINe4Pl+CPiA7dpW8zX+x MniOQijGkLoQPfRwMbA0BqdSqDdb+l+9OeHeuE0MhS9uUMplG0plMkx/GLSyhpcR18om EQ0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=1oXyv+hyR8LAS/wcEoKMlkajidxeADrKp4+muhyFn0c=; b=R/8h87Sgk8ne5ZI5JRJB+Bw5Ypzd2EX98qGPmFe3UoIKSv/Yn6I2ZIUv47NZ8EXZn3 mBgGbmi9lhYdMfGihR8OQBESPMJSjKJs7/RfyrCQFuz0o+VAN7COovw4O9De+r2md5Zq 8gGNFRabi+Uw/GRxmkDjctLko76Ev3loIwE5cFeR4UsldPhF7o8I93X4qYE+GLESdrXw KvtYvRq6T0RbnzBTYRytEVmv28u9jZNbtRCOSLiV23Fc/d31RsrY0Kx0IYFJF9QJru36 e/2mlU8a9IMI+IeLGOkDg6c/zSI7vRs3mriLURCR6H3VK0oOHNjRPl1JR0zvtzOUWdFH DycQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=KHfOqRy4; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p12si21753960pgl.106.2018.12.22.09.58.59; Sat, 22 Dec 2018 09:59:15 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=KHfOqRy4; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392143AbeLUWPQ (ORCPT + 99 others); Fri, 21 Dec 2018 17:15:16 -0500 Received: from mail-pl1-f194.google.com ([209.85.214.194]:42162 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730887AbeLUWPQ (ORCPT ); Fri, 21 Dec 2018 17:15:16 -0500 Received: by mail-pl1-f194.google.com with SMTP id y1so3061854plp.9 for ; Fri, 21 Dec 2018 14:15:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=1oXyv+hyR8LAS/wcEoKMlkajidxeADrKp4+muhyFn0c=; b=KHfOqRy4hLY3Oy5yLkM42F1EPhIhiAXcW1H5J5OdX1KxMx+E/Gp15PXT+y6p/rXQXp uuP4VXAtjRs/uFL+37Sgst66A6djQM21LfrMtL4qABYaf/XVx0xOPzCc7TVB6WN7nCPg FsleqKf4mrPDCtbSUbW+2TIQnq2+udupd9McFfKBrQgCvYfTHTLQoeMZQCCRQK0wstu/ asVkwp7zd+268ywl1J561G268eluABV2uRrs9fEKVYw8a/px5FbfMfIZfhMQSkiSNqsN lCAfueQiItSFmDQBhmFgPLWFrqOraq7+x7uj3EcEMjmLw45dXB8QII3PYYyMA6WG0Jn3 /cLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=1oXyv+hyR8LAS/wcEoKMlkajidxeADrKp4+muhyFn0c=; b=JnuBnOt1vJazBz4k6zhCd9abtk63s6QhrNuuCtPKwh3HYzHVB47i1bPmwyxl62A530 +10X64x6JFVIB4YZ34ybA7uMg2/a2FA5wJVC6fwApEkE9A64qM+YvE+5AohxZh4pib2n FeZXS+Ky05tZwfhljNku/e/iRS/zFUEhZ6F6oSt0fZt3dfbRokbTkzERL6tI/luGjGlO Z5BBSIwiQTFM9Umd/LCi5IDrLQYh+f32+ByMzTu3spQR8m6C6rK5MH+3fBoHuQ+vu98i A13ANB8zA/62/MeRER5vampybKNd5QrwYFWJBdjRy4nGsBxAbujtFtzyYxwHPiUZ3B8l e8KA== X-Gm-Message-State: AJcUukd6fONXtmLEnUMUhg1nDSaV4g8C70KR3SpVR0sDtDgCfbfBR5jT c0WzvYAshMn01PVPbt/iwAsXZQ== X-Received: by 2002:a17:902:4225:: with SMTP id g34mr4379112pld.152.1545430514776; Fri, 21 Dec 2018 14:15:14 -0800 (PST) Received: from [2620:15c:17:3:3a5:23a7:5e32:4598] ([2620:15c:17:3:3a5:23a7:5e32:4598]) by smtp.gmail.com with ESMTPSA id p2sm33052806pfp.125.2018.12.21.14.15.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 21 Dec 2018 14:15:05 -0800 (PST) Date: Fri, 21 Dec 2018 14:15:05 -0800 (PST) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Mel Gorman cc: Vlastimil Babka , Andrea Arcangeli , Linus Torvalds , Michal Hocko , 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 In-Reply-To: <20181214231147.GF29005@techsingularity.net> Message-ID: References: <20181205233632.GE11899@redhat.com> <20181210044916.GC24097@redhat.com> <0bbf4202-6187-28fb-37b7-da6885b89cce@suse.cz> <20181214231147.GF29005@techsingularity.net> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 14 Dec 2018, Mel Gorman wrote: > > In other words, I think there is a lot of potential stranding that occurs > > for both scanners that could otherwise result in completely free > > pageblocks. If there a single movable page present near the end of the > > zone in an otherwise fully free pageblock, surely we can do better than > > the current implementation that would never consider this very easy to > > compact memory. > > > > While it's somewhat premature, I posted a series before I had a full set > of results because it uses free lists to reduce searches and reduces > inference between multiple scanners. Preliminary results indicated it > boosted allocation success rates by 20%ish, reduced migration scanning > by 99% and free scanning by 27%. > Always good to have code to look at, I'll take a closer look. I've unfortunately been distracted with other kernel issues lately :/