<div dir="ltr"><div dir="ltr">You do realize that some of us have been using swap-on-zram for the best part of a decade, right?</div><div dir="ltr">It never required a systemd service, you just need an entry in /etc/modprobe.d (optional), an entry in fastab (optionl) and a script in /etc/sysconfig/modules (you can fold the other two I mentioned in here so it's in a single place).<br><div>At the beginning zram only used LZO compression, and was single-threaded, so we created one zram block device per CPU core, did mkswap on them and did swapon with equap priority on all of those swap devices.</div><div>I had this on on Fedora and later RSEL6 on my SheevaPlug Toshiba AC100 as far back as 2009, and I can't have been the only one.</div><div><br></div><div>In fact, this related ticket dates back to 2007, and I only got in on it in 2009:</div><div><a href="https://bugzilla.redhat.com/show_bug.cgi?id=223722">https://bugzilla.redhat.com/show_bug.cgi?id=223722</a><br></div><div><br></div><div>Apparently that was a "can't fix" - worked for me since 2009 with the solution I attached to that ticket.</div><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Oct 12, 2018 at 4:47 PM Robert Moskowitz <<a href="mailto:rgm@htt-consult.com">rgm@htt-consult.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have been working with Mark Verlinde, well actually he did the heavy <br>
lifting, to port zram to Centos...<br>
<br>
<a href="https://copr.fedorainfracloud.org/coprs/markvnl/zram-swap/" rel="noreferrer" target="_blank">https://copr.fedorainfracloud.org/coprs/markvnl/zram-swap/</a><br>
<br>
A few of us are actively using it.<br>
<br>
Give it a try yourselves!<br>
<br>
As it is noarch, it should work on all Centos7 arch.<br>
<br>
On 10/7/18 1:06 PM, Robert Moskowitz wrote:<br>
><br>
><br>
> On 10/7/18 11:57 AM, Pablo Sebastián Greco wrote:<br>
>> Too many questions together... ;-)<br>
>><br>
>> El 7/10/18 a las 08:58, Robert Moskowitz escribió:<br>
>>> I have very recently learned about zram-swap.  Fedora-29-arm is <br>
>>> using it.  It supposedly makes a considerable difference even over <br>
>>> HD swap.<br>
>> Do you have a link for me to read about that? I'd like to see some <br>
>> numbers on performance, specially on the CPU, because small ARM <br>
>> devices are not exactly fast to compress.<br>
><br>
> You could ask on the Fedora-arm list where Peter Robinson (I believe <br>
> he is part of the Fedora development with heavy presence in the arm <br>
> work) recently explained, kind of, how F29-arm is using it.<br>
><br>
>>><br>
>>> Since many (potential) users of Centos-arm do not have a ready HD, <br>
>>> perhaps we can switch the image from a physical partition to zram? <br>
>>> Or at least instructions to change to this on the wiki.<br>
>> Switch might be difficult, but maybe generate a "tech preview" <br>
>> alternative build.<br>
>> This is the link to how we create the images, maybe  you could send <br>
>> me some changes to test <br>
>> <a href="https://github.com/CentOS/sig-core-AltArch/tree/master/image_build" rel="noreferrer" target="_blank">https://github.com/CentOS/sig-core-AltArch/tree/master/image_build</a><br>
><br>
> Minimally in the wiki, how to switch from a partition swap to zram. I <br>
> am working on learning more about it...<br>
><br>
><br>
> _______________________________________________<br>
> Arm-dev mailing list<br>
> <a href="mailto:Arm-dev@centos.org" target="_blank">Arm-dev@centos.org</a><br>
> <a href="https://lists.centos.org/mailman/listinfo/arm-dev" rel="noreferrer" target="_blank">https://lists.centos.org/mailman/listinfo/arm-dev</a><br>
<br>
_______________________________________________<br>
Arm-dev mailing list<br>
<a href="mailto:Arm-dev@centos.org" target="_blank">Arm-dev@centos.org</a><br>
<a href="https://lists.centos.org/mailman/listinfo/arm-dev" rel="noreferrer" target="_blank">https://lists.centos.org/mailman/listinfo/arm-dev</a><br>
</blockquote></div>