I have been interested in zram so I tried to test it. But as I continue to read the guide on what and how to install it, I have realized that it creates a file /dev/zram0 and mounts it as a swap, I use mount to know it. I have set the swappiness of the OS on a value of 10. Will this affect the chances that zram will be used? If yes, do I have to set it on a higher value?
Asked
Active
Viewed 1,000 times
2
user128712
- 2,452
1 Answers
0
mountdoesn't show swap devices,swapon -sdoes.- How did you "install" it? On Ubuntu zram-config does everything.
- How do you expect to test it?
- It works if your system doesn't immediately die.
- vm.swappiness sets the "chances" of swap devices being used.
swapon -sagain tells you what is being used.
$ swapon -s Filename Type Size Used Priority /dev/sda6 partition 1952764 0 -1 /dev/zram0 partition 705000 21660 5 /dev/zram1 partition 705000 21624 5
Ken Sharp
- 1,086