Re: Best way to use zram in Fedora 21?

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

 




Am 27.11.2014 um 14:25 schrieb Juan Orti:
El 2014-11-27 11:24, Reindl Harald escribió:
Am 27.11.2014 um 11:15 schrieb Vratislav Podzimek:
On Wed, 2014-11-26 at 16:27 -0500, Corey Sheldon wrote:
Juan no need    inst.zram=on on install   on first boot   modprobe
zram ;  systemctl start zram    voila   I use the default one in f21b
no issues
For now. But the anaconda's zram.service is tailored to provide zram
swap for the installation process. Future changes in it may make it
unusable for general purpose usage on an installed system.

So packaging something general-purpose it definitely the right way to
go. Reindl's scripts look good to me, I'd just suggest adding a
configuration option for setting the maximum RAM for the zram swap being
created. It doesn't make much sense to use it on systems with e.g. 32
GiB of RAM. That's by the way one of the tweaks the anaconda's version
of the scripts+service has (hardcoded, though)

"my script" supports a "percent of total RAM config" which i don't
ship with the RPM because it's meant for internal usage (it's BTW a
result of Google around after face the zram module with new kernels,
took existing snippets from several sources, made them easier, fixed
some bugs and introduced the systemd-unit)

[root@mail-gw:~]$ cat /etc/sysconfig/zram
FACTOR=15

Reindl, I'm of the opinion you should upload your scripts to some git
repository and package them to be part of the distribution. I can
co-maintain if you wish

feel free to package it!

that's why i attached it as i saw the topic
i am not a active packager on the Fedora infrastrcuture


Attachment: signature.asc
Description: OpenPGP digital signature

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux