惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
T
Tailwind CSS Blog
J
Java Code Geeks
Microsoft Azure Blog
Microsoft Azure Blog
GbyAI
GbyAI
爱范儿
爱范儿
量子位
Martin Fowler
Martin Fowler
V
V2EX
博客园 - 三生石上(FineUI控件)
I
InfoQ
MongoDB | Blog
MongoDB | Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
N
Netflix TechBlog - Medium
D
DataBreaches.Net
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Last Week in AI
Last Week in AI
U
Unit 42
Apple Machine Learning Research
Apple Machine Learning Research
H
Help Net Security
T
The Blog of Author Tim Ferriss
Hugging Face - Blog
Hugging Face - Blog
美团技术团队
Engineering at Meta
Engineering at Meta

The Eclectic Light Company

Hero or hooligan: Theseus’ later years BSD flags are incompatible with iCloud Drive Apple has released macOS Tahoe 26.5.1 In memoriam Mary Cassatt: 1, 1868-1880 Solutions to Saturday Mac riddles 362 What Location Services do in macOS Eclectic paintings of Joseph Stella: 2 European myths Last Week on My Mac: Razzle and dazzle Eclectic paintings of Joseph Stella: 1 American landscapes Saturday Mac riddles 362 Protect files with the Locked or Immutable flag Reading Visual Art: 252 Dragonfly What happens in the log when an app crashes as it starts up? Portraits of trees: Introduction On Reflection: Conclusions and contents Which tasks require mains power? Medium and message: Vast canvases Online reference to external displays for Apple silicon Macs What’s in that phishing email? Hero or hooligan: Theseus and Ariadne Solutions to Saturday Mac riddles 361 How to search document versions Rubens’ Consequences of War Rubens’ Peace and War Saturday Mac riddles 361 How to search Time Machine backups? Naturalists: Contents and artists On Reflection: Extending the image Tackle QuickLook problems Medium and message: Pottery
Explainer: Memory
hoakley · 2026-06-20 · via The Eclectic Light Company

Computers do things with data, and data needs to be stored somewhere. When your browser downloads a web page from its server, the source code for that page has to be stored while the browser’s rendering engine turns it into the image to be displayed inside its window. WindowServer then has to composite that window with all the others on your Mac’s display, and hand the composite over to the display controller to send to the display.

Throughout those processes, data has to be processed from and to memory. The CPU cores have relatively small local caches for their immediate needs, and both their code and data have to be fetched from larger and slower main memory. Some of the data, such as the page source code, may be cached to disk storage, which is even more capacious but slower, and ultimately it will all have to pass through memory.

Until comparatively recently, several parts of a Mac had their own local memory. Main memory (RAM) was the preserve of the cores in the CPU, while GPUs came on a graphics card with their own dedicated high-speed memory, VRAM. Some models, particularly those at the lower end and laptops, allocated some of the main memory for graphics use instead. Other hardware systems also had their own memory, used for buffering and temporary storage.

This has some obvious advantages. It’s eminently upgradeable by the user; when you can afford a better graphics card, you can replace the existing one with a faster GPU and more graphics memory. You can also buy a basic version of that model with little main memory, and upgrade that when you can afford it. This has allowed graphics cards to have less, faster and more expensive memory which is only accessible to the GPU.

There are also problems with that architecture. GPUs are now being used for a lot more than just driving the display, most recently for many of the calculations used in AI. So long as CPUs and GPUs continue to use their own local memory, simply moving data between RAM and VRAM has become an unwanted overhead. If you’d like to read a more technical account of some of the issues that have brought unified memory to Nvidia GPUs, you’ll enjoy Michael Wolfe’s article on the subject.

At the same time, chip design has changed, with far tighter integration of what were separate chips into a System on a Chip (SoC), a field in which Apple is one of the leaders, largely as a result of its hardware development for iPhones and iPads. SoCs can run faster, use less power, and stay cooler, and when built in quantity are significantly cheaper, all advantages that Apple has used in its products, now including its full range of Macs.

In this new model, CPU cores, GPUs and other hardware such as the Neural Engine all access the same memory. When data being processed by the CPU needs to be manipulated by the GPU, it stays where it is. That unified memory can be as fast to access as dedicated GPU memory, and completely flexible. When you want to connect a high-resolution display, that’s not limited by the memory tied to the GPU, but by total memory available, and the display controller.

To achieve this, Apple integrates the unified memory in the chip carrier itself. That provides the shortest and fastest path between those systems within the SoC and the memory they share. It unfortunately also means that memory can’t be upgraded without replacing the whole chip. As that’s soldered onto the logic board, that in turn requires logic board replacement, and much of the cost of a new computer.

Early Apple silicon chips for Macs were severely limited in the memory that could be integrated into the chip carrier. The first MacBook Air and Pro M1 offered a choice of 8 or 16 GB, but even the base MacBook Air and Pro M5 now range from 16 to 32 GB, with more than double the memory bandwidth of the base M1. At the top end, the most available in the M1 Ultra was 128 GB, which has risen to 512 GB in the M3 Ultra, to support its use with Large Language Models.

aboutthismac

Memory, its size and use have changed greatly since the days of Mac OS 8.6 running on a PowerMac G3 with just 384 MB of memory.