Utilize zram built-in multi-threading, config file and /tmp mounting

Bug #1548424 reported by Eugene San on 2016-02-22
34
This bug affects 5 people
Affects Status Importance Assigned to Milestone
zram-config (Ubuntu)
Undecided
Unassigned
zram-tools (Debian)
New
Unknown
zram-tools (Ubuntu)
Undecided
Unassigned

Bug Description

I would like to propose the following changes (lp:~eugenesan/+junk/zram-config):

 Utilize zram built-in multi-threading, config file and /tmp mounting

     * Rework scripts to Utilize built-in zram multi cpu support
     * Add support for /tmp mounting on zram device
     * Introduce defaults file for setting parameters
     * Rename scripts and install them to /sbin

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in zram-config (Ubuntu):
status: New → Confirmed
Mantas Kriaučiūnas (mantas) wrote :

Thanks for RAM SWAP improvements, Eugene :)

Now zram-config is even more useful for devices with SSD/Flash storage - until Eugene improved zram-config I've used tmpfs for /tmp in computers with SSD/Flash storage, but zram is better for /tmp, right? ;)

P.S. I copied zram-config 0.6 from ppa:eugenesan/ppa to main Baltix GNU/Linux repository - ppa:baltix-members/ppa , look at
https://launchpad.net/~baltix-members/+archive

Mantas Kriaučiūnas (mantas) wrote :

Dear Ubuntu developers, zram-config was greatly improved by "Eugene San" 2 years ago (2016-02-22), what could I do to see these improvements in Ubuntu 18.04 (Bionic) LTS ?

Mantas Kriaučiūnas (mantas) wrote :

Dear Eugene San, could you fix important bug in your zram-config branch lp:~eugenesan/+junk/zram-config ?

zram-config.service starts too late, because of this using zram for /tmp and other system folder prevents from starting GDM and some other services in Ubuntu 18.04

Problem can be solved by adding these lines to /lib/systemd/system/zram-config.service

[Unit]
After=local-fs.target
Before=sysinit.target

[Install]
WantedBy=sysinit.target

I'm attaching a patch for zram-config 0.6

See bug #1761740 for more info.

tags: added: patch

The attachment "Fixed startup config (zram-config.service) for systemd" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

Eugene San (eugenesan) wrote :

Compatibility issue with GDM on Ubuntu 18.04 was fixed in zram-config version 0.7

Updated code and packages can be found at:
https://git.launchpad.net/~eugenesan/+git/zram-config
https://code.launchpad.net/~eugenesan/+recipe/zram-config-ppa

Changed in zram-tools (Debian):
status: Unknown → New
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.