Questions tagged [zram]

DRAM computer memory technology.

Filter by
Sorted by
Tagged with
0 votes
0 answers
33 views

Installation problem for z-ram config

I installed zram following this tutorial with apt-get, my system is kubuntu 20.04. It seems to have worked, but the problem is that zram usage and swap are merged now, for instance free -m gives ...
Felipe Augusto's user avatar
0 votes
1 answer
7k views

How to disable zram at boot

How to disable zram at boot? What I found was mostly to swapoff -a rmmod zram but after reboot it came back I found such question being asked at different places, e.g., https://forum.garudalinux.org/...
xpt's user avatar
  • 1,045
3 votes
2 answers
6k views

Can I use zRAM and a disk swap file at the same time?

I have 24GB of available RAM in my machine, but I usually use far less than 8GB of it. However, sometimes I'm involved with large data files and I suddenly need 40GB, and on infrequent occasions, I'd ...
Thomas Browne's user avatar
4 votes
1 answer
2k views

Can I combine Zram with Zswap without double compression?

I currently have most of my swap on Zram, since I don't want to wear my SSD excessively. BUT, I do have a swap partition left over from when the system was installed, and I just lowered the priority ...
James Lewis's user avatar
1 vote
0 answers
334 views

Ubuntu Studio 21.04 does not complete installation

Have downloaded ubuntustudio-21.04-dvd-amd64.iso SHA265 checksum is ok. Wrote .iso to USB stick (have tried three different types by now). Booted Dell Latitude E7440 from it. Chose "install" ...
Andreas Kunz's user avatar
0 votes
1 answer
653 views

Ubuntu 21.04 can't start any program which hasn't been started recently after (maybe) random time

My MacBook Air running Ubuntu 21.04 is now faster than the 20.04 LTS that I had before. I fixed the secure-boot shimx error, but now the laptop can't start programs which haven't been started recently....
france1's user avatar
  • 174
3 votes
1 answer
6k views

How do I replace zram swap with a swap file?

I am running a Jetson Nano with Jetpack 4.4 which (Ubuntu 18.04), by default, has 4x495 Meg ZRAM partitions for swap space. The problem is that for a data science project I need MORE RAM than the 4gig ...
Thomas Browne's user avatar
2 votes
1 answer
2k views

Why is Ubuntu configuring multiple ZRAM devices for swap

I plan to use zram as a device for swap. The init-zram-swapping script delivered with Ubuntu 18.04 LTS Bionic in package zram-config is creating one zram device for each CPU. https://packages.ubuntu....
user228505's user avatar
  • 1,659
2 votes
1 answer
2k views

zram zstd support in 18.04

On ubuntu 18.04 I would like to use zram zstd compression but it is not available as it should be available in kernel 4.15.0-36-generic? As I understand it is a kernel compilation bug as described ...
Modestas's user avatar
  • 108
17 votes
1 answer
9k views

How do I prevent initramfs from resuming from a zram device?

Whenever initramfs is updated I get a message similar to this: I: The initramfs will attempt to resume from /dev/zram1 I: (UUID=1d4b8573-7eee-43c9-a02a-10a65fc17b8a) I: Set the RESUME variable to ...
Andrea Corbellini's user avatar
4 votes
1 answer
7k views

make zram use lz4 compression algorithm

Ubuntu 18, trying to make zram to use lz4 compression. Tried modifying /usr/bin/init-zram-swapping file #!/bin/sh ........... ........... for i in $(seq ${NRDEVICES}); do DEVNUMBER=$((i - 1)) ...
Sirajus Salekin's user avatar
7 votes
1 answer
3k views

Has zram been removed in the latest ubuntu (17.10)?

When running sudo modprobe zram (or modinfo for that matter) I get the following error: modprobe: FATAL: Module zram not found in directory /lib/modules/4.13.0-21-generic Has zram been removed from ...
Ru Hasha's user avatar
  • 173
3 votes
0 answers
1k views

zRAM, increasing size - 16.04/Xenial

How to control zram seems to be quite confusing. I'd like to change my zram size from 8G to 10G, and maybe later to 12G (I have a total of 16G). I have gone into /etc/initramfs-tools/initramfs.conf ...
Diagon's user avatar
  • 460
0 votes
2 answers
3k views

Another question about Using ZRAM for swap

I am running 16.04 on a laptop with a 1 GB SSD with 20 GB ram. File system is btrfs and I didn't create swap. It has not caused me any problems for more than a year. However, I would like to try out ...
Christian's user avatar
  • 1,729
2 votes
1 answer
19k views

Customisation of zram and enable zram disable swap partition [closed]

How do I enable zram and disable the swap partition? How do I use zram instead of a swap partition to gain some speed and hard disk? How do I configure zram to my needs? Why do these things?
Pavlos Theodorou's user avatar
7 votes
5 answers
24k views

How to change zram size?

I installed zram with sudo apt-get install zram-config. After that it started automatically and when I verified with cat /proc/swaps it's running properly But when I used sudo echo 128M > /sys/...
phuclv's user avatar
  • 628
0 votes
1 answer
1k views

How do I enlarge zram? [duplicate]

