Skip to content

Comment on 8GB RAM on M3 MacBook Pro 'Analogous to 16GB' on PCs, Claims Appleparent

Comments

Does Debian do this by default? If so, can I disable it for a performance increase?

No, but should you want to enable it, you can install systemd-zram-generator.

See also: https://github.com/systemd/zram-generator

As someone else mentioned, for many cases this will be a performance increase, not decrease. Compressing infrequently used memory frees up more memory to be used for filesystem caching among other things.

Compressed memory is a performance increase. CPUs are fast.

Depends on what sort of performance you're optimizing for, does it not?

There might be an energy hit… but there are a LOT of compute cycles available between cache fills: https://www.blosc.org/pages/blosc-in-depth/

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.