All of lore.kernel.org
 help / color / mirror / Atom feed
* ZRAM setup and configuration
@ 2017-10-18  6:22 russel phillipe
  2017-10-20 11:05 ` Mulyadi Santosa
  0 siblings, 1 reply; 2+ messages in thread
From: russel phillipe @ 2017-10-18  6:22 UTC (permalink / raw)
  To: kernelnewbies

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.

# apt-get install zram-config

cat /proc/swaps
Filename Type Size Used Priority
/dev/sda3 partition 16638972 0 -1
/dev/zram0 partition 2036816 0 5
/dev/zram1 partition 2036816 0 5
/dev/zram2 partition 2036816 0 5

How can I make it work. I tried running memtester and load it with stress
stress --vm-bytes $(awk '/MemFree/{printf "%d\n", $2 * 0.9;}' <
/proc/meminfo)k --vm-keep -m 1

It does not look like it is being used.

I notice that 'used' count in /proc/swaps does not bump@all. I even
tried 'vmstat 1 100 ' while running stress and memtester and did not see
any change in SO and SI.
What am I missing?

Thanks
Russel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20171017/ae303b2d/attachment.html 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-10-20 11:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-18  6:22 ZRAM setup and configuration russel phillipe
2017-10-20 11:05 ` Mulyadi Santosa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.