5 min read

The DRAM Shortage Is Making RAM-Heavy Data Pipelines Expensive

Server vendors are repricing AI hardware by up to 45%, and memory-heavy CPU nodes have more than tripled in price, while flash is about to get cheaper. Training pipelines that lean on host RAM should move that load to flash and storage.

Training Pipes Team
Two DRAM memory modules lying on a grey surface

Most coverage of AI hardware costs is about GPUs. This week the sharper number was about memory. Server vendors are going back to customers with price increases of up to 45% on AI servers, and CPU nodes, where memory is a bigger share of the bill, have more than tripled.

That matters for teams that train models because the parts of a training pipeline that run on CPUs and host RAM, such as data loading, preprocessing and checkpoint staging, are exactly the parts that just got most expensive. At the same time, flash storage prices are forecast to start falling. The cheap fix is to move work from RAM to flash and storage.

What happened

Server prices are being renegotiated after contracts are signed

On November 23, TrendForce reported, citing the Financial Times, that Dell, HPE, Lenovo and Supermicro are asking customers for more money when equipment is ready to ship, even when a price was already agreed. Soaring memory costs are the main driver. Some customers face increases of up to 45%. GPU server prices have risen at least 20% to 30%, and prices for CPU-based server nodes have more than tripled. HPE has changed its quoting terms so existing orders can be repriced if component costs rise before shipment, and its CEO expects elevated memory and storage prices to last well into 2027.

SDxCentral's coverage adds that SK hynix has pushed its expectation for supply relief from 2028 to 2030, and that TrendForce has warned high-bandwidth memory prices could rise as much as 140% in 2027.

Memory is sold out for years

TechInsights' November Chip Observer, published November 20, reports that SK hynix's DRAM and HBM are effectively sold out through 2029, and that Samsung's 2027 HBM supply is already sold. The same report says memory average selling prices are projected to rise 214% year over year in 2026. On November 25, TrendForce reported that memory makers are prioritizing server DRAM, and that lead times for new NVIDIA B300 orders now run 26 to 40 weeks.

Flash is heading the other way

On November 19, TrendForce forecast that NAND flash contract prices will fall 0% to 5% quarter over quarter in the first quarter of 2027, with every product category entering a downward cycle from the second quarter. It cut its fourth-quarter increase forecast to 8% to 13%, noted a correction of more than 20% in spot prices, and projects NAND bit supply to grow 25% to 30% in 2027.

Cloud list prices haven't moved yet

If you rent standard instances from the big clouds, your bill hasn't changed. Cloud World Model's monthly snapshots found no list-price changes across 33 tracked rates on AWS, GCP, Azure, OCI and DigitalOcean in October or November. The pressure shows up first for teams that buy their own servers, and in whatever capacity providers price next.

Why it matters for teams that train models

Data loading runs on the expensive part. GPUs get the attention, but every training node also carries CPUs and host RAM for loader workers, decoding, augmentation and the operating system's page cache. Dedicated preprocessing and data-prep nodes are mostly CPU and memory. That's the kind of node whose price more than tripled.

Loader workers multiply memory quietly. PyTorch's DataLoader documentation warns that after several iterations, each worker process uses as much CPU memory as the parent for every Python object it touches, so total use becomes the number of workers times the size of the parent process. A dataset that holds a large Python list of file names is the documented example. Prefetching adds more: by default each worker loads 2 batches ahead, so 2 × num_workers batches sit in RAM at once.

Asynchronous checkpoints are staged in RAM. PyTorch Distributed Checkpoint's async_save first copies the state dict to staging storage, which defaults to CPU memory, and then writes it in a background thread. That copy is what lets training continue during the save, but it means host RAM has to hold a full copy of each rank's model and optimizer state.

"Just cache it in memory" is the costly default. Loading a whole dataset into RAM, or sizing nodes so the page cache holds every epoch, made sense when memory was cheap. It now puts the most expensive component on the critical path, while the flash that could hold the same bytes is getting cheaper.

What to do about it

  1. Measure host memory per node. Break it down into loader worker resident memory, prefetch buffers, page cache, checkpoint staging and everything else. You can't right-size a node you haven't measured.
  2. Stop duplicating Python objects across workers. Follow PyTorch's advice and replace large Python lists and dicts in your dataset with NumPy arrays, Pandas or PyArrow objects. Store sample indexes in a file such as Parquet instead of building them in Python at startup.
  3. Set prefetch on purpose. Use the smallest num_workers and prefetch_factor that keep the GPU busy, and measure data-wait time per step as you lower them. More buffering than that is RAM you're paying for with nothing in return.
  4. Stream instead of preloading. Read shards from storage as training runs rather than loading the dataset into memory first. With a local NVMe or nearby cache in front of storage, repeated epochs stay fast without needing RAM the size of the dataset.
  5. Put caches on flash. Size node-local NVMe, not RAM, for the working set a job rereads. With TrendForce expecting flash prices to fall in 2027, this side of the trade gets better over time.
  6. Budget for checkpoint staging. Plan host RAM for one staged copy of each rank's state, or check whether your framework lets you stage elsewhere. DCP exposes an AsyncStager interface for custom staging.
  7. If you buy hardware, spec memory from data. Use the measurements from step 1 to set RAM per node, and read the repricing clauses in quotes. HPE now allows existing orders to be repriced before shipment.

Where Training Pipes fits

Training Pipes lets training read data from storage instead of holding it in memory. You put datasets and checkpoints in a Training Pipes managed bucket, or connect an S3, GCS or R2 bucket you already have. Your training nodes mount it over NFS like a local directory, and other jobs read the same files through an S3-compatible API. A regional gateway with caching sits close to your GPUs, so repeated epochs and checkpoint restores read from nearby instead of pulling every byte across the network. You can try it with 100 GB free for 3 months.

Keep reading

AI Trends

GPUs Are Getting a Flash Tier for Data That Will Not Fit in HBM

Kioxia and NVIDIA put 1.1 PB of SSDs behind one GB200 NVL72 rack as GPU-addressable memory, and Kioxia announced an 18-million-IOPS drive built for it. The design targets small random reads, so the first job for ML teams is knowing which of their workloads actually look like that.

Read article
AI Trends

Common Crawl Now Ships Each Monthly Archive From Two Clouds

The November 2026 Common Crawl archive, 2.2 billion pages and about 111 TiB compressed, landed on AWS S3 and in a Hugging Face Storage Bucket on the same day. Where you read web-scale training data from now affects throughput and transfer cost, so it is worth choosing on purpose.

Read article