Package Details: zramswap 2-1

Git Clone URL: (read-only)
Package Base: zramswap
Description: Sets up zram-based swap devices on boot
Upstream URL:
Licenses: GPL
Submitter: Svenstaro
Maintainer: rpodgorny
Last Packager: rpodgorny
Votes: 211
Popularity: 2.368996
First Submitted: 2011-10-05 23:35
Last Updated: 2018-03-18 23:48

Required by (0)

Sources (2)

Latest Comments

jaab commented on 2018-04-13 10:46

Works like a charm for small arm devices. Thank you!

duffydack commented on 2018-03-19 00:13

/dev/zram{0-7} lz4 199.2M 4K 68B 4K 8 [SWAP]

Excellent, thank you.

rpodgorny commented on 2018-03-18 23:56

updated. please test.

duffydack commented on 2018-03-18 23:35

Lz4 is faster apparently, also arch wiki zram example. I can set it myself, it's no biggie.

rpodgorny commented on 2018-03-18 23:09

i'm not forcing any particular algorithm so the default is being used. ...which seems to be lzo.

any reason why i should override the default?

duffydack commented on 2018-03-18 22:43

Any chance the script can set the algorithm to lz4. I can do this myself if need be, but think it's a good default to have using this PKG. Regards

rpodgorny commented on 2017-11-19 22:42

i don't think it's outdated. it's just a simpler version if you want zram only.

lod commented on 2017-11-19 19:31

Outdated approach for creating hybrid swap space.
Use this instead:

vgivanovic commented on 2017-02-21 17:35

This package and zswap should be combined. (I'm leaving a similar comment aur:zwap.)

Anakon commented on 2015-10-08 11:27

May I suggest to use the nproc command to get cpucount instead of parsing /proc/cpuinfo ?
For example on an Odroid C1 this leads to a wrong number of 5 :
$ cat /proc/cpuinfo
Processor : ARMv7 Processor rev 1 (v7l)
processor : 0
BogoMIPS : 3.27

processor : 1
BogoMIPS : 3.27

processor : 2
BogoMIPS : 3.27

processor : 3
BogoMIPS : 3.27

Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc05
CPU revision : 1

Hardware : ODROIDC
Revision : 000a
Serial : 1b00000000000000

All comments