<div dir="ltr"><div><br></div><div>I am trying to setup ZRAM on ubuntu 4.4 kernel. I can load and create zram based swap devices fine as you can see below.</div><div><br></div><div># apt-get install zram-config </div><div><br></div><div>cat /proc/swaps </div><div>Filename Type Size Used Priority</div><div>/dev/sda3 partition 16638972 0 -1</div><div>/dev/zram0 partition 2036816 0 5</div><div>/dev/zram1 partition 2036816 0 5</div><div>/dev/zram2 partition 2036816 0 5</div><div><br></div><div>How can I make it work. I tried running memtester and load it with stress</div><div>stress --vm-bytes $(awk &#39;/MemFree/{printf &quot;%d\n&quot;, $2 * 0.9;}&#39; &lt; /proc/meminfo)k --vm-keep -m 1</div><div><br></div><div>It does not look like it is being used.</div><div><br></div><div>I notice that &#39;used&#39; count in /proc/swaps does not bump at all. I even tried &#39;vmstat 1 100 &#39; while running stress and memtester and did not see any change in SO and SI. </div><div>What am I missing?</div><div><br></div><div>Thanks</div><div>Russel</div></div>