On 02/10/2015 02:02 PM, Mark Hahn wrote:

[...]

is net-swap really ever a good idea?  it always seems like asking for
trouble, though in principle there's no reason why net IO should be
"worse" than disk IO...

... except for the need to allocate memory to build packets to send the swap data.

I've not done it recently (in the last few years), but previously, network based swap was a recipe for a death spiral.

If you can use zram, use it. If you can't, decide if swap is important (HPC no, VMs possibly, other use cases vary).

There are still a few places that look at you funny if you suggest running w/o swap. The 6 orders of magnitude performance difference for random page touching performance suggests you should stare them back down.

Seriously, if you can avoid under-spec'ing/provisioning ram, you should. Not everyone can, so you may need it. Just understand that when it hits, you may wish for the wild west of OOM shooting random things in comparison to random 4k page touches. Yes, I've seen the latter.


--
Joseph Landman, Ph.D
Founder and CEO
Scalable Informatics, Inc.
e: [email protected]
w: http://scalableinformatics.com
t: @scalableinfo
p: +1 734 786 8423 x121
c: +1 734 612 4615
_______________________________________________
Beowulf mailing list, [email protected] sponsored by Penguin Computing
To change your subscription (digest mode or unsubscribe) visit 
http://www.beowulf.org/mailman/listinfo/beowulf

Reply via email to