Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 12D6F65041E for ; Mon, 7 Jul 2008 18:06:04 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 32596-09 for ; Mon, 7 Jul 2008 18:05:53 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.175]) by postgresql.org (Postfix) with ESMTP id 7478A65040E for ; Mon, 7 Jul 2008 18:05:39 -0300 (ADT) Received: by wf-out-1314.google.com with SMTP id 25so2239210wfc.28 for ; Mon, 07 Jul 2008 14:05:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=VLWgHjNqGfMiJdVZ3oivKJgs6DgD/p13O2mkdbhPaVk=; b=Pj8h9dN4WXBomTlSuvoAYd7NkWwvUpeykTEm9bx2FZBvsInlmuklsJfRX+nyL2D1xG hK7ipcD28o05f0DrsUdzHjvKGu8b+W4qlBcJ5aa70mwHtzmGMQT3rc/uUnv41lQSCWwH D5UP5oDdhW2FcetqUeJ8iBkaJYUsLSqwj09fI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=FleHL4rOPKz3q8EhVQJeBa5lw6E2nygfXureNj4/kKM7lfrWCT6DGIdMZAmtvuU2Xe w5OeeW5c9KQBTY72LeOMfV/Vcu27ljxQsWkD46/igb7a6dJUqvyiXzmcJt/Wq3s8bwp+ z69whxMXnyWM/DDbPjM8eki5GYyT3RqJVBhtA= Received: by 10.142.52.18 with SMTP id z18mr1500382wfz.31.1215464737392; Mon, 07 Jul 2008 14:05:37 -0700 (PDT) Received: by 10.142.242.21 with HTTP; Mon, 7 Jul 2008 14:05:37 -0700 (PDT) Message-ID: Date: Mon, 7 Jul 2008 14:05:37 -0700 From: "Jeffrey Baker" To: "pgsql-performance@postgresql.org" Subject: Practical upper limits of pgbench read/write tps with 8.3 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200807/64 X-Sequence-Number: 30664 I'm spending a third day testing with the ioDrive, and it occurred to me that I should normalize my tests by mounting the database on a ramdisk. The results were surprisingly low. On the single 2.2GHz Athlon, the maximum tps seems to be 1450. This is achieved with a single connection. I/O rates to and from the ramdisk never exceed 50MB/s on a one-minute average. With the flash device on the same benchmark, the tps rate is 1350, meaning that as far as PostgreSQL is concerned, on this machine, the flash device achieves 90% of the best possible performance. Question being: what's the bottleneck? Is PG lock-bound? -jwb