Why AMD may have just solved the world’s memory shortage in one fell swoop

We all have a memory problem. Due to the incredible resources required by frontier AI such as ChatGPT, demand of memory (DRAM) is far outstripping supply. And we’re all paying the price, because the memory chipmakers have shifted the bulk of their resources to making DRAM for these high-paying customers rather than the lower-profit memory we need in laptops and PCs,

But what if you could cut demand in half by slashing the needs of those AI systems? To make them use DRAM like the precious resource it is, and offload some of the pressure to far less expensive flash storage? Achieve this and demand could drop by up to half.

The result: lower prices for frontier AI, less scary costs for hyperscalers such as AWS and ultimately (this will take time) lower prices for laptops and PCs. In short, a return to normality.

This article explains how Gary Smerdon, who started his career at AMD in the 1980s, took that idea and turned it into a technology and company called MEXT. A company AMD bought in June this year.

To make the story easier to follow, I’m going to keep the technical details of how the technology, now called AMD MEXT, works towards the end. You can skip this if you wish and jump straight to the industry reaction. But from everything I’ve seen, heard and read, this is real and it’s coming.

Questions remain, of course. Will hyperscalers take it up? Will enterprises? Is the technology too good to be true: one of those things that sounds great on paper but is ultimately too tricky to implement? How much does it matter that the technology is exclusive to AMD?

How AMD MEXT hopes to solve our memory problem

Here’s the central tenet of the AMD MEXT argument:

The graphic is based on a study by Meta last year. “What they found is that they had perfect memory capacity being used, 97%, 98%, but the pages of memory themselves, between 50 and 80% of them were not touched for five minutes, 10 minutes, or even longer,” said Smerdon at an AMD “In Depth” event I attended in Las Vegas earlier this month. “Five minutes to EPYC is an eternity, and look at how much of that memory is sitting cold in those highly tuned applications.”

The trouble is, how do you know which bits of data can be safely hived off and which bits are so desperately necessary that if they’re not kept in memory your applications will stall? This, of course, is where AI comes in.

“The idea came up: what if we could use AI to hide the latency, to mitigate this latency challenge?,” said Smerdon. “You see, EPYC wants to work out of its cache. But when pages of memory are cold, we can push them off [onto flash storage], and there’s literally no impact on performance. Why? They’re not being accessed. They’re not being used.”

So the team at MEXT created a model that essentially predicts which bits of data will be called upon next. Data that isn’t needed imminently, according to the AI model, can be removed from DRAM and pushed into an extremely fast SSD. This is the “flash” that Smerdon is talking about.

“Another way of putting it is that we transparently make flash appear as DRAM.”

How AMD’s MEXT AI model works

Smerdon also shared a few details on how the MEXT AI model works. “The workforce model is a Transformer derivative model, just like ChatGPT or Claude or the other famous models,” he explained. “But instead of predicting, for example, in the case of text, ‘what word is next?’, what we’re doing is predicting what page of memory is going to be required next, and so we predict what pages [of memory] are needed.”

AMD slide showing how AMD MEXT AI engine works

The other parts of the solution are a lightweight Linux kernel module that, AMD claims, works with any Linux distribution. AMD is also rolling out “RAM View”, a platform that allows hyperscalers and enterprise customers to see how they memory is being utilised in real-time.

As hinted at above, the crucial physical component is a PCIe SSD. Once installed, this appears to the server as available memory via the AMD MEXT software. You can watch a short demo of it at work in the video below.

What do the numbers say?

This all sounds interesting in theory, but what about practice? Before I move onto reporting AMD’s claims, I should emphasise that this is not independent testing. By definition, AMD will only be sharing the figures it wants to share, and we don’t know the level of hand-tuning that may have been necessary to achieve them.

But even with all that said, the numbers are pretty damn impressive. This is probably the key slide:

AMD slide showing performance of DRAM versus AMD MEXT plus DRAM

Spark is an in-memory database and here it’s running in Microsoft Azure, with three physical servers working together as a single system (a node). Each server included a 5th Gen AMD EPYC chip. According to AMD, when it replaced half the DRAM with MEXT, the node managed to hit 99% of performance in Spark. Which is, frankly, pretty incredible.

It’s also noteworthy because those results in Spark are a good proxy for the data-heavy workloads that hyperscaler instances run on every minute of every day. AMD claims that MEXT technology also works extremely effectively in specialist workloads such as chip design. And it knows, because it’s used it for this, as I cover later.

This isn’t simply a matter of saving money: if you can double the memory on a system then you can double the number of workloads run per system. Which has a knock-on effect in terms of power and space efficiency for a data centre. To massively oversimplify, for certain workloads you can squeeze the equivalent of two data centres in the space of one.

AMD MEXT and agentic AI

Very briefly, let’s talk about agentic AI. After all, this is the huge driver when it comes to building data centres right now. “We take away half of the DRAM, and we achieve 99% of the performance in excess of 1.9x here shown as performance per DRAM-dollar,” said Smerdon, referring to an AMD EPYC Venice server running five agents at the same time.

AMD slide showing performance of DRAM + MEXT vs DRAM in terms of performance per DRAM-dollar

The next line on the graphic above is equally telling. When AMD switched its focus to the most memory-hungry of those five agents, it found they still achieved 90% performance levels. And when AMD replaced a further chunk of DRAM with MEXT flash, the systems were still achieving strong levels of performance whilst hugely improving their value (as measured by performance/DRAM dollar).

And just in case you were wondering how much of the cost of a typical server is these days, Smerdon pulled out this graphic right at the start of his presentation:

AMD slide showing breakdown of cost for a typical server

AMD eats its own dogfood

As is so often the case when a company introduces a new technology, AMD used itself as the guinea pig.

