4 ms·
I think infiniswap is pretty neat technically. The real solution to this problem is to design your application so it doesn't swap though.
by gct 9y ago
I think infiniswap is pretty neat technically. The real solution to this problem is to design your application so it doesn't swap though.
- greglindahl 9y agoIf you have a lot of unused memory in your cluster, and your application runs a lot faster if you use it, how is that a bad thing?
- jessaustin 9y agoOf course very few usage patterns can avoid swap entirely, but in general, avoiding it is faster than hitting it.
- greglindahl 9y agoAlmost all usage patterns can avoid swap. In this case they're intentionally using a ram-network swap device because it's cost-effective... faster than avoiding swap.
- gnufx 9y agoHPC applications typically have to avoid swapping, since they are likely to be limited by the resource manager and compute nodes typically have minimal or no swap space anyway. (The reason you might want a big swap area is to be able to suspend jobs in favour of higher-priority ones.) It's often a significant performance issue if you even need to go off the NUMA node to memory.