pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joel Reymont <joelr1@gmail.com>
To: pgsql-performance@postgresql.org
Subject: tuning on ec2
Date: Tue, 26 Apr 2011 16:15:42 +0100
Message-ID: <229BF7C0-E7AB-43CB-BD7D-B8EECEF60430@gmail.com> (raw)

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
---------------------+------------+---------------------------------------






view thread (3+ messages)  latest in thread

Message-ID: <229BF7C0-E7AB-43CB-BD7D-B8EECEF60430@gmail.com>
Permalink:  ../229BF7C0-E7AB-43CB-BD7D-B8EECEF60430@gmail.com/
Also on:    postgresql.org/message-id/229BF7C0-E7AB-43CB-BD7D-B8EECEF60430@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: joelr1@gmail.com
  Subject: Re: tuning on ec2
  In-Reply-To: <229BF7C0-E7AB-43CB-BD7D-B8EECEF60430@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox