Chapter 13 路 Layer 2 路 Memory and Storage Pools

419 Interruptions in 54 Days

In July 2024, Meta published the research paper behind its Llama 3 models. One number in it belongs on every operator's wall.

Sanket Kulkarni 路 路 6 min read

Part of The Seven-Layer Tokenomics Stack

A crash every three hours

In July 2024, Meta published the research paper behind its Llama 3 models. One number in it belongs on every operator's wall.

The largest model was trained on up to 16,000 graphics processing units, the chips that do the heavy maths of AI. Over a 54-day snapshot, the job was interrupted 466 times. Forty-seven were planned. The other 419 were not: an unexpected stop roughly every three hours, about 78% of them from confirmed hardware issues.

A crash every three hours, and still more than 90 percent of the time useful.

Yet the team reports "higher than 90% effective training time". The reason is storage. The job regularly saves its progress, between 1 megabyte and 4 gigabytes per chip, so a failure costs only the work since the last save. To absorb those saves, Meta built a storage system with 240 petabytes of capacity (240,000 terabytes, where one terabyte is roughly what a good laptop holds) across 7,500 servers, sustaining 2 terabytes a second and peaking at 7.

That is today's component: where AI keeps the things it needs to remember, and what it pays to remember them.

The shop, the back room and the godown

Think of a busy kirana shop. The counter holds what sells every minute. The back room holds what sells every day. The godown across town holds bulk stock: cheap per sack, slow to fetch. At closing, the owner writes up the ledger so a power cut cannot wipe out the day. On the counter sits a scratch pad for sums that get torn off and thrown away.

The Seven-Layer Tokenomics Stack lists four parts of memory and storage pools. They map onto that shop.

  • Shared memory pools. Instead of every server owning its own fixed block of memory, several servers draw from one common pool. In shop terms: one shared godown instead of each branch renting its own half-empty one.
  • Temporary storage. Engineers call it ephemeral storage: scratch space that, in the words of the Kubernetes documentation (the coordination software from Chapter 11), gets "created and deleted along with" the job that uses it. The scratch pad on the counter.
  • Saved progress snapshots. Called checkpoints: a copy of the job's state, saved at intervals, so it can restart from the last save instead of from zero. The evening ledger.
  • Storage for reusable results. Called cache storage: a place to keep work the system has already done so it does not have to do it again. Stock kept in the back room because you know it will be asked for.

In the restaurant from Chapter 0, Layer 2 is the kitchen manager. Yesterday the manager decided which order goes on which stove. Today the manager runs the cold room and the prep shelves, and decides where the base gravy waits between orders.

A price lever hiding in the store room

The bill is price multiplied by volume. The framework places all of Layer 2 on the price side: it does not change how many tokens you use, it "sets effective cost per token". Its warning is blunt: "Hardware that sits idle produces expensive tokens." Memory and storage decide how much idle hardware you carry in three ways.

Memory that nobody can use. In a paper published in March 2023, Microsoft researchers found that in its Azure cloud, a server's standard working memory (dynamic random-access memory, or DRAM) "can be 50% of server cost". They also found that "up to 25% of DRAM becomes stranded": paid for, sitting in a server whose processors are all rented out, unusable by anyone else. Their pooling design cut memory costs by 7%, with performance within 1 to 5% of memory attached directly to the server. Seven per cent of half a server's cost is a real line in a budget.

Chips waiting for the ledger. Every minute a training job spends saving or reloading progress, thousands of chips are paid for and producing nothing. Meta's paper names the hard part: "highly bursty checkpoint writes that saturate the storage fabric", meaning everyone saves at once and jams the road. Save too rarely and each crash throws away hours of work. Save too often and you pay in pauses and storage. That trade-off is a procurement decision dressed as an engineering one.

Remembering instead of recomputing. When a model reads a long document or a long conversation, it builds working notes on every word. Those notes live in the scarce, expensive memory beside the chip and get thrown away when space runs out. If the same text comes back, the chip reads it all over again. The alternative is to keep the notes in cheaper tiers: the server's standard memory, then flash drives, then shared storage.

