6 ms·
I’ve read the reports but I’m not seeing this. Normal workflow and already over 11 GB that swaps.
by steipete 6y ago
I’ve read the reports but I’m not seeing this. Normal workflow and already over 11 GB that swaps.
- aledalgrande 6y agoThanks for reporting! Bummer, for me I think I will have to wait for an M2.
- chongli 6y agoI think the point is that memory bandwidth and SSD bandwidth and latency have improved so much that M1-based Macs are really fast at swapping. Combine that with compression (which macOS has done for a long time) and I could imagine iPadOS-like performance. For normal users (such as people not compiling V8), swapping may be virtually unnoticeable.
- rsynnott 6y agoI do wonder if it’s taking advantage of the cheap CPU power and memory bandwidth to be much more aggressive about memory compression. That could reduce swapping for some workloads, though probably not a v8 build.
- kllrnohj 6y agoMacs have had fast SSDs for a while and as you say compression has also been done for a long time. M1 made no difference whatsoever to memory usage. The posts similar to above seem to just be an attempt to fanfic-justify what's an actual regression for some. For many people 16GB is absolutely enough, and Apple had to start somewhere. But if 16GB wasn't enough for you yesterday, it isn't enough for you now.
- foldr 6y agoIt's possible that M1 has enabled the use of better memory compression algorithms.
- chongli 6y agoThe reviews of the M1 MacBook Air and Pro show a dramatic increase in SSD read/write speeds over the 2020 Intel models.
- kllrnohj 6y agoDo you have a link? MKBD just said it was "slightly faster" than his comparison system and the numbers for the M1 appear to be around 3GB/s reads and 2.7GB/s writes in disk speed test, which is pretty typical of a last generation NVME drive (current pcie gen4 drives are hitting 7GB/s reads & 5GB/s writes)
- chongli 6y agowhich is pretty typical of a last generation NVME drive Those numbers are about 2-3x as fast as what my 2020 Intel-based MacBook Air gets.
- kllrnohj 6y agoThen sounds like Apple put some really garbage SSDs in the 2020 Intel-based Air, not sure what you're looking for here? But 2-3x won't change swap from grinding to a halt to perfectly smooth, either. It's still over 20x slower than RAM. More significant for swap usage though is random reads and read latency, neither of which are going to be particularly impressive on the M1's SSDs. You need something like Optane to make that a compelling case.
- shawnz 6y agoWhat do you mean exactly? It is normal for swapping to happen even if you are using less than the physical memory, so as to trade rarely-used RAM for frequently-used disk cache which improves overall throughput