Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id BA00E63284B for ; Mon, 26 Jul 2010 15:34:53 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 05943-02 for ; Mon, 26 Jul 2010 18:34:46 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by mail.postgresql.org (Postfix) with ESMTP id 628D2632836 for ; Mon, 26 Jul 2010 15:34:45 -0300 (ADT) Received: from [192.168.1.5] (static-71-179-240-8.bltmmd.fios.verizon.net [71.179.240.8]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0MKuxg-1OdSVc3oLw-000B1i; Mon, 26 Jul 2010 20:34:41 +0200 Message-ID: <4C4DD53F.4070901@2ndquadrant.com> Date: Mon, 26 Jul 2010 14:34:39 -0400 From: Greg Smith User-Agent: Thunderbird 2.0.0.24 (X11/20100317) MIME-Version: 1.0 To: Matthew Wakeling CC: Yeb Havinga , pgsql-performance@postgresql.org Subject: Re: Testing Sandforce SSD References: <4C4A9452.9070100@gmail.com> <4C4B1F84.5030306@2ndquadrant.com> <4C4C83DF.3010703@gmail.com> <4C4C8CCC.7080406@gmail.com> <4C4DA982.5090308@2ndquadrant.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:3jpDoHLp96GE5hcfVedNERNr2iveNicztPm7XdW0OPW bti8K8BQSRKe5tnrbKc7ZAYRnO9Bl5zuOKavGnBmoWXCRpPGOQ P+Le6QzcylFABo/fZ1I5sXRo0yf0zaYHU1FXHLuD0ZYDjlyoPZ PDn+RLFwCteKdgolWs+YAhaNIZutsSOAhMLtiz0IdG+KLvEXW+ KN1UeojF0kuESUN8aeLLS5sMsFZ/XNsgqIz72TPbxM= X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201007/384 X-Sequence-Number: 39773 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. 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