dCore Import Debian Packages to Mountable SCE extensions > dCore X86

zswap not enabled by default?

(1/2) > >>

nitram:
In dCore-jessie zswap does not appear enabled by default. Nothing in dmesg and no zswap listed in /sys/module/. This appears different from TC6 where zswap is active at boot. Is there a kernel module or something i need to activate?

Jason W:
I disabled zswap in tc-config in the early days of dCore as there was an issue then, been meaning to revisit it.   I will soon.

Jason W:
Tested and commands and setup a zram swap on both kernels 3.16.6-tinycore and 4.2.9-tinycore.  I will upload the corrections and without the "nozswap" boot code, zram swap will be used.

nitram:
Pretty fast turn-around, thanks! First test boot with zswap, dmesg indicates zswap, free -m reflects the addtional swap and system appears to be functioning as expected. One thing i noticed, however, is the /etc/fstab output. There is no space/line seperation for /dev/zram. Maybe just cosmetic, anywhoo just wanted to report, thanks.

--- Code: ---devtmpfs       /dev         devtmpfs mode=0755,nosuid    0     0/dev/zram0  swap         swap    defaults,noauto   0       0

--- End code ---

netnomad:
works fine for me, too! :-)

no cosmetic problem for me:

user@dcore:~$ cat /etc/fstab
# /etc/fstab
proc            /proc        proc    defaults          0       0
sysfs           /sys         sysfs   defaults          0       0
devtmpfs       /dev         devtmpfs mode=0755,nosuid    0     0
/dev/zram0  swap         swap    defaults,noauto   0
/dev/sdb1       /mnt/sdb1       vfat     noauto,users,exec,umask=000 0 0 # Added by TC
/dev/sdb2       /mnt/sdb2       ext3     noauto,users,exec    0 0 # Added by TC
/dev/sr0        /mnt/sr0        auto     noauto,users,exec    0 0 # Added by TC

Navigation

[0] Message Index

[#] Next page

Go to full version