Re: does zram in fedora need any configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



answered that myself

* it needs configuration
* src.rpm built on F20 and tested on Rawhide attached
* that below is a VM with 2 virtual CPU cores
* configuration is 20% of RAM and one zram-device per core

[root@rawhide ~]# free
             total       used       free     shared    buffers     cached
Mem:           742        136        606          4          7         69
-/+ buffers/cache:         59        683
Swap:          148          0        148


[root@rawhide ~]# systemctl start zram.service
[root@rawhide ~]# dmesg
[  290.085329] zram: Created 2 device(s) ...
[  290.092406] Adding 76004k swap on /dev/zram0.  Priority:100 extents:1 across:76004k SSFS
[  290.096359] Adding 76004k swap on /dev/zram1.  Priority:100 extents:1 across:76004k SSFS
[root@rawhide ~]# htop
[root@rawhide ~]# systemctl list-units | grep zram
sys-devices-virtual-block-zram0.device                                                           loaded active
plugged   /sys/devices/virtual/block/zram0
sys-devices-virtual-block-zram1.device                                                           loaded active
plugged   /sys/devices/virtual/block/zram1
zram.service                                                                                     loaded active
exited    Enable compressed swap in memory using zram
dev-zram0.swap                                                                                   loaded active
active    /dev/zram0
dev-zram1.swap                                                                                   loaded active
active    /dev/zram1
[root@rawhide ~]#

Am 27.03.2014 17:18, schrieb Reindl Harald:
> since 3.14 is not that far away zram becomes interesting
> 
> the article below maybe outdated, on a rawhide-VM exists
> /dev/zram0 as well as a implicit systemd-unit, well
> does that mean it is automagically configured and if
> that is the case does systemd < 212 that also or is
> there handwork needed for the time F19/F20 get rebased
> to kernel 3.14?
> 
> [root@rawhide ~]# systemctl list-units | grep zram
> sys-devices-virtual-block-zram0.device loaded active plugged /sys/devices/virtual/block/zram0
> 
> http://mystilleef.blogspot.co.at/2011/10/enable-zram-in-fedora.html
_______________________________________________
kernel mailing list
kernel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/kernel

[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux