i do not like when this is the runtime behavior of my program
Conversation
Replying to
what's even going on? one of your stack slots is way at the other end of a numa?
3
5
dammit are you snooping my patent applications again
2
6
It's an actual Linux kernel feature called zram deployed by modern Android phones.
kernel.org/doc/Documentat
Android hasn't ever used actual swap but rather has a certain amount of the memory as a compressed memory region. More recently, there's support for writeback from it.
compressing swapped out pages is a super good idea, or at least it was before SSDs; probably still is
2
1
Makes sense even if you don’t swap them. Compressing in-memory is a win.
1
4
Show replies
I've been told this is used on Fedora these days as well
1
A variant of it is used extensively throughout Google: blog.acolyer.org/2019/05/22/sw-
For the most part, it just works (if you have your magical parameters tuned right)
2
See also Win 10 memory compression:
1







