Comment 16 for bug 1814874

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Hello Ken,

do you have a command to reproduce this? I would like to use it to verify the fix.

I tired this on a Cosmic KVM allocated with 2G ram, 512MB swap, with:
  * "zswap.enabled=1 zswap.zpool=z3fold zswap.max_pool_percent=5 zswap.compressor=lz4" added to the grub
  * z3pool, lz4, lz4_compress module added to initramfs

and stress it with the stress command with 115% of available memory.

stress --vm-bytes $(awk '/MemAvailable/{printf "%d\n", $2 * 1.15;}' < /proc/meminfo)k --vm-keep -m 1

All I got is a soft CPU lockup. Or should I leave it there for a while?
Thanks