<div dir="ltr">Hi Leszek,<div><br></div><div>I must say that I'm so much happy, glad and comfortable reading your pure technical words in your Email. You made my day, thank you so much. Such 'quality' is very much needed on the mailing list and I wish we could follow your steps. THANK YOU!</div>
<div>No wonder, if you are a developer, you must be wise and choose your words carefully and your explanation is amazing. Anyone and everyone can understand it.</div><div><br><div class="gmail_extra"><br><div class="gmail_quote">
On Sun, Jun 9, 2013 at 12:44 PM, Leszek Lesner <span dir="ltr"><<a href="mailto:leszek.lesner@web.de" target="_blank">leszek.lesner@web.de</a>></span> wrote:<br><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im"><span style="color:rgb(34,34,34)">It will raise the SWAP size. This in particular will not help much(if you</span><br></div>
already have 1 GB). </blockquote><div><br></div><div><div>Glad we are on the same page :)</div></div><div style>As long as SWAP is 1GB for example, zRAM is not going to help much.</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
But for SWAP files/partitions you can set priorities. So<br>
that for swap it should use zram first and then the hdd or ssd in your<br>
computer.<br></blockquote><div dir="rtl" style><br></div><div style>+1</div><div style> Definitely. Otherwise, zRAM will be a total waste and helpless.<br></div><div style><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
And one rule that applies always RAM is faster than hdd/ssd. </blockquote><div><br></div><div>+1</div><div style>Preciously! </div><div style><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
So swapping out<br>
to a compressed ramdrive might be a little bit slower than directly writing to<br>
your memory (this depends on the cpu and the number of cpus) but it is<br>
definitely faster then writing to your harddrive.<br></blockquote><div><br></div><div>+1</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
On much workload which uses lots and lots of memory (usually the webbrowser is<br>
a memory hungry beast no matter if chromium or firefox or xyz) this could<br>
dramatically help the performance. </blockquote><div><br></div><div style>It helped me at the beginning but then, it did not. I was using Chromium during that test, if I remember correctly and I guess I still have the report and screenshot.</div>
<div style><br></div><div style><a href="http://amjjawad.blogspot.ae/2013/05/facebook-on-lubuntu-1210.html">http://amjjawad.blogspot.com/2013/05/facebook-on-lubuntu-1210.html</a><br></div><div style><br></div><div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">(especially also when you think about live<br>
usb sticks with persistency files/partitions + swap file/partiton on it - I<br>
admit this might be a rare case but I have seen this before more than once<br>
already)</blockquote><div><br></div><div style>I am not sure I got that but never mind. </div><div> </div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im">
> When I first starting using Ubuntu and Lubuntu, when I first joined the<br>
> Ubuntu Forms, the GURUs and the Expert people over there taught me<br>
> something.<br>
> If you have 1GB-2GB RAM or more, SWAP Partition = RAM<br>
> If you have LESS than 1GB RAM, SWAP Partition = 2 * RAM<br>
<br>
</div>It depends.<br></blockquote><div><br></div><div style>Of course, depends on what you use and need and on your machine as well.</div><div style><br></div><div style> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Chromium for example sometimes needs lots and lots of ram and in this case it<br>
might be wise to also have more SWAP space for this.<br>
As /tmp nowadays also tends to be written to ram it might be also helpful to<br>
have a bigger swap file/partition depending on how you work and what<br>
applications you use.<br>
Audacity (the audio editor) for example writes everything to /tmp if you don't<br>
save your project somewhere. This can fill the /tmp directory very fast if you<br>
are cutting an interview or a large music file.</blockquote><div><br></div><div style>Chromium is a RAM beast, no doubt about it.</div><div style><br></div><div style>For my machines, I have two machines with 512MB RAM. SWAP is always 1GB RAM.</div>
<div style><br>I have two Core i5 with 4GB RAM and my SWAP is 4GB as well.</div><div style><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im">
> Whenever I use my test machines with 512MB RAM, I always set SWAP Partition<br>
> to be 1GB RAM. NO MATTER how much my HDD Size is.<br>
> Having that said, I do have NO problems at all whether installing from a<br>
> LiveCD or LiveUSB.<br>
<br>
</div>Not everyone who wants to install Lubuntu has a swap space on disk for it on<br>
first installs. </blockquote><div><br></div><div style>If this is the one and only Linux System to be installed then YES!</div><div style>If the HDD is empty and this is the first install (example: wiped HDD) then also YES!</div>
<div> </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">It might be very convenient then to double the memory available<br>
just by enabling zram (which uses the same amount as RAM is available as<br>
virtual swap space compressed in RAM). </blockquote><div><br></div><div style>I am so sorry, my friend but I must disagree with this. At least, my tests shows that zRAM did not double the RAM size. I had 1GB SWAP and when zRAM was enabled, it became 1.2GB and to make sure, I disabled my SWAP and still the same result: <a href="http://3.bp.blogspot.com/-pT51RQGkvVc/UYbdyOIyjRI/AAAAAAAAAcg/4MOnLLT8GkE/s1600/2013-05-05-174643_1280x1024_scrot.png">http://3.bp.blogspot.com/-pT51RQGkvVc/UYbdyOIyjRI/AAAAAAAAAcg/4MOnLLT8GkE/s1600/2013-05-05-174643_1280x1024_scrot.png</a></div>
<div style><br></div><div style> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">At least it is more convenient than<br>
telling those people to firstly create a swap partition with gparted and either<br>
enable it with the terminal or reboot the live system to be able to install<br>
the system on the pc.<br></blockquote><div><br></div><div>+1 </div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I hope that explains some things .<br></blockquote><div><br></div><div style>It explains a lot of things, many thanks :D</div><div style><br></div><div style> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Ah and btw. we here at ZevenOS also tested zram in Neptune (yeah I am the main<br>
dev of Neptune & ZevenOS) for about half a year and it worked fine so far and<br>
we made particullary good experiences with live systems + persistency (which<br>
is one of Neptunes primary goals).</blockquote><div><br></div><div style>Can I join your team? :P</div><div style><br></div><div style><br></div><div style>Anyway, I'm glad that Julien agreed to add it by default so I can't wait for some HEAVY tests :D</div>
<div><br></div><div><br></div></div>-- <br><div dir="ltr"><div><b style="font-family:'trebuchet ms',sans-serif"><span style="color:rgb(11,83,148)">Best Regards,</span></b><br></div><div><span style="font-family:'trebuchet ms',sans-serif"><b><span style="color:rgb(11,83,148)"><a href="https://wiki.ubuntu.com/amjjawad/" target="_blank">amjjawad</a></span></b><br>
</span></div><span style="font-family:'trebuchet ms',sans-serif"><b><a href="https://wiki.ubuntu.com/Lubuntu/CommunicationsTeam/WOWLubuntu/StartUbuntu" target="_blank"><span style="color:rgb(204,0,0)">Start Ubuntu</span></a></b><br>
</span><div><span style="font-family:'trebuchet ms',sans-serif"><br></span></div><div><i><span style="font-family:'trebuchet ms',sans-serif">Test Machine: ASUS F3F Laptop - </span></i><span style="font-family:arial,helvetica,sans-serif"><span><i>Intel Core Duo T2350 @ 1.86GHz with 489MB RAM</i><br>
</span></span></div><div><br></div></div>
</div></div></div>