[nycbug-talk] Postgres memory usage FreeBSD

Brian Cully bcully at gmail.com
Wed Apr 8 18:55:30 EDT 2009


Assuming you're using gcc, try compiling postgres -m64.

I believe the defaults are still for 32 bit, which makes sense: most  
applications gain no benefit from 64, and many lose.

-bjc

On Apr 8, 2009, at 18:17, Pete Wright <pete at nomadlogic.org> wrote:

>
> On 8-Apr-09, at 2:14 PM, Matt Terenzio wrote:
>
>>
>> Recently added some RAM to a FreeBSD system. Is it likely that I  
>> need to
>> recompile the kernel in order for Postgresql to be able to take  
>> advantage of
>> the extra ram?
>>
>>
> Hi Matt,
> Not much to go on here - is your system 32bit or 64bit.  How much  
> memory did you have before the upgrade, how much after?  If you  
> system is 32bit is PAE enabled?  After adding the RAM did you see  
> the new memory in "dmesg" or in "top" even?
>
> taking a wild guess - you should be all set (assuming you are using  
> a default kernel on a 64bit system).
>
> -pete
> _______________________________________________
> talk mailing list
> talk at lists.nycbug.org
> http://lists.nycbug.org/mailman/listinfo/talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nycbug.org/pipermail/talk/attachments/20090408/e146febb/attachment.html>


More information about the talk mailing list