linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: David Hildenbrand <david@redhat.com>
To: Matthew Wilcox <willy@infradead.org>,
	David Rientjes <rientjes@google.com>
Cc: John Hubbard <jhubbard@nvidia.com>, Zi Yan <ziy@nvidia.com>,
	Bharata B Rao <bharata@amd.com>,
	Dave Jiang <dave.jiang@intel.com>,
	"Aneesh Kumar K.V" <aneesh.kumar@linux.ibm.com>,
	"Huang, Ying" <ying.huang@intel.com>,
	Alistair Popple <apopple@nvidia.com>,
	Christoph Lameter <cl@gentwo.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Dave Hansen <dave.hansen@linux.intel.com>,
	Mel Gorman <mgorman@suse.de>, Jon Grimm <jon.grimm@amd.com>,
	Gregory Price <gourry.memverge@gmail.com>,
	Brian Morris <bsmorris@google.com>, Wei Xu <weixugc@google.com>,
	Johannes Weiner <hannes@cmpxchg.org>,
	linux-mm@kvack.org
Subject: Re: [RFC] Memory tiering kernel alignment
Date: Mon, 29 Jan 2024 11:27:48 +0100	[thread overview]
Message-ID: <fe1224d2-18e7-4cbd-a9ea-7d3f4995c76d@redhat.com> (raw)
In-Reply-To: <ZbLCPO7cI2LmNhnD@casper.infradead.org>

On 25.01.24 21:19, Matthew Wilcox wrote:
> On Thu, Jan 25, 2024 at 12:04:37PM -0800, David Rientjes wrote:
>> On Thu, 25 Jan 2024, Matthew Wilcox wrote:
>>> On Thu, Jan 25, 2024 at 10:26:19AM -0800, David Rientjes wrote:
>>>> There is a lot of excitement around upcoming CXL type 3 memory expansion
>>>> devices and their cost savings potential.  As the industry starts to
>>>> adopt this technology, one of the key components in strategic planning is
>>>> how the upstream Linux kernel will support various tiered configurations
>>>> to meet various user needs.  I think it goes without saying that this is
>>>> quite interesting to cloud providers as well as other hyperscalers :)
>>>
>>> I'm not excited.  I'm disappointed that people are falling for this scam.
>>> CXL is the ATM of this decade.  The protocol is not fit for the purpose
>>> of accessing remote memory, adding 10ns just for an encode/decode cycle.
>>> Hands up everybody who's excited about memory latency increasing by 17%.
>>
>> Right, I don't think that anybody is claiming that we can leverage locally
>> attached CXL memory as through it was DRAM on the same or remote socket
>> and that there won't be a noticable impact to application performance
>> while the memory is still across the device.
>>
>> It does offer several cost savings benefits for offloading of cold memory,
>> though, if locally attached and I think the support for that use case is
>> inevitable -- in fact, Linux has some sophisticated support for the
>> locally attached use case already.
>>
>>> Then there are the lies from the vendors who want you to buy switches.
>>> Not one of them are willing to guarantee you the worst case latency
>>> through their switches.
>>
>> I should have prefaced this thread by saying "locally attached CXL memory
>> expansion", because that's the primary focus of many of the folks on this
>> email thread :)
> 
> That's a huge relief.  I was not looking forward to the patches to add
> support for pooling (etc).

The issue is that CXL standard is at this point extremely 
over-engineered with obscure use cases, and features that feel 
completely detached from reality -- especially, what a commodity OS can 
support and would be willing to support.

Thanks for expressing what I've been thinking all of the time. CXL is 
IMHO great for cheap (slow/cold) memory, GPGPUs etc, and I'm hoping that 
will be the primary focus for the near future -- not all of that dynamic 
capacity, memory pooling etc crap (sorry).

-- 
Cheers,

David / dhildenb



  parent reply	other threads:[~2024-01-29 10:27 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-25 18:26 [RFC] Memory tiering kernel alignment David Rientjes
2024-01-25 18:52 ` Matthew Wilcox
2024-01-25 20:04   ` David Rientjes
2024-01-25 20:19     ` Matthew Wilcox
2024-01-25 21:37       ` David Rientjes
2024-01-25 22:28         ` Gregory Price
2024-01-26  0:16         ` SeongJae Park
2024-01-26 21:06         ` Christoph Lameter (Ampere)
2024-01-26 23:03           ` Gregory Price
2024-01-28 20:15         ` David Rientjes
2024-01-29 10:27       ` David Hildenbrand [this message]
2024-01-26 20:41   ` Christoph Lameter (Ampere)
2024-01-26  0:04 ` SeongJae Park
     [not found] ` <tsnp3a6oxglx2siv7aoplo665k7xsigkqtpfm5yiu2r3wvys26@3vntgau4t2gv>
2024-01-26 14:31   ` John Groves
2024-02-29  2:04 ` Davidlohr Bueso
2024-02-29  4:01   ` Bharata B Rao
2024-02-29 18:23     ` SeongJae Park

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fe1224d2-18e7-4cbd-a9ea-7d3f4995c76d@redhat.com \
    --to=david@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=aneesh.kumar@linux.ibm.com \
    --cc=apopple@nvidia.com \
    --cc=bharata@amd.com \
    --cc=bsmorris@google.com \
    --cc=cl@gentwo.org \
    --cc=dave.hansen@linux.intel.com \
    --cc=dave.jiang@intel.com \
    --cc=gourry.memverge@gmail.com \
    --cc=hannes@cmpxchg.org \
    --cc=jhubbard@nvidia.com \
    --cc=jon.grimm@amd.com \
    --cc=linux-mm@kvack.org \
    --cc=mgorman@suse.de \
    --cc=rientjes@google.com \
    --cc=torvalds@linux-foundation.org \
    --cc=weixugc@google.com \
    --cc=willy@infradead.org \
    --cc=ying.huang@intel.com \
    --cc=ziy@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).