<div dir="ltr">ok to the naming and multi zram devices questions:<div><br></div><div><br></div><div>1) one single large space is wasteful if you have your machine up for longer than a  single (or series ) of heavy lifting operations  --say you are rendering a video and then back to the usual grind stuff would you want all that extra space just wasted ?  also say a follow up process is in need of more would you wanna be stuck on previous values?   zram is dynamic in nature smaller more numerous /dev/zram$i  allows for that and in a dynamic manner...</div><div><br></div><div><br></div><div>2) it the RAM its based off not swap and the &quot;z&quot; is known as dynamic </div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div>Corey W Sheldon</div><div>Freelance IT Consultant, Multi-Discipline Tutor </div><div>310.909.7672</div><div><a href="http://www.facebook.com/1stclassmobileshine" target="_blank">www.facebook.com/1stclassmobileshine</a></div></div></div></div>
<br><div class="gmail_quote">On Thu, Nov 27, 2014 at 7:39 PM, Reindl Harald <span dir="ltr">&lt;<a href="mailto:h.reindl@thelounge.net" target="_blank">h.reindl@thelounge.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
Am 28.11.2014 um 01:34 schrieb Zbigniew Jędrzejewski-Szmek:<span class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Fri, Nov 28, 2014 at 01:21:26AM +0100, Zbigniew Jędrzejewski-Szmek wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Thu, Nov 27, 2014 at 04:42:36PM +0100, Juan Orti wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
El 2014-11-27 14:48, Reindl Harald escribió:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Am 27.11.2014 um 14:25 schrieb Juan Orti:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Reindl, I&#39;m of the opinion you should upload your scripts to some git<br>
repository and package them to be part of the distribution. I can<br>
co-maintain if you wish<br>
</blockquote>
<br>
feel free to package it!<br>
<br>
that&#39;s why i attached it as i saw the topic<br>
i am not a active packager on the Fedora infrastrcuture<br>
</blockquote>
<br>
Ok, I&#39;ve uploaded the scripts to GitHub and submitted a review request:<br>
<br>
<a href="https://github.com/jorti/zram-swap" target="_blank">https://github.com/jorti/zram-<u></u>swap</a><br>
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1168692" target="_blank">https://bugzilla.redhat.com/<u></u>show_bug.cgi?id=1168692</a><br>
</blockquote>
I have a question about the code: why are multiple swap devices needed?<br>
/sys/block/zram0/max_comp_<u></u>streams can be set to whatever number is<br>
wanted. While it might be useful to have additional zram devices<br>
for different purposes, I don&#39;t think more than one zram swap is<br>
useful. If you only have one device, then reloading the module is<br>
no longer necessary to change the parameters, since everything<br>
else seems to be configurable through sysfs.<br>
</blockquote>
And another question (sorry, I never used compressed swap before):<br>
why not zswap? It seems to be a better fit for the desktop/server<br>
environments that Fedora is used for. IIUC, zswap is better because<br>
it overflows automatically into the backing swap device<br>
</blockquote>
<br></span>
on machines with plenty RAM i prefer not have a swap partition or a swap file at all - especially on virtual machines it&#39;s a waste of (possible expensive SAN) disk storage<br>
<br>
on virtual servers currently i prefer zram inside the guest to avoid OOM conditions in the guest while the memory compression of the hypervisor steps in too late and is more for overcommit the host<br>
<br>
<br>--<br>
devel mailing list<br>
<a href="mailto:devel@lists.fedoraproject.org">devel@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/devel" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/devel</a><br>
Fedora Code of Conduct: <a href="http://fedoraproject.org/code-of-conduct" target="_blank">http://fedoraproject.org/code-of-conduct</a><br></blockquote></div><br></div>