Re: Best way to use zram in Fedora 21?

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

 




Am 28.11.2014 um 01:21 schrieb Zbigniew Jędrzejewski-Szmek:
On Thu, Nov 27, 2014 at 04:42:36PM +0100, Juan Orti wrote:
El 2014-11-27 14:48, Reindl Harald escribió:
Am 27.11.2014 um 14:25 schrieb Juan Orti:
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

Ok, I've uploaded the scripts to GitHub and submitted a review request:

https://github.com/jorti/zram-swap
https://bugzilla.redhat.com/show_bug.cgi?id=1168692
I have a question about the code: why are multiple swap devices needed?
/sys/block/zram0/max_comp_streams can be set to whatever number is
wanted. While it might be useful to have additional zram devices
for different purposes, I don't think more than one zram swap is
useful. If you only have one device, then reloading the module is
no longer necessary to change the parameters, since everything
else seems to be configurable through sysfs

i admit that i am not really sure, that part found by Google around and maybe that's a relict of zram before it made it to the upstream kernel

i guess /sys/block/zram0/max_comp_streams should be set to the number of CPU's and i ask my self why the default is 1 instead number of cores

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