Package Details: zramswap 7-2

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: ugjka
Last Packager: ugjka
Votes: 236
Popularity: 0.39
First Submitted: 2011-10-05 23:35 (UTC)
Last Updated: 2024-11-03 12:09 (UTC)

Required by (0)

Sources (3)

Latest Comments

« First ‹ Previous 1 .. 13 14 15 16 17 18 19 Next › Last »

anish commented on 2011-06-22 22:06 (UTC)

The line "install -Dm 744 $startdir/compcache.init $pkgdir/etc/rc.d/compcache" is wrong. All files in /etc/rc.d have 755 persmissions, not 744

<deleted-account> commented on 2011-04-17 23:50 (UTC)

Turns out my previous comment contained error. The matching part should be: grep -o '/dev/zram[0-9]*' /proc/swaps So the whole line reads: for DVC in `grep -o '/dev/zram[0-9]*' /proc/swaps`; do Additionally the fix for SIZE will be something like this: $(echo $(($SIZE*1024/$DEVICES_COUNT)) > /sys/block/zram$(($i-1))/disksize) >> $LOG_FILE 2>&1

<deleted-account> commented on 2011-04-17 23:43 (UTC)

I found two problems with this package. Both concerns compcache.init file. 1) Stopping compcache causes all swap devices to stop. Instead we should only disable zram devices. So it should be something like this (tested & working): stop) stat_busy "Stopping $DESC " for DVC in `grep -o /dev/zram* /proc/swaps`; do echo "swapoff $DVC" >> $LOG_FILE swapoff $DVC >> $LOG_FILE 2>&1 echo 1 > /sys/block/`basename $DVC`/reset done 2) SIZE doesn't take DEVICES_COUNT into account. Therefore with default size of 25% with devices count = 4 it suddendly take whole ram... which isn't good. I think the best course of action here is to divide SIZE by DEVICE_COUNT.

<deleted-account> commented on 2011-03-06 14:00 (UTC)

it would be good to include sub-projects/scripts/zram_stats to /usr/bin in the package it is a helper script which shows statistics, as mentioned in the README

mortzu commented on 2011-02-13 16:20 (UTC)

fixed. sorry for that

hydro commented on 2011-02-13 13:28 (UTC)

Please take a look at compcache.init, default size of RAM is not computed correctly (25% = 1/4).

mortzu commented on 2011-01-23 21:14 (UTC)

it runs with 2.6.37

cotton commented on 2011-01-19 13:22 (UTC)

Anyone got compcache working with kernel26-2.6.37ck (or even kernel26-2.6.37)? Or has it been incorporated into the kernel yet?

Rulatir commented on 2010-12-20 07:47 (UTC)

The only stable compcache I have ever had was the original 0.6.2 on the last kernel that supported it, right before the mainline adoption fiasco started. Since then EVERY compcache/ramzswap/zram build I've ever tried with ANY kernel suffers from the same symptom: running programs start crashing out of the blue when large amounts of data are swapped back in from the compressed swap. Completely unusable.

mortzu commented on 2010-12-01 12:03 (UTC)

updated. thx