Package Details: zramswap 5-1

Git Clone URL: https://aur.archlinux.org/zramswap.git (read-only, click to copy)
Package Base: zramswap
Description: Sets up zram-based swap devices on boot
Upstream URL: http://en.wikipedia.org/wiki/ZRam
Licenses: GPL
Submitter: svenstaro
Maintainer: rpodgorny
Last Packager: rpodgorny
Votes: 235
Popularity: 0.35
First Submitted: 2011-10-05 23:35 (UTC)
Last Updated: 2019-12-20 16:58 (UTC)

Required by (0)

Sources (3)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 19 Next › Last »

francoism commented on 2014-07-30 15:45 (UTC)

@nariox: Thanks for your information. :) About this package: can I use it for creating a custom location for storing (tmp) files into the memory? Or is this only for swapping?

nariox commented on 2014-07-30 15:12 (UTC)

@beta990: zram is a kernel module, you don't neet this package to use it. This package (zramswap) includes scripts to automatically enable zram on boot. To enable/use it you should do: # systemctl enable zramswap # systemctl start zramswap

francoism commented on 2014-07-30 15:00 (UTC)

Hello, I'm not exactly know how to use this tool (correctly). dmesg: zram: Created 2 device(s) ... zram0: detected capacity change from 0 to 832368640 zram1: detected capacity change from 0 to 832368640 Adding 812856k swap on /dev/zram0. Priority:100 extents:1 across:812856k SSFS Adding 812856k swap on /dev/zram1. Priority:100 extents:1 across:812856k SSFS Can I now mount /dev/zram0? Do I need to format it first? I'm looking here: https://www.kernel.org/doc/Documentation/blockdev/zram.txt But I don't know if they are the same. Thanks! :)

Nefelim4ag commented on 2014-07-12 19:40 (UTC)

For zram, instead of use several zram devices for multithreading, we can use /sys/block/zram*/max_comp_streams Also, i write external tool https://github.com/Nefelim4ag/zramctl for managment zram devices, i think it can be helpful for this script.

nariox commented on 2014-06-30 17:14 (UTC)

That's a good point (specially for people who need to use older kernels for some reason). If we put a if clause that checks whether COMP is set before setting the compression algorithm. This way we can keep both options. Either way, the "right way" to do this would be by creating a /etc/default/zramswap file where these settings would be set (instead of editing the systemd script directly). What do you think?

rpodgorny commented on 2014-06-24 21:47 (UTC)

hi nariox! thanks for the patch. i'll be happy to include it but i don't think we should override the kernel-set default. would it be possible to make the compression algorithm selection optional (leaving the default up to the kernel)? thanks!

nariox commented on 2014-06-21 23:25 (UTC)

Hey guys, thanks for the good work. Since linux 3.15, we can use lz4 as the compression algorithm for zram. While some benchmarks show that lz4 is not much faster than lzo, I thought it might be worth adding it as default. I've made a patch for zramctrl that makes it easy to switch between the two. You can get it at : http://pastie.org/9312716

melodie commented on 2014-05-26 13:32 (UTC)

Hello, To rpodgorny: thanks a lot! For giving your word and also for taking the maintainer-ship! (You can see my comment from "2014-05-21 22:39" and the ones I answered after). Regards, Mélodie

rpodgorny commented on 2014-05-25 12:19 (UTC)

thank you!

Nefelim4ag commented on 2014-05-25 12:15 (UTC)

Okay, i revert old package from there. http://pkgbuild.com/git/aur-mirror.git/tree/zramswap?id=eb801b8fd234cd615edcd5f4d7ab0b627f163c24 Enjoy it.