[Bug 1821499] Re: [Feature request] /etc/init/zram-config.conf has no any options. Please add a few.

Brian Foster blf.ireland at gmail.com
Thu Apr 11 19:19:03 UTC 2019


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
Foundations Bugs, which is subscribed to zram-config in Ubuntu.
https://bugs.launchpad.net/bugs/1821499

Title:
  [Feature request] /etc/init/zram-config.conf has no any options.
  Please add a few.

Status in zram-config package in Ubuntu:
  Confirmed

Bug description:
  Such people as me would like to set some permanent paramenters for
  zram without editing /usr/bin/init-zram-swapping script file. I think
  it's wrong to edit something in /usr/bin.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: zram-config 0.5
  ProcVersionSignature: Ubuntu 4.15.0-46.49-generic 4.15.18
  Uname: Linux 4.15.0-46-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.6
  Architecture: amd64
  CurrentDesktop: LXDE
  Date: Sun Mar 24 09:37:58 2019
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2018-06-11 (285 days ago)
  InstallationMedia: Lubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  PackageArchitecture: all
  SourcePackage: zram-config
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zram-config/+bug/1821499/+subscriptions



More information about the foundations-bugs mailing list