News for hackers. Stuff that matters.
Re:Do not buy RAM, compress by aktenlage on Thursday November 19, 2026 @07:34AM (#50559287)
So, if it is used as swap, that means to use the data, it first needs to go to the CPU, then back to regular RAM, then back to the CPU.

Isn't that wasteful? The CPU's caches may help a bit, but I would guess first a huge block is going through the decompression, so only the last bits are still in the cache, when the actual usage starts.

There are no comments on this comment yet.