@wolfn you are right, almost all of the distros these days mount /run and other partitions in RAM. They typically reserve 10% or 2GB of RAM for this. In addition if /tmp is also mounted as tmpfs then it will also consume RAM. So reduce SWAP pressure and disk writes, we need RAM. But RAM is already provisioned for many things.
What surprised me was when @mbod clarified that Fedora was using ZRAM equal to physical RAM and that too Out-of-the-box. I might be one of the very few distros that do this.
stress-ng is part of which package? It is not installed in my EOS system.
Also is there any other package apart from stress-ng that ca be used?
I was under the impression that zswap compresses and hold the swap-able pages in RAM and not in disk/Swap partition/Swap file. It does not write the disk at all, unless the memory page is not cant be compressed. Is that not the case?
Disk in this case would be NVMe or SATA disk or Flash memory.
Thanks for clarifying that. I am a big fan of Dell Laptops and after 8+ years Dell throttles all of its laptops to 1.5GHz or below. Irrespective whether the laptop is connected to power or is running on battery. I was coming from that angle.