Re: Linux2.6 overcommit behaviour - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Linux2.6 overcommit behaviour
Date
Msg-id 200308301502.h7UF2oE03669@candle.pha.pa.us
Whole thread Raw
In response to Linux2.6 overcommit behaviour  (Shridhar Daithankar <shridhar_daithankar@persistent.co.in>)
Responses Re: Linux2.6 overcommit behaviour
Re: Linux2.6 overcommit behaviour
List pgsql-hackers
Shridhar Daithankar wrote:
> Hi all,
> 
> Following is from Documentation/vm/overcommit-accounting
> -------------
> 2    -    (NEW) strict overcommit. The total address space commit
>         for the system is not permitted to exceed swap + a
>         configurable percentage (default is 50) of physical RAM.
>         Depending on the percentage you use, in most situations
>         this means a process will not be killed while accessing
>         pages but will receive errors on memory allocation as
>         appropriate.

It is strange to choose 50% of RAM plus swap (what if your spam is
small). I thought it would be 100% of RAM plus the swap that exceeds RAM
size.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: SetVariable
Next
From: Tom Lane
Date:
Subject: Re: SetVariable