zram as swap on EL?

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

 



So with the discussion about moving to zram for swap on Fedora I wondered if it was worth taking a look at for my CentOS 8 machine.

I noticed that there was a build in Koji but it was deleted. Figuring there was a reason but as yet undeterred I checked out master and built an el8 rpm.

Installed on my CentOS 8 machine and tried to start it up... Definitely broken somehow.

Figured out that it didn't like the command that created the zram (zramctl). Turns out that (and this is a guess), that the kernel in CentOS doesn't support lz4 compression. In fact none of the compression options worked except "deflate". Not sure what the compression ratio is for it but I now have zram using it.

Second problem is that the configuration options in /etc/zram.conf seemed to be ignored. Even though I specified a factor of 2 for the amount of ram to use, it kept using the default in the systemd script of 3. So I just changed the script and hardcoded it to 2048MB. Since I have no plans in changing the amount of memory in that computer it really doesn't matter.

Thanks,
Richard
_______________________________________________
epel-devel mailing list -- epel-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to epel-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/epel-devel@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Announce]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux