Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3169717ybz; Sun, 19 Apr 2020 19:40:37 -0700 (PDT) X-Google-Smtp-Source: APiQypI5EzFujUplHJx6gpYJS7ok8WFyTqG1AJ9mhPQjwbwNNSjqUZZHoWFepDZKNrrlga2HepIK X-Received: by 2002:aa7:d513:: with SMTP id y19mr12693241edq.367.1587350437072; Sun, 19 Apr 2020 19:40:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587350437; cv=none; d=google.com; s=arc-20160816; b=uwUJYD1HLpxwCXA39PXDMKhs2o0TDvaLt0httJIFfi0vxBXN/xBwfCG58ln+OpwI9Z YoWVi9Y+e/UnL70N2N548I9GLIXqaU7WR90drsyUQTBNXy7sDoQ0qRqrxO75fEOs402W p65lQ22DotMq4gNfeRu18+NOCW3mMXtE61vFiUWUGFJenjq2NZZA1EoCZ+9chm0Ur4jX VZT67fRDpYMV5rr/Ytczpkwsntg72nwldw5QNtxaB51U+xqlf+5savDW0WKmqivuij5A LBkf/nxMj6c6Vjh3VpE08H/QAGiF4PF1TmlmJe8fLqO0wL4FH5f74BBrX2b2hcb/9dYM o0Tw== 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:message-id :in-reply-to:date:references:subject:cc:to:from:ironport-sdr :ironport-sdr; bh=98jzIL4880NIfPh4XP5X/7sEPJT6N7DG70WrsEmAVOg=; b=KRd718fgjOxB10F0mq7LCe29VNTMEHvwZXHPjdJ+2CBYUmD0No+s7NqConm6Sq5SwY bHcO1CmdiL+AhSDSYqwWgkTEt/y8f2bn9NEn6yATHWA4dmcVbBc0/NW9zy7/tr8j4u+e DXtMs2wscINIu0xRnS7H5sbLGsTP/TCAe0PQeGXqnS2NnL00Nw2RkqsJCZugKjSXDXPK 9AwtGkP7AU4yGE1GXnN9fjaKgaIC9G/YS/Pt2mR9Z58QbxUIeQC6CG+/CEskhQUn2aLk yjqN9MqfZABgmJ1KQQ0ho+lDUBOmEoufEhY5AkhPippAQwQncfNklAguYEhG4s4vXUkO njvg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o18si16700248ejr.273.2020.04.19.19.40.13; Sun, 19 Apr 2020 19:40:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726109AbgDTCc5 (ORCPT + 99 others); Sun, 19 Apr 2020 22:32:57 -0400 Received: from mga03.intel.com ([134.134.136.65]:20233 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726083AbgDTCc5 (ORCPT ); Sun, 19 Apr 2020 22:32:57 -0400 IronPort-SDR: 8B/KEnNtY3CoaqCvvopdSmeKlHNAHeXpyUqJ5fhxl6iHtY88GUjylId4a1bfJnKoBrtrmCQxjE e8Klx+Vnxq4A== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Apr 2020 19:32:57 -0700 IronPort-SDR: CSVLQz9oXuocuFRvUvZLxSkA5EA1wVP/y9a1uB6hCn7SceHMo+m5DghLzVubub3hZrBGu7MpHM gthpS6iHBU3g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,405,1580803200"; d="scan'208";a="279092743" Received: from yhuang-dev.sh.intel.com (HELO yhuang-dev) ([10.239.159.23]) by fmsmga004.fm.intel.com with ESMTP; 19 Apr 2020 19:32:54 -0700 From: "Huang\, Ying" To: SeongJae Park Cc: Mel Gorman , SeongJae Park , Mel Gorman , Peter Zijlstra , , , Ingo Molnar , Rik van Riel , Daniel Jordan , Tejun Heo , Dave Hansen , Tim Chen , Aubrey Li Subject: Re: [RFC] autonuma: Support to scan page table asynchronously References: <20200418094811.4757-1-sj38.park@gmail.com> Date: Mon, 20 Apr 2020 10:32:53 +0800 In-Reply-To: <20200418094811.4757-1-sj38.park@gmail.com> (SeongJae Park's message of "Sat, 18 Apr 2020 11:48:11 +0200") Message-ID: <877dyaubsa.fsf@yhuang-dev.intel.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=ascii Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SeongJae Park writes: > > DAMON allows users to know which address ranges have which access frequency. > Thus, I think DAMON could be used for detection of hot pages, which will be > good migration candidates, instead of the NUMA hinting fault based referenced > pages detection. > > The benefits I expect from this change are better accuracy and less overhead. > As we can know not only referenced pages but hot pages, migration will be more > effective. The purpose of AutoNUMA scanning isn't to find the hot pages, but the pages that are accessed across NUMA node. PTE accessed bit cannot provide information of accessing CPU, so it's not enough for AutoNUMA. Best Regards, Huang, Ying