X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id B0A0F56408 for ; Sun, 27 Feb 2005 22:32:36 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 56916-01 for ; Sun, 27 Feb 2005 22:32:21 +0000 (GMT) Received: from mail.jobflash.com (mail.jobflash.com [64.62.211.41]) by svr1.postgresql.org (Postfix) with ESMTP id 84F4F56411 for ; Sun, 27 Feb 2005 22:32:22 +0000 (GMT) Received: from [192.168.2.23] (user-38lc14d.dialup.mindspring.com [209.86.4.141]) by mail.jobflash.com (Postfix) with ESMTP id 08552420C5 for ; Sun, 27 Feb 2005 14:32:35 -0800 (PST) Message-ID: <42224A61.3080707@jobflash.com> Date: Sun, 27 Feb 2005 14:32:01 -0800 From: Tom Arthurs User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: PG block sizes Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200502/367 X-Sequence-Number: 10696 Hi, All I'm trying to tune a software RAID 0 (striped) on a solaris 9, sparc box. Currently I'm using a raid 1 (mirrored) array on two discs for the data area, and I put in 4 new drives last night (all are f-cal). On the new array I have a width of 4, and used the default interleave factor of 32k. I believe a smaller interleave factor may get me better read performance (I'm seeing a bulk load performance increase of about 35% but a 7-8x worse read performance between the two RAID setups.) Conventional wisdom is using an interleave factor < = db default block size gives the best read performance. I would like to try that (though this testing is burning a lot of daylight, since I'll have to reload the db every time I remake the RAID.) Question: what't the best block size to use for postgresql on solaris? (I'm using 7.4.5)