Moonshot AI, which runs the Kimi chatbot, built its serving platform on this idea. Its paper with Tsinghua University, presented in February 2025, is titled "Trading More Storage for Less Computation". It uses the server memory, flash drives and network links that were "underexploited" in its chip clusters, and reports that Kimi could handle 115% and 107% more requests on two types of NVIDIA clusters compared with its previous systems. DeepSeek has open-sourced a file system, 3FS, which it calls "a cost-effective alternative" to memory-based caching. NVIDIA's serving software documentation says offloading these notes to cheaper memory gives providers "higher throughput and lower cost per token", with one honest condition: it works best when reuse "outweighs the overhead of transferring data".

That condition is the whole decision. Storage is cheaper than chips. Moving data is not free. The answer depends on how often the same text comes back.

What I would do on Monday morning

  1. Report stranded memory alongside idle chips. Do for memory and storage what Chapter 12 did for chips: paid for versus used, by team, every week. If Microsoft found up to a quarter of its memory stranded, assume yours is not zero.
  2. Price your checkpoint policy in lost chip-hours. For every long-running job, write down how often it saves, how long a save pauses the chips, and how much work a crash would lose. Then set an expiry rule that moves old snapshots to cheap storage or deletes them. Ledgers from three years ago do not belong on the counter.
  3. Pilot storing reusable results outside the chip, on one workload. Pick something with long, repeated text: a support assistant reading the same manuals, or a coding tool rereading the same files. Measure requests served per chip before and after. Keep it only if the reuse pays for the moving.

Tomorrow

Chapter 14 climbs to Layer 3, the cooking line, with Context and Memory: reusing answers to similar questions, reusing work on repeated text, searchable knowledge stores, and conversation memory. Today we built the store room. Tomorrow the cooks use it, and the volume side of the bill begins.


This series builds on The Seven-Layer Tokenomics Stack by the Tokenomics Foundation, used under a Creative Commons Attribution 4.0 licence. The commentary, and any mistakes, are mine. Views are my own and do not represent my employer.

Sources

Every figure was checked against its source on 16 November 2026.

  1. Tokenomics Foundation, The Seven-Layer Tokenomics Stack (full paper), 14 October 2026, Creative Commons Attribution 4.0 licence. Memory and Storage Pools items (shared memory pools, ephemeral storage, checkpoint storage, cache storage); Layer 2 "sets effective cost per token"; "Hardware that sits idle produces expensive tokens".
  2. Llama Team, AI @ Meta, The Llama 3 Herd of Models, first submitted 31 July 2024 (full text). Up to 16,000 chips; 466 interruptions in a 54-day snapshot, 47 planned, 419 unexpected; about 78% attributed to confirmed hardware issues; "higher than 90% effective training time"; checkpoints of 1 megabyte to 4 gigabytes per chip; 240 petabytes across 7,500 servers, 2 terabytes a second sustained, 7 peak; "highly bursty checkpoint writes that saturate the storage fabric".
  3. Microsoft Research, Pond: CXL-Based Memory Pooling Systems for Cloud Platforms, conference on Architectural Support for Programming Languages and Operating Systems, March 2023 (full text). "DRAM can be 50% of server cost"; "up to 25% of DRAM becomes stranded"; memory costs reduced by 7% with performance within 1 to 5%.
  4. Moonshot AI and Tsinghua University, Mooncake: Trading More Storage for Less Computation, USENIX Conference on File and Storage Technologies, February 2025. Uses "underexploited" server memory, flash drives and network links; Kimi handles 115% and 107% more requests on NVIDIA A800 and H800 clusters.
  5. DeepSeek, 3FS (Fire-Flyer File System) repository, as of 16 November 2026. "a cost-effective alternative to DRAM-based caching"; parallel checkpointing support.
  6. NVIDIA, Dynamo documentation: KV Block Manager, version 1.3.0, as of 16 November 2026. Tiers across chip memory, server memory, local and shared flash storage and remote storage; "higher throughput and lower cost per token"; best when reuse "outweighs the overhead of transferring data".
  7. Kubernetes project, Ephemeral Volumes, as of 16 November 2026. Volumes that "get created and deleted along with" the job; scratch data.

"Roughly every three hours" is the author's arithmetic (54 days x 24 hours divided by 419). "More than twice the requests" summarises the 115% and 107% figures in source 4.