If I have zram installed on Ubuntu and I want to enlarge it. By default, I only have a 935 megabytes and I need more zram! Does anyone know how I could get more zram? I would like to have at least 3 ...
SnorriChinchilla's user avatar
1 vote
1 answer
71 views

Crash battery power Ubuntu 12.04.5

My computer instantly turns off when trying to load ubuntu 12.04.5 on battery power. If I start with the ac plugged in then unplug the comp runs for hours, so the battery is fine. The crash happens ...
BaisJohn's user avatar
10 votes
1 answer
20k views

ZRAM vs. regular swap partition

I don't fully understand the functionality and the potential advantages of zram. For example: once zram is activated, what percentage of memory will be dedicated to paging? Another issue: obviously ...
MadHatter's user avatar
  • 481
-1 votes
1 answer
2k views

Should i enable zram and/or lower swappiness value?

I use ubuntu 12.04 LTS. I have 2GB RAM. Now, that is split about 55-45 memory-swap. My CPU is almost flatlined! Could I get faster leaner meaner more efficient performance if I lowered swappiness down ...
ALAN's user avatar
  • 139
2 votes
1 answer
977 views

Relation of swappines and zram

I have been interested in zram so I tried to test it. But as I continue to read the guide on what and how to install it, I have realized that it creates a file /dev/zram0 and mounts it as a swap, I ...
user128712's user avatar
  • 2,362
5 votes
2 answers
19k views

How to install zram on Ubuntu 13.04?

I tried to install zRam using the following commands in the terminal: sudo add-apt-repository ppa:shnatsel/zram sudo apt-get update sudo apt-get install zramswap-enabler But it throws the following ...
Andressa's user avatar
-1 votes
1 answer
1k views

ZRAM enabled but Swap in RAM not used

So I've just decided to enable zram on my 6 GB ram Ubuntu 12.04, using zram-config. It takes about 2.9 GB of ram (after manually starting up the service, fixing this later...), but, even with ...
traceur920's user avatar
46 votes
7 answers
89k views

How do I use zRam?

I installed zRam as described on webupd8.org. I installed it from the terminal. Is that all I have to do or do I have to do some configuration or something? Does the zram-enabler do everything by ...
Steiger's user avatar
  • 7,557
-1 votes
1 answer
2k views

Ubuntu 12.04 Faster boot, Hibernate & other questions

I've recently started exploring Ubuntu (my 1st distro). I fresh installed precise without a swap (4GB ram). The only issues are, slow boot (regardless of the swap) and instability after a few days ...
Samarth Shukla's user avatar
0 votes
1 answer
982 views

Forcibly removing zramswap-enabler from my computer

zramswap-enabler has put my package manage in an "inconsistent state." I tried forcibly removing it with this commend: dpkg --remove --force-remove-reinstreq But it seems to freeze and doesn't ...
subtlearray's user avatar
0 votes
1 answer
1k views

Cannot update system - stuck on zramswap-enabler

I'm having the same problem as mentioned here on two computers (one runs 12.04, while the other runs 11.10), but the solution provided does not work for me. When I do update and upgrade through the ...
Ceipheed's user avatar
2 votes
1 answer
3k views

Does using both tmpfs and zram make any sense?

I wondered if tmpfs and zram do negatively interfere with each other in any way? After what I've read about it I'm unsure whether there is a positive cumulative effect accomplishable with that ...
FuzzyQ's user avatar
  • 2,328
2 votes
2 answers
4k views

Where did this zram swap come from?

I have a zram swap (and a normal one) and I got no idea where it came from: $ sudo blkid | grep zram /dev/zram0: UUID="..." TYPE="swap" $ lsmod | grep zram zram 18642 1 $ cat $ ...
htorque's user avatar
  • 64.8k
1 vote
1 answer
3k views

is it safe to remove zram swap enabler?

I have recently installed zram swap enabler, which initially seemed great as it made almost everything seem snappier than before, however over time the spike in CPU for compressing/decompressing ram ...
Jayo's user avatar
  • 1,241
2 votes
2 answers
3k views

Cannot install zRam

I tried to install zRam using following commands in terminal - sudo add-apt-repository ppa:shnatsel/zram sudo apt-get update sudo apt-get install zramswap-enabler But it throws the following error ...
user24665's user avatar
  • 183
1 vote
1 answer
2k views

Would zRam increase my computer's performance?

This article says you can have increased performance in Linux with zRam (virtual swap compressed in RAM). I have 4 GB of RAM , 2.93 GHz (Dual Core) & I use virtualization a lot (VMWare). Would it ...
One Zero's user avatar
  • 27.1k
1 vote
2 answers
10k views

How do I install zRam?

How can I install zRam on my Ubuntu 11.10 acer inspire netbook? Seems like it would be advantageous to use zRam. And would it work?
Dustin's user avatar
  • 2,103
12 votes
4 answers
23k views

How to permanently enable compressed ram swap? What version to use?

EDIT: In precise there's now zram-config. It's an upstart job compressing up to half of your ram spread over $(number of CPU cores) swap devices. It didn't allways start at boot but issuing sudo ...
turbo's user avatar
  • 4,622