Even gigantic tech companies want to make the most of their server portfolio, and while AMD could have upgraded its fleet of 4th and 5th Gen EPYC servers with more DRAM, that’s hideously expensive. Why not use the newly acquired MEXT technology instead?

In September, only two months ago, it started to roll out MEXT to 86 of its servers. AMD reckons that the cost of a DRAM upgrade to all of them would have been around $3.3 million: choosing MEXT dropped that to $600,000. In total, at the time of its case study’s publication in October, AMD had added around 58TB of “memory” capacity.

AMD slide showing deployment of MEXT technology

By the time I saw Smerdon speak earlier this month, 145 systems had been upgraded with “estimated savings in avoided DRAM cost at $5 million, and that’s growing pretty much on a daily basis,” he said. “Just over the last week, I’ve had to update the slide twice as we prepared for this because the number of installations keeps going up, and the overall cost savings per system is 83%.”

By the end of the rollout, in a year’s time, AMD estimates that around 700 servers will have been upgraded with a saving of roughly $21 million.

AMD MEXT Ready: what does it mean?

AMD says that it is currently in “phase 1” or “MEXT Ready”. As it’s showing with its own estate of servers, you can upgrade certain current servers by adding NVMe drives and using MEXT software. Suitable servers, which will have been on sale for a while now, will then be considered “MEXT Ready” and marked as such on the vendor page.

So what does MEXT Ready actually mean?

“Being MEXT Ready means that you have plenty of cores because you need the cores for today, but as you expand your memory over time, you want to be able to have the additional cores needed to take advantage of that memory, keeping the ratios intact with where they should be,” said Smerdon. “The second thing is to make sure there’s a NVMe drive either in place or that can be added in the future, and so having that made available.”

So far, however, only HPE has publicly said that it’s working with AMD to create MEXT Ready systems. “We’re super excited to lean on things like MEXT, which we’re testing now,” said John Carter, VP, Compute Business Unit, HPE.

“I’m really excited to see how that changes the conversation because it removes one of my biggest constraints right now, which is the memory situation. So that means that customers in the same budget can go deploy more. So not only can they invest in their AI, they can modernise the rest of their general purpose infrastructure at the same time and get the same response.”

Carter said that during a panel at the same In Depth event where Smerdon gave his presentation. Notably, Carter was sitting next to representatives from Dell, Lenovo and Supermicro, who were either more cautious about MEXT’s potential or hadn’t yet had an opportunity to put it to the test.

Either way, don’t expect to see heaps of servers on sale with a MEXT Ready badge plastered on them in the coming months. I suspect the real impact to come with selected 6th Gen AMD EPYC Venice systems that have been designed with MEXT in mind. Or, Phase 2 as AMD calls it.

AMD MEXT Phase 2: AMD EPYC Venice… and HPE?

AMD slide showing Phase 1 and Phase 2

Unfortunately, the timing for Phase 2 is hazy. For instance, I don’t expect to hear anything at all about AMD MEXT at this week’s HPE Discover Barcelona event, despite the likely release of more HPE ProLiant Gen13 servers based on AMD EPYC Venice chips.

However, it does seem likely that HPE will be the first vendor to have Phase 2 AMD MEXT products on offer, which will come with MEXT licences and a memory observability tool called RAM View.

AMD slide showing RAM View observability tool

RAM View will allow customers to see how effectively their RAM is being used with current workloads. “We’ve worked hard to make it very lightweight so that it can actually be running all the time in the system,” said Smerdon. “It can be captured on the same system, or it can be sent out to a collector, and so you can be collecting across you know dozens, hundreds, thousands of systems, but it’s really intended as an expansion of the EPYC capability.

“So, basically, EPYC customers being able to see what’s happening under the hood in those systems relative to the memory, so not a specific cost for it.”

All of which means that enterprises and hypervisors can make sure their servers’ memory is being used optimally. If not, they can do something about it.

What happens next for AMD MEXT

Right at the start I mentioned that questions remain. Who will buy it? Does AMD MEXT sound too good to be true? Does the exclusivity to AMD matter? But I’ll add a further one: how long will we have to wait for AMD MEXT to have an impact?

First things first: there is obvious demand for this technology. One that can, in theory, extend the lives of existing hardware, make new hardware almost twice as efficient, and hugely cut down costs to hyperscalers and enterprises alike. The fact that Smerdon could quote results on Azure already suggests it’s working with Microsoft on pilot projects.

I don’t think it sounds too good to be true, either. While Smerdon mentioned that some workloads respond less well to MEXT than he would like, the tech is based on an AI model that is only going to improve. To quote D-Ream, things can only get better.

But the real question is how quickly all this can coalesce into easy solutions that hyperscalers can roll out at scale and enterprises can drop into their current estates. My best guess is 2-5 years, by which time the cost of DRAM may be less of an issue.

However, I still believe that AMD MEXT technology will have a big impact over the next decade. That’s in part due to the inherent nature of high-end, high-capacity DRAM: price goes up exponentially with density. For example, a single 256GB stick of DRAM currently costs around eight times the cost of a 128GB stick. So MEXT will give organisations a cost-effective way to increase their memory density.

Looking much further ahead, I also hope to see AMD MEXT roll down to workstations and even laptops.

When asked about this during a Q&A session, Smerdon simply said “noted”, perhaps with a small smile. And he added: “I feel like we’re just at the beginning. The company sees the opportunity across many different things, and so that’s certainly part of how we should be looking at.”

About The Author

Avatar photo

Tim Danton

Tim has worked in IT publishing since the days when all PCs were beige, and is editor-in-chief of the UK's PC Pro magazine. He has been writing about hardware for TechFinitive since 2023.

Read more from this author.

We take journalism seriously. To learn more on why you should trust us, head to our editorial guidelines page or meet our team.