Tiny Core Linux

dCore Import Debian Packages to Mountable SCE extensions => dCore X86 => Topic started by: netnomad on March 01, 2016, 07:43:21 AM

Title: zram - swap-device in ram
Post by: netnomad on March 01, 2016, 07:43:21 AM
hi friends,

in earlier installations of tinycore i had a swap-device in the memory.
later this zram-feature disappeared.

is there a reason for that?

thank you for your replies.
Title: Re: zram - swap-device in ram
Post by: patrikg on March 01, 2016, 10:42:03 AM
Take a look at your bootcodes(kernel cmdline args).

http://wiki.tinycorelinux.net/wiki:boot_codes_explained
http://distro.ibiblio.org/tinycorelinux/faq.html#bootcodes

The contents of the boot command line are visible in /proc/cmdline.
Title: Re: zram - swap-device in ram
Post by: netnomad on March 01, 2016, 03:10:24 PM
hi patrikg,

there a bootcodes for using a swapfile, no swap at all and a bootcode for avoiding zram.

tinycore swapfile{=hda1}       Scan or Specify swapfile
tinycore noswap                      Do not use swap partition
tinycore nozswap                    Skip compressed swap in ram

so zram was the default swap in the former configurations.
Title: Re: zram - swap-device in ram
Post by: Jason W on March 01, 2016, 10:24:41 PM
zram swap was disabled early in dCore as I could not get it working.  I will revisit it and see if I can find what the issue was, as it was and still is enabled in the dCore kernel config.
Title: Re: zram - swap-device in ram
Post by: netnomad on May 03, 2016, 08:52:55 AM
... that sounds really good :-)
Title: Re: zram - swap-device in ram
Post by: kevinfish on June 26, 2016, 01:16:43 PM
is this working yet?

If so how do I get it on my machine?
Title: Re: zram - swap-device in ram
Post by: Jason W on June 26, 2016, 01:38:14 PM
Not now, but when time allows I will revisit it.