X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id E63899DCC56 for ; Mon, 5 Dec 2005 09:47:34 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 51828-09 for ; Mon, 5 Dec 2005 09:47:37 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id EA0DD9DCBB4 for ; Mon, 5 Dec 2005 09:47:31 -0400 (AST) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 7521C321BE; Mon, 5 Dec 2005 14:47:34 +0100 (MET) From: Olleg Samoylov X-Newsgroups: pgsql.performance Subject: BLCKSZ Date: Mon, 05 Dec 2005 16:47:31 +0300 Organization: Moscow Institute of Physics and Technology Lines: 15 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org User-Agent: Debian Thunderbird 1.0.7 (X11/20051019) X-Accept-Language: en-us, en To: pgsql-performance@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200512/120 X-Sequence-Number: 15941 src/include/pg_config_manual.h define BLCKSZ 8196 (8kb). Somewhere I readed BLCKSZ must be equal to memory page of operational system. And default BLCKSZ 8kb because first OS where postgres was build has memory page size 8kb. I try to test this. Linux, memory page 4kb, disk page 4kb. I set BLCKSZ to 4kb. I get some performance improve, but not big, may be because I have 4Gb on test server (amd64). Can anyone test it also? May be better move BLCKSZ from pg_config_manual.h to pg_config.h? -- Olleg Samoylov