Re: [EXT] Re: [RFC PATCH 0/2] Node migration between memory tiers
From: Huang, Ying <hidden>
Date: 2023-12-05 09:14:53
Also in:
linux-cxl, linux-mm, lkml
Srinivasulu Thanneeru [off-list ref] writes:
On 12/4/2023 9:13 PM, Michal Hocko wrote:quoted
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:quoted
From: Srinivasulu Thanneeru <redacted> 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.
The case 2 reminds me a RFC before as follows, https://lore.kernel.org/linux-mm/20221027065925.476955-1-ying.huang@intel.com/ (local) The basic idea behind is that do we really need to put NUMA nodes with different performance metrics in one memory tier? Are there use cases? Will we have a system with so many different types of memory? As in your case, you don't want to put DRAM and CXL memory in one memory tier. Do you think we will need to put two types of memory in one memory tier? -- Best Regards, Huang, Ying