[Bug 1821499] Re: [Feature request] /etc/init/zram-config.conf has no any options. Please add a few.
Starting with Disco Dingo (19.04) there is a new package `zram-tools' which is roughly configurable as per many of the above wishes. https://launchpad.net/ubuntu/+source/zram-tools >From eyeballing it, it seems like it should work on earlier releases (but see caveats below); however, I have not tried. Some caveats: 1. Have at most one of `zram-config' or `zram-tools' (NOT both) installed. 2. The `zram-tools' defaults are slightly different from `zram-config'. 3. The version of `zram-tools' currently proposed for Eoan E (19.10?) has some simple fixes and perhaps should be preferred? I am currently using 19.04's 0.3.2-1 with Disco Dingo but will probably switch to using 19.10's (Eoan's) 0.3.2-1-1 on that system to pick up the above-mentioned configuration fixes. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821499 Title: [Feature request] /etc/init/zram-config.conf has no any options. Please add a few. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zram-config/+bug/1821499/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821499] Re: [Feature request] /etc/init/zram-config.conf has no any options. Please add a few.
I presume this is referring to the hardcoded calculations for NRDEVICES and the critical calculation using it: mem=$(((totalmem / 2 / ${NRDEVICES}) * 1024)) (There are a few others that perhaps should be more easily adjusted.) Yes, this also has annoyed me, albeit, to-date, the hardcoded values seem to be Ok for me on my system. I'd also like to be able to specify more zram devices; i.e., have some which are not used for swap. Currently (without testing) all those created are used for swap, and it's not possible to create additional devices (but I suppose one could then swapoff(1) one or more to get the desired "extra" device(s)?). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821499 Title: [Feature request] /etc/init/zram-config.conf has no any options. Please add a few. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zram-config/+bug/1821499/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1821499] Re: [Feature request] /etc/init/zram-config.conf has no any options. Please add a few.
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: zram-config (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1821499 Title: [Feature request] /etc/init/zram-config.conf has no any options. Please add a few. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zram-config/+bug/1821499/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs