Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id C85DA6332A4 for ; Tue, 3 Aug 2010 08:18:19 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 06705-08 for ; Tue, 3 Aug 2010 11:18:11 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ew0-f46.google.com (mail-ew0-f46.google.com [209.85.215.46]) by mail.postgresql.org (Postfix) with ESMTP id 386226322DB for ; Tue, 3 Aug 2010 08:18:12 -0300 (ADT) Received: by ewy23 with SMTP id 23so1581942ewy.19 for ; Tue, 03 Aug 2010 04:18:10 -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 :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=oDGqwAmmlIRPe+CCzOwM2Hjo+IJpl5d5vyHCPfeDbuQ=; b=m6fr7ZR5HNY8uN9c9jqafLlGkeV+E9OojC0yT4hhItYKqi2rkVissdiQCsw6+1iGlA Fc8Cn4sTH3TwMaKszI+9MlZYVQzE3gkrsvqQdGwfMtytmsX9R3I7HxcLaBxGR8fiwhBS O4dnb/F7PlyBhdjgPV/OlHdsAk7O7Ex0ZnOMY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=GCB5IyFfbyS3oxuc8sXPf9pQuwbkoQulV8RPt8/V0s6ZWa2qqa/4KvkKALsa/3Ymyf 4tWwKlDwL2ZERbZznkImNg9Sq52MnpGSEy9dI4qxFHiYEnZyso2rXGObXFZpe0FAv09U juFj6lfyWbuBCmPk3eVdw36jICq0HHpxkDbHo= Received: by 10.213.32.17 with SMTP id a17mr717663ebd.69.1280834290558; Tue, 03 Aug 2010 04:18:10 -0700 (PDT) Received: from [0.0.0.0] (5357DA75.cable.casema.nl [83.87.218.117]) by mx.google.com with ESMTPS id a48sm10614478eei.1.2010.08.03.04.18.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 03 Aug 2010 04:18:09 -0700 (PDT) Message-ID: <4C57FB5D.1020006@gmail.com> Date: Tue, 03 Aug 2010 13:19:57 +0200 From: Yeb Havinga User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Hannu Krosing CC: Scott Marlowe , Greg Smith , Josh Berkus , pgsql-performance@postgresql.org Subject: Re: Testing Sandforce SSD References: <4C4A9452.9070100@gmail.com> <4C4B1F84.5030306@2ndquadrant.com> <4C4B4B41.7000800@2ndquadrant.com> <4C52E957.8020304@gmail.com> <4C56DD8B.6050303@gmail.com> <4C5744F5.3020805@agliodbs.com> <4C575DCF.3050700@2ndquadrant.com> <4C57D5FD.9040306@gmail.com> <1280826522.14579.66.camel@hvost> In-Reply-To: <1280826522.14579.66.camel@hvost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 X-Spam-Level: X-Archive-Number: 201008/28 X-Sequence-Number: 39871 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. >> so the test is actually how fast the ssd can capture >> sequential WAL writes and fsync without barriers, mixed with an >> occasional checkpoint with random write IO on another partition). Since >> the WAL writing is the same for both block_size setups, I decided to >> compare random writes to a file of 5GB with Oracle's Orion tool: >> > > Are you sure that you are not writing full WAL pages ? > I'm not sure I understand this question. > Do you have any stats on how much WAL is written for 8kb and 4kb test > cases ? > Would some iostat -xk 1 for each partition suffice? > And for other disk i/o during the tests ? > Not existent. regards, Yeb Havinga