From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 223C2C4167B for ; Tue, 5 Dec 2023 08:53:13 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id B321B6B0083; Tue, 5 Dec 2023 03:53:12 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id AE0326B0085; Tue, 5 Dec 2023 03:53:12 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 982866B0087; Tue, 5 Dec 2023 03:53:12 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 826206B0083 for ; Tue, 5 Dec 2023 03:53:12 -0500 (EST) Received: from smtpin20.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 4C079120243 for ; Tue, 5 Dec 2023 08:53:12 +0000 (UTC) X-FDA: 81532150224.20.EAC6B89 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) by imf25.hostedemail.com (Postfix) with ESMTP id 81001A001B for ; Tue, 5 Dec 2023 08:53:09 +0000 (UTC) Authentication-Results: imf25.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=XLfrmNXP; spf=pass (imf25.hostedemail.com: domain of ying.huang@intel.com designates 192.198.163.8 as permitted sender) smtp.mailfrom=ying.huang@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1701766390; a=rsa-sha256; cv=none; b=qoD4VThsrK869tycoGTloB8QmGIePF1Xv7Orjn/ksEudSvZlOqJmBIQqgYez9vH4JbwnQh 0i/lkW6BCbrh/E6CFBRmJZtpZIOP1URyeP0ktDJtGh0fX2zp1BoecuJzZZf7NYgy2T+HH/ hVDXjDCy4XuQj04ZP1v2tqMD4Myq/Ng= ARC-Authentication-Results: i=1; imf25.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=XLfrmNXP; spf=pass (imf25.hostedemail.com: domain of ying.huang@intel.com designates 192.198.163.8 as permitted sender) smtp.mailfrom=ying.huang@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1701766390; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=xa7vIOYVy8YWwAxKK/JXOEaK/WWlAKueuWxY2W4b4i8=; b=8NhJP6QmXoF8jgEKxU8kSUCVOvMyAHg2pgGJgl3kqckgEY0RfVfqUIvX53gQtTA10tYOTd VqkDgicj6LK5G7O6Op+8kTbQTNTeHL6BR/n1yn+Vi1AmhYRDfGzWF3hs//oCTbqrRBEdFA yRxYqdHj3JWtkSUkp9o1Gep/bXKxSIg= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701766390; x=1733302390; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version; bh=OAnymHI0E/FbB1a+N2Y5yTsnAvAYHUXfvwkxqy1iJng=; b=XLfrmNXPYYM69CmNe+Ct7noe1M6IDriO5JpE8UBfItBXN2ouFvVkz3py HLpR69tfI+BmxEqFdPbx320hO/v5QE7rGDNnIRArTz+OCiGMMiTeDsg/S a0NJ1d2pPrPqPyN4lehmb3vI88YgLOjXSqO94zIjJm0R3gthjPP2eoc4J /XBGpXEs8jwJlWe6qovKQNw2QZvzwjxQ0n9bMTcl0NHrXN6u2MCd4rj3+ a2IBQMOnwGi6gk2Nm6WykznZarP+O+G2q0vG1AgA1DDav3di5uh03qnjY a7Fr2xCJAKaPl8nbJnCZyhE5pzPnHUbi8LCJoGEswsNrCftDd0SFtU6MI Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10914"; a="7156119" X-IronPort-AV: E=Sophos;i="6.04,251,1695711600"; d="scan'208";a="7156119" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Dec 2023 00:53:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10914"; a="720627545" X-IronPort-AV: E=Sophos;i="6.04,251,1695711600"; d="scan'208";a="720627545" Received: from yhuang6-desk2.sh.intel.com (HELO yhuang6-desk2.ccr.corp.intel.com) ([10.238.208.55]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Dec 2023 00:53:02 -0800 From: "Huang, Ying" To: Srinivasulu Thanneeru Cc: Michal Hocko , , , , , , , , , , , , , , , , , , Subject: Re: [EXT] Re: [RFC PATCH 0/2] Node migration between memory tiers In-Reply-To: <1db561a9-6984-418d-9305-a2a5ece93696@micron.com> (Srinivasulu Thanneeru's message of "Tue, 5 Dec 2023 01:26:07 +0530") References: <20231130220422.2033-1-sthanneeru.opensrc@micron.com> <1db561a9-6984-418d-9305-a2a5ece93696@micron.com> Date: Tue, 05 Dec 2023 16:51:02 +0800 Message-ID: <87jzpt2ft5.fsf@yhuang6-desk2.ccr.corp.intel.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=ascii X-Rspamd-Server: rspam08 X-Rspamd-Queue-Id: 81001A001B X-Stat-Signature: iqiijxx5scemacpcyqhiqbrqxqistjm8 X-Rspam-User: X-HE-Tag: 1701766389-698411 X-HE-Meta: U2FsdGVkX198lkIjV4F27jNole54vN+s/y3iqV3B7nfVZ7qP3whnTQ7pCX56FRBAPFFDABVgq9/NWPCR6vQaBBi7ZkOZ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dhI50H19NRTAcdM3NPFNJVRzfZ1W1nx8MBO7k8= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Srinivasulu Thanneeru writes: > On 12/4/2023 9:13 PM, Michal Hocko wrote: >> CAUTION: EXTERNAL EMAIL. Do not click links or open attachments >> unless you recognize the sender and were expecting this message. >> On Fri 01-12-23 03:34:20, sthanneeru.opensrc@micron.com wrote: >>> From: Srinivasulu Thanneeru >>> >>> The memory tiers feature allows nodes with similar memory types >>> or performance characteristics to be grouped together in a >>> memory tier. However, there is currently no provision for >>> moving a node from one tier to another on demand. >> Could you expand on why this is really needed/necessary? What is the >> actual usecase? > > Hi Michal Hock, > > Following two use-cases we have observed. > 1. It is not accurate to group similar memory types in the same tier, > because even similar memory types may have different speed grades. > > 2. Some systems boots up with CXL devices and DRAM on the same > memory-tier, we need a way to move the CXL nodes to the correct tier > from the user space. I guess that you need to move all NUMA nodes with same performance metrics together? If so, That is why we previously proposed to place the knob in "memory_type". -- Best Regards, Huang, Ying