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: 230
Popularity: 1.55
First Submitted: 2011-10-05 23:35
Last Updated: 2019-12-20 16:58

Required by (0)

Sources (3)

Latest Comments

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

Nefelim4ag commented on 2014-07-12 19:40

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

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

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

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

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

thank you!

Nefelim4ag commented on 2014-05-25 12:15

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

Nefelim4ag commented on 2014-05-25 12:14

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

rpodgorny commented on 2014-05-25 10:45

whoa! what the hell is this? did you really just overwrite this package with systemd-swap?

this is a major NO-NO!

1) the packages may be an obsolete mess but still it's working and deserves to exist.
2) systemd-swap is a completely different implementation with completely different settings system and completely different features.
3) the votes zramswap has accumulated over time were for the original implementation, not the new one.
4) systemd-swap is not ready for prime time, yet.

...so, please keep systemd-swap in systemd-swap and return the original zramswap here. i have no problem taking over the maintanership.

thank you!

karol_007 commented on 2014-05-23 09:51

systemd-swap has just been moved to [community] https://projects.archlinux.org/svntogit/community.git/log/trunk?h=packages/systemd-swap