tuning on ec2 - Mailing list pgsql-performance

From Joel Reymont
Subject tuning on ec2
Date
Msg-id 229BF7C0-E7AB-43CB-BD7D-B8EECEF60430@gmail.com
Whole thread Raw
Responses Re: tuning on ec2  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-performance
I'm running pgsql on an m1.large EC2 instance with 7.5gb available memory.

The free command shows 7gb of free+cached. My understand from the docs is that I should dedicate 1.75gb to
shared_buffers(25%) and set effective_cache_size to 7gb.  

Is this correct? I'm running 64-bit Ubuntu 10.10, e.g.

Linux ... 2.6.35-28-virtual #50-Ubuntu SMP Fri Mar 18 19:16:26 UTC 2011 x86_64 GNU/Linux

    Thanks, Joel

--------------------------------------------------------------------------
- for hire: mac osx device driver ninja, kernel extensions and usb drivers
---------------------+------------+---------------------------------------
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
---------------------+------------+---------------------------------------




pgsql-performance by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: Time to put theory to the test?
Next
From: Joel Reymont
Date:
Subject: optimizing a cpu-heavy query