Maybe an older HDD has 64 MB built-in cache. New ones have 256 or 512 MB.
Someone mentioned memory cache in SSD. The cheaper SSDs are "DRAMless" and use main memory for their workspace, chewing up whatever they want, 50 MB or 250 MB, a huge amount compared to 1 GB of RAM. The more expensive models have DRAM in the controller chip but it is rarely specified how much you get. Ancient disks, those things with spinning metal, were labeled as having cache with sizes like 64 GB. Lots of SSDs do not say what they have. Anyway, a 64 GB cache in an SSD would not help when 1 GB is flooded.
The RAM cache on an m.2 SSD is much smaller but in my opinion still significant for swap.
Statistics: Posted by ejolson — Mon Jul 22, 2024 11:22 am