<html><head></head><body>My desktop&#39;s get a little swap. This is usually based upon whether I&#39;m going to hibernate or not.  If no hibernation 2gig of swap is fine.  I want the desktop to slow down as RAM is becoming scarce. That&#39;s what swap does without running out of memory. On highly limited netbooks that only have 2 gigs of ram ,  I find 4 gig of swap as the minimum required. This is mainly due to browser memory bloat.<br>
<br>
 My servers that have well-known workloads don&#39;t get any swap usually. If I don&#39;t know the workload when first installed, I&#39;ll provide a little swap and monitor it.<br>
<br>
It really comes down to how well you know the workload for the system. To swap or not to swap is up to you. But there is a trade off, IMHO.<br><br><div class="gmail_quote">On 4 January 2016 20:05:11 GMT-05:00, Jim Kinney &lt;jim.kinney@gmail.com&gt; wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<p dir="ltr">I run with swap on my servers but I have it small compared to ram. Most 128GB systems will get 2G swap.</p>
<p dir="ltr">My HPC cluster has swap disabled. The virtual machine hosts have about 1/3 as much swap as RAM and always more than any 2 VMs ram total.</p>
<p dir="ltr">Setting swappines is a great way to tune the system for good performance.</p>
<div class="gmail_quote">On Jan 4, 2016 7:38 PM, &quot;Scott McBrien&quot; &lt;<a href="mailto:smcbrien@gmail.com">smcbrien@gmail.com</a>&gt; wrote:<br type="attribution" /><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div></div><div>Running without swap used to be a really risky proposition, but these days, running with out it is fine.  Though oom-killer might do things you may not like.  Since it&#39;s your desktop, that&#39;s probably OK, but on a server, it might cause problems if oom-killer whacked your database after killing sshd.  :-)</div><div><br /></div><div>You&#39;ll note that most cloud images and the like don&#39;t run with a swap.</div><div><br /></div><div>-Scott</div><div><br />On Jan 4, 2016, at 2:16 PM, Chris Fowler &lt;<a href="mailto:cfowler@outpostsentinel.com" target="_blank">cfowler@outpostsentinel.com</a>&gt; wrote:<br /><br /></div><blockquote type="cite"><div><div
style="font-family:arial,helvetica,sans-serif;font-size:12pt;color:#000000"><div>On my Ubuntu 15.04 running 3.19 I have found that having swap can be a real problem.  I think this has a lot to do with Chrome.  I have 8G on the machine and when coming back from screen saver or other tasks response takes a substantial drop.  I know it is swapping pages. Disabling swap solves this problem.  I ran my desktop over a month with no swap and forgot to turn it off after a reboot.  I just had to wait 5 minutes so it would become responsive again.</div></div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br /><span>Ale mailing list</span><br /><span><a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a></span><br /><span><a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a></span><br /><span>See JOBS, ANNOUNCE and SCHOOLS lists at</span><br /><span><a
href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a></span><br /></div></blockquote></div><br />_______________________________________________<br />
Ale mailing list<br />
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br />
<a href="http://mail.ale.org/mailman/listinfo/ale" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br />
See JOBS, ANNOUNCE and SCHOOLS lists at<br />
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo</a><br />
<br /></blockquote></div>
<p style="margin-top: 2.5em; margin-bottom: 1em; border-bottom: 1px solid #000"></p><pre class="k9mail"><hr /><br />Ale mailing list<br />Ale@ale.org<br /><a href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a><br />See JOBS, ANNOUNCE and SCHOOLS lists at<br /><a href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a><br /></pre></blockquote></div><br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>