News for hackers. Stuff that matters.
Re:Apple introduces M4 chip by sudosysgen on Tuesday May 07, 2024 @01:33PM (#40288865)
Memory compression isn't magic and isn't exclusive to macOS.
Re:Apple introduces M4 chip by dmitrygr on Tuesday May 07, 2024 @02:08PM (#40289350)
I suggest you go and look HOW it is done in apple silicon macs, and then think long and hard why this might make a huge difference. Maybe Asahi Linux guys can explain it to you ;)
Re:Apple introduces M4 chip by sudosysgen on Tuesday May 07, 2024 @02:28PM (#40289643)
I understand that it can make a difference to performance (which is already baked into the benchmarks we look at), I don't see how it can make a difference to compression ratios, if anything in similar implementations (ex: console APUs) it tends to lead to worse compression ratios.

If there's any publicly available data to the contrary I'd love to read it. Anecdotally I haven't seen a significant difference between zswap on Linux and macOS memory compression in terms of compression ratios, and on the workloads I've tested zswap tends to be faster than no memory compression on x86 for many core machines.