Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 7A4EF116AE57 for ; Tue, 3 Jan 2012 13:38:50 -0400 (AST) Received: from gwmta.wicourts.gov ([165.219.244.99] helo=gw.wicourts.gov) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ri8K1-0000TV-SG for pgsql-admin@postgresql.org; Tue, 03 Jan 2012 17:38:50 +0000 Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Tue, 03 Jan 2012 11:38:36 -0600 Message-Id: <4F02E8BA020000250004428C@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Tue, 03 Jan 2012 11:38:34 -0600 From: "Kevin Grittner" To: "MirrorX" , Subject: Re: system is swapping (not actively), why? References: <1325583863316-5116515.post@n5.nabble.com> <4F02D73D0200002500044283@gw.wicourts.gov> <1325610680877-5117416.post@n5.nabble.com> In-Reply-To: <1325610680877-5117416.post@n5.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Pg-Spam-Score: -6.0 (------) X-Archive-Number: 201201/6 X-Sequence-Number: 38918 MirrorX wrote: > i think it is measured in GB > Swap: 33554424 2105664 31448760 > Swap: 33554424k total That sure seems to be the case. I don't think it change my overall advice -- if you see zero swaps in or out under load, I wouldn't worry about it. We tried configuring our servers to prevent such things, and under careful benchmarking the effort slightly reduced performance. Probably because we were using RAM to hold stuff we didn't need instead of allowing it to be used for OS caching. I know some people are fanatic about keeping that swap number at zero, but in our case it turns out to be best to let the OS do its thing. -Kevin