Re: system is swapping (not actively), why? - Mailing list pgsql-admin

From Kevin Grittner
Subject Re: system is swapping (not actively), why?
Date
Msg-id 4F02E8BA020000250004428C@gw.wicourts.gov
Whole thread Raw
In response to Re: system is swapping (not actively), why?  (MirrorX <mirrorx@gmail.com>)
Responses Re: system is swapping (not actively), why?  (MirrorX <mirrorx@gmail.com>)
List pgsql-admin
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

pgsql-admin by date:

Previous
From: MirrorX
Date:
Subject: Re: system is swapping (not actively), why?
Next
From: Maurício Cruz
Date:
Subject: lo_import