Re: [PERFORM] Recommended Swap space

2013-04-12 Thread Scott Marlowe
No, I've had it happen with NUMA turned off. The NUMA issues are with zone_reclaim_mode. If you have it set to 1 (default on a lot of big machines) it can cause serious problems with performance as well. On Fri, Apr 12, 2013 at 3:21 PM, Claudio Freire wrote: > On Fri, Apr 12, 2013 at 6:15 PM, S

Re: [PERFORM] Recommended Swap space

2013-04-12 Thread Claudio Freire
On Fri, Apr 12, 2013 at 6:15 PM, Scott Marlowe wrote: > The really messed up bit is that the problems with the kswapd won't show up > for weeks, months, or sometimes even longer. The symptoms of a kswapd > problem is that swap is mostly full, but there's LOTS of free memory / > kernel cache, and t

Re: [PERFORM] Recommended Swap space

2013-04-12 Thread Scott Marlowe
My experience is that you're best off either with a swap space that matches or exceeds physical memory, or none at all. The linux kernel swap daemon (kswapd) gets confused and behaves badly with small swap spaces, especially the more memory you have. Good news is that hard drives are cheap and 32G

[PERFORM] Recommended Swap space

2013-04-12 Thread Nik Tek
Hi, What is the recommended swap space for postgres or 9.0.11 or 9.2.3 on linux(3.0.58-0.6) RAM on the hox is 32GB. Thank you Nik