From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: MirrorX <mirrorx@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: system is swapping (not actively), why?
Date: Tue, 03 Jan 2012 11:38:34 -0600
Message-ID: <4F02E8BA020000250004428C@gw.wicourts.gov> (raw)
In-Reply-To: <1325610680877-5117416.post@n5.nabble.com>
References: <1325583863316-5116515.post@n5.nabble.com>
<4F02D73D0200002500044283@gw.wicourts.gov>
<1325610680877-5117416.post@n5.nabble.com>
MirrorX <mirrorx@gmail.com> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: Kevin.Grittner@wicourts.gov, mirrorx@gmail.com
Subject: Re: system is swapping (not actively), why?
In-Reply-To: <4F02E8BA020000250004428C@gw.wicourts.gov>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox