pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Yeb Havinga <yebhavinga@gmail.com>
To: Hannu Krosing <hannu@2ndquadrant.com>
Cc: Scott Marlowe <scott.marlowe@gmail.com>
Cc: Greg Smith <greg@2ndquadrant.com>
Cc: Josh Berkus <josh@agliodbs.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Testing Sandforce SSD
Date: Tue, 03 Aug 2010 17:37:36 +0200
Message-ID: <4C5837C0.6060704@gmail.com> (raw)
In-Reply-To: <4C57FB5D.1020006@gmail.com>
References: <4C4A9452.9070100@gmail.com>
	<4C4B1F84.5030306@2ndquadrant.com>
	<4C4B4B41.7000800@2ndquadrant.com>
	<4C52E957.8020304@gmail.com>
	<AANLkTinNX63EsRtNjtKeeygymWjH8VA3EWwxBzXGCy0=@mail.gmail.com>
	<4C56DD8B.6050303@gmail.com>
	<4C5744F5.3020805@agliodbs.com>
	<4C575DCF.3050700@2ndquadrant.com>
	<AANLkTikQ=CUSoRy+MxYA2TAfk2hdipA4Uz_qYXyu+yhR@mail.gmail.com>
	<4C57D5FD.9040306@gmail.com>
	<1280826522.14579.66.camel@hvost>
	<4C57FB5D.1020006@gmail.com>

Yeb Havinga wrote:
> Hannu Krosing wrote:
>> Did it fit in shared_buffers, or system cache ?
>>   
> Database was ~5GB, server has 16GB, shared buffers was set to 1920MB.
>> I first noticed this several years ago, when doing a COPY to a large
>> table with indexes took noticably longer (2-3 times longer) when the
>> indexes were in system cache than when they were in shared_buffers.
>>   
> I read this as a hint: try increasing shared_buffers. I'll redo the 
> pgbench run with increased shared_buffers.
Shared buffers raised from 1920MB to 3520MB:

 pgbench -v -l -c 20 -M prepared -T 1800 test
starting vacuum...end.
starting vacuum pgbench_accounts...end.
transaction type: TPC-B (sort of)
scaling factor: 300
query mode: prepared
number of clients: 20
duration: 1800 s
number of transactions actually processed: 12971714
tps = 7206.244065 (including connections establishing)
tps = 7206.349947 (excluding connections establishing)

:-)



view thread (60+ messages)  latest in thread

Message-ID: <4C5837C0.6060704@gmail.com>
Permalink:  ../4C5837C0.6060704@gmail.com/
Also on:    postgresql.org/message-id/4C5837C0.6060704@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: yebhavinga@gmail.com, hannu@2ndquadrant.com, scott.marlowe@gmail.com, greg@2ndquadrant.com, josh@agliodbs.com
  Subject: Re: Testing Sandforce SSD
  In-Reply-To: <4C5837C0.6060704@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