pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hannu Krosing <hannu@2ndquadrant.com>
To: Greg Smith <greg@2ndquadrant.com>
Cc: Matthew Wakeling <matthew@flymine.org>
Cc: Yeb Havinga <yebhavinga@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Testing Sandforce SSD
Date: Mon, 26 Jul 2010 23:40:49 +0300
Message-ID: <1280176849.29137.1366.camel@hvost> (raw)
In-Reply-To: <4C4DD53F.4070901@2ndquadrant.com>
References: <4C4A9452.9070100@gmail.com>
	<4C4B1F84.5030306@2ndquadrant.com>
	<4C4C83DF.3010703@gmail.com>
	<4C4C8CCC.7080406@gmail.com>
	<alpine.DEB.2.00.1007261045470.20471@aragorn.flymine.org>
	<4C4DA982.5090308@2ndquadrant.com>
	<alpine.DEB.2.00.1007261632380.20471@aragorn.flymine.org>
	<4C4DD53F.4070901@2ndquadrant.com>

On Mon, 2010-07-26 at 14:34 -0400, Greg Smith wrote:
> Matthew Wakeling wrote:
> > Yeb also made the point - there are far too many points on that graph 
> > to really tell what the average latency is. It'd be instructive to 
> > have a few figures, like "only x% of requests took longer than y".
> 
> Average latency is the inverse of TPS.  So if the result is, say, 1200 
> TPS, that means the average latency is 1 / (1200 transactions/second) = 
> 0.83 milliseconds/transaction. 

This is probably only true if you run all transactions sequentially in
one connection? 

If you run 10 parallel threads and get 1200 sec, the average transaction
time (latency?) is probably closer to 8.3 ms ?

>  The average TPS figure is normally on a 
> more useful scale as far as being able to compare them in ways that make 
> sense to people.
> 
> pgbench-tools derives average, worst-case, and 90th percentile figures 
> for latency from the logs.  I have 37MB worth of graphs from a system 
> showing how all this typically works for regular hard drives I've been 
> given permission to publish; just need to find a place to host it at 
> internally and I'll make the whole stack available to the world.  So far 
> Yeb's data is showing that a single SSD is competitive with a small 
> array on average, but with better worst-case behavior than I'm used to 
> seeing.
> 
> -- 
> Greg Smith  2ndQuadrant US  Baltimore, MD
> PostgreSQL Training, Services and Support
> greg@2ndQuadrant.com   www.2ndQuadrant.us
> 
> 


-- 
Hannu Krosing   http://www.2ndQuadrant.com
PostgreSQL Scalability and Availability 
   Services, Consulting and Training





view thread (60+ messages)  latest in thread

Message-ID: <1280176849.29137.1366.camel@hvost>
Permalink:  ../1280176849.29137.1366.camel@hvost/
Also on:    postgresql.org/message-id/1280176849.29137.1366.camel@hvost

 · 

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: hannu@2ndquadrant.com, greg@2ndquadrant.com, matthew@flymine.org, yebhavinga@gmail.com
  Subject: Re: Testing Sandforce SSD
  In-Reply-To: <1280176849.29137.1366.camel@hvost>

* 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