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 8100944DD0F for ; Tue, 28 Dec 2004 06:37:18 +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 52803-03 for ; Tue, 28 Dec 2004 06:37:00 +0000 (GMT) Received: from millenium.mst.co.jp (unknown [210.230.185.241]) by svr1.postgresql.org (Postfix) with ESMTP id 5E94944F99C for ; Tue, 28 Dec 2004 02:30:39 +0000 (GMT) Received: from mst1x5r347kymb (lc12114 [192.168.1.114]) by millenium.mst.co.jp (8.11.6p2/3.7W) with SMTP id iBS2UYZ30421; Tue, 28 Dec 2004 11:30:34 +0900 Message-ID: <006301c4ec85$68d372f0$7201a8c0@mst1x5r347kymb> From: "Iain" To: Cc: References: <2452.192.168.2.6.1103621509.squirrel@192.168.2.6> <00cb01c4ebb3$94aebf10$7201a8c0@mst1x5r347kymb> <45410.192.168.2.17.1104139293.squirrel@192.168.2.17> <003a01c4ebf7$503de6a0$7201a8c0@mst1x5r347kymb> <51472.192.168.2.17.1104166127.squirrel@192.168.2.17> Subject: Re: Howto Increased performace ? Date: Tue, 28 Dec 2004 11:31:55 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="windows-874"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.002 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200412/305 X-Sequence-Number: 9680 Hi Amrit, I'm sorry to hear about the disaster in Thailand. I live in a tsunami prone area myself :-( I think that you have enough information to solve your problem now, but it will just take some time and testing. When you have eliminated the excessive swapping and tuned your system as best you can, then you can decide if that is fast enough for you. More memory might help, but I can't say for sure. There are many other things to consider. I suggest that you spend some time reading through the performance and maybe the admin lists. regards Iain ----- Original Message ----- From: "Amrit Angsusingh" To: "Iain" Cc: Sent: Tuesday, December 28, 2004 1:48 AM Subject: Re: [PERFORM] Howto Increased performace ? >> Hi, >> >> These are some settings that I am planning to start with for a 4GB RAM >> dual >> opteron system with a maximum of 100 connections: >> >> >> shared_buffers 8192 (=67MB RAM) >> sort_mem 4096 (=400MB RAM for 100 connections) >> effective_cache_size 380000(@8KB =3.04GB RAM) >> vacuum_mem 32768 KB >> wal_buffers 64 >> checkpoint_segments 8 >> >> In theory, effective cache size is the amount of memory left over for the >> OS >> to cache the filesystem after running all programs and having 100 users >> connected, plus a little slack. >> >> regards >> Iain > > > I'm not sure if I put more RAM on my mechine ie: 6 GB . The performance > would increase for more than 20 % ? > Any comment please, > > Amrit Angsusingh > Comcenter > Sawanpracharuck Hospital > Thailand > >