I am running Debian 12 on all of my devices with Debians vanilla kernel! :-) Just enable MGLRU on Debian like it is described in this blogpost.
One further tip for ZRAM: On my device the LZ4 algorithm was noticeable faster than ZSTD (didn’t try ZSTD with the enabled MGLRU, yet) and it was important to disable the RAM page read-ahead on my device.
I am running Debian 12 on all of my devices with Debians vanilla kernel! :-) Just enable MGLRU on Debian like it is described in this blogpost.
One further tip for ZRAM: On my device the LZ4 algorithm was noticeable faster than ZSTD (didn’t try ZSTD with the enabled MGLRU, yet) and it was important to disable the RAM page read-ahead on my device.