Search Postgresql Archives

Re: pg/linux How much swap relative to physical memory is needed?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2010/6/10 Alan Hodgson <ahodgson@xxxxxxxxx>:
> On Thursday, June 10, 2010, Kelly Burkhart <kelly.burkhart@xxxxxxxxx> wrote:
>> Should I be concerned?
>>
>> Thanks,
>
> The default Linux kernel settings will tend to swap stuff out to make more
> memory available for filesystem cache. You can lower the value set in
> /proc/sys/vm/swappiness to decrease this tendency. I don't think it's
> hurting anything, though; it just has pages it thinks can be usefully
> swapped out.

you can read
    * /usr/src/linux/Documentation/vm/overcommit-account
to get more info.

But depending of your OOMKiller mode, the size of the swap is used to
determine the total commit memory.
So if your swap is too small with huge RAM, and mode 2 for OOM you
might not used all of your available memory.




>
> --
> "No animals were harmed in the recording of this episode. We tried but that
> damn monkey was just too fast."
>
> --
> Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>



-- 
Cédric Villemain               2ndQuadrant
http://2ndQuadrant.fr/     PostgreSQL : Expertise, Formation et Support

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux