pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: William Yu <wyu@talisys.com>
To: pgsql-performance@postgresql.org
Subject: Re: Low Performance for big hospital server ..
Date: Mon, 03 Jan 2005 11:57:50 -0800
Message-ID: <crc87h$2ehh$1@news.hub.org> (raw)
In-Reply-To: <41D95042.70705@fastcrypt.com>
References: <1104634472.41d762681b548@webmail.moph.go.th>
	<20050102140828.GA21826@pobox.com>
	<1104683293.41d8211d62221@webmail.moph.go.th>
	<41D827C1.3050707@fastcrypt.com>
	<1104717243.41d8a5bb9cb9b@webmail.moph.go.th>
	<crb01v$hp4$1@news.hub.org>
	<41D95042.70705@fastcrypt.com>

Dave Cramer wrote:

> 
> 
> William Yu wrote:
> 
>> amrit@health2.moph.go.th wrote:
>>
>>> I will try to reduce shared buffer to 1536 [1.87 Mb].
>>
>>
>>
>> 1536 is probaby too low. I've tested a bunch of different settings on 
>> my  8GB Opteron server and 10K seems to be the best setting.
> 
> 
> Be careful here, he is not using opterons which can access physical 
> memory above 4G efficiently. Also he only has 4G the 6-10% rule still 
> applies

10% of 4GB is 400MB. 10K buffers is 80MB. Easily less than the 6-10% rule.


>> To figure out your effective cache size, run top and add free+cached.
> 
> 
> My understanding is that effective cache is the sum of shared buffers, 
> plus kernel buffers, not sure what free + cached gives you?

Not true. Effective cache size is the free memory available that the OS 
can use for caching for Postgres. In a system that runs nothing but 
Postgres, it's free + cached.



view thread (38+ messages)  latest in thread

Message-ID: <crc87h$2ehh$1@news.hub.org>
Permalink:  ../crc87h$2ehh$1@news.hub.org/
Also on:    postgresql.org/message-id/crc87h$2ehh$1@news.hub.org

 · 

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: wyu@talisys.com
  Subject: Re: Low Performance for big hospital server ..
  In-Reply-To: <crc87h$2ehh$1@news.hub.org>

* 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