News for hackers. Stuff that matters.
Re:Apple introduces M4 chip by pantalaimon on Tuesday May 07, 2024 @11:28AM (#40286910)
> RAM has been used as data cache to speed up data read/write performance until the actual SSD storage operation completes.

I'm pretty sure that's what all modern operating systems are doing.

Re:Apple introduces M4 chip by eddieroger on Tuesday May 07, 2024 @11:31AM (#40286964)
Probably, but since we're talking about an Apple product, comparing it to macOS make sense, since they all share the same bottom layer.
Re:Apple introduces M4 chip by 0x457 on Tuesday May 07, 2024 @01:01PM (#40288370)
Not, probably, that just how any "modern" OS works. It also uses RAM as a cache to avoid reads from storage, just like any other modern OS.

Apple uses it for segmentation and nothing else.

Modern being - since the 80s.

Re:Apple introduces M4 chip by tomxor on Tuesday May 07, 2024 @07:42PM (#40292794)
Even on the Atari ST you would use a "RAM disk" when working with "large" data before manually flushing it to a floppy. Some people would use the trashcan icon to emphasise the need to manually flush... Not quite a cache, but the concept was there.
Re:Apple introduces M4 chip by wheybags on Tuesday May 07, 2024 @01:05PM (#40288426)
I'm writing this from memory, so some details may be wrong but: most high end ssds have dram caches on board, with a capacitor that maintains enough charge to flush the cache to flash in case of power failure. This operates below the system page cache that is standard for all disks and oses.

Apple doesn't do this, and use their tight integration to perform a similar function using system memory. So there is some technical justification, I think. They are 100% price gougers though.

Re:Apple introduces M4 chip by kllrnohj on Tuesday May 07, 2024 @03:13PM (#40290238)
Using host memory for SSD caches is part of the NVMe spec, it's not some Apple-magic-integration thing: https://www.servethehome.com/what-are-host-memory-buffer-or-...

It's also still typically just worse than an actual dram cache.

Re:Apple introduces M4 chip by gaudystead on Tuesday May 07, 2024 @02:15PM (#40289444)
> writing this from memory

Gave me a chuckle ;)

Re:Apple introduces M4 chip by beambot on Tuesday May 07, 2024 @02:04PM (#40289300)
One company's "Price Gouging" is another's "Market Segmentation"