Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp145070rdb; Tue, 5 Dec 2023 00:53:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IHzwH2ZhPz3mOSfogK56rpncySMMdjmw5RhGnuGKLQsqkMnjzLYbtq6rxxQ9m1Fh1GABb6M X-Received: by 2002:a17:90b:3551:b0:286:c7af:b68e with SMTP id lt17-20020a17090b355100b00286c7afb68emr996906pjb.72.1701766401018; Tue, 05 Dec 2023 00:53:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701766401; cv=none; d=google.com; s=arc-20160816; b=vruxkUbWZpg+DXrQ2TKbhXPbMDeB6PGI3TYV9Jo5ez18FbOyZCYlq3FkCd5OaJ5BSm ZTiNL2TCb25Zi3QqRMB+/xno79LSQWPlO3akQLupTVFdfjSuvgHapdAViynL0vIuHsTH j/gY9T7kAKQkcmamWD9D8Dh/dICXn0s1offsUIUUFTuJh90w/rte1w2kXroXx9evkPNX vZPmONucDdWTMKJ+edpm2EeYkxZI+xjQ3Qsxq91aEuScEe8IVVvNCSYSMrKzCTc74BaI d4CGfe4yNEGBtmmRQqzZ2BQ/fx7CVNKBDhM46siyL0SFWuQ7U/EtAA+L3iVxSL33IvTi tvmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:dkim-signature; bh=xa7vIOYVy8YWwAxKK/JXOEaK/WWlAKueuWxY2W4b4i8=; fh=VSnhXHqfUZ3cScTa15g9Sizr5oGNx4Fn/XxU17RwpXA=; b=olY6cprcYrOsRWEwrlLXLeqN7H21YHC5n/rhzIAu7SyQqTl7Fp5Z1z0xBjW94N4hY7 aV3hdXnr79NKpxtTFv8ydasUIcSIXdAj9+fJIUcV6YduFc9Z9E5ruXaSBGAC8iiKh5Gw eiGfuZ7Jty5OxqlilfyrT3tS8BrcJMofgXTY+tEL1JprNw6hJ5Dy/G5UwqeEOdjY/Zj2 JdzsNpSrPyxXIOsfYGE8Zet6APV/ZJu/fPyAz8yoiHPV3hNlcJjhLvGMMVrykWUaHkWT Z7HZh2VdHLkGBE9Ku+UQw7462UYnvY1WXktRnawNCSm5nOBYw7X4yBe2CeBHxPWAQS0B FNNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OPB+snOS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id m1-20020a170902768100b001c7347e993esi8950315pll.17.2023.12.05.00.53.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 00:53:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OPB+snOS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 4A69F807C858; Tue, 5 Dec 2023 00:53:18 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231794AbjLEIxB (ORCPT + 99 others); Tue, 5 Dec 2023 03:53:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229980AbjLEIxB (ORCPT ); Tue, 5 Dec 2023 03:53:01 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8F24C9; Tue, 5 Dec 2023 00:53:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701766388; x=1733302388; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version; bh=OAnymHI0E/FbB1a+N2Y5yTsnAvAYHUXfvwkxqy1iJng=; b=OPB+snOSpMmRHKDv6KvuH6OdVrPI+a4SL93tbno4gKCz6+dfxZCiyDMo hcfx8jNf3GQcIxnaZMaak3Mpk6jWGy6fbmcbQagih7CRc1r2Y5trXFVh/ CimavKkfH27Y+OJ49ZNV9qITOY/OS9iIEyLUbuF7oSDxs4SICzeiqx0Oh 6vBs0oRSFoHj4io0mJ9BJvPt/qksD2AKhWXjnPx+AhgyTSWp1mPWBNbf2 cVr3bkoApKXO+o2681kblIfGcYv+ScsPIk2DDFv0ouiMm4A25m2NVwRx1 BAFJ8b99QUR22c3yVbdWf8iLXrx3Jejkn2XO/Ue286bNAvZpJJEIgH3Tf g==; X-IronPort-AV: E=McAfee;i="6600,9927,10914"; a="7156115" X-IronPort-AV: E=Sophos;i="6.04,251,1695711600"; d="scan'208";a="7156115" 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-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 05 Dec 2023 00:53:18 -0800 (PST) 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