Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 44B3C9FA173 for ; Sun, 3 Dec 2006 13:29:13 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 83174-07 for ; Sun, 3 Dec 2006 13:28:54 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail.totaltelecom.ro (mail.totaltelecom.ro [89.36.0.12]) by postgresql.org (Postfix) with ESMTP id 0400E9F9F0E for ; Sun, 3 Dec 2006 13:29:05 -0400 (AST) Received: from mail.totaltelecom.ro (localhost [127.0.0.1]) by mail.totaltelecom.ro (Postfix) with ESMTP id 0FD2D34BE9F for ; Sun, 3 Dec 2006 19:29:05 +0200 (EET) Received: by mail.totaltelecom.ro (Postfix, from userid 99) id 022A334BEA3; Sun, 3 Dec 2006 19:29:04 +0200 (EET) Received: from alex (unknown [86.107.100.199]) by mail.totaltelecom.ro (Postfix) with ESMTP id 9D92434BE9F for ; Sun, 3 Dec 2006 19:29:03 +0200 (EET) Message-ID: <00e601c71700$86f23e90$c7646b56@alex> From: "Alexandru Coseru" To: References: <19ab0ccd0612030711s70a3e095hceb69509cbd41597@mail.gmail.com> <021f01c716ef$3f5701d0$647ba8c0@jonathanlaptop> <19ab0ccd0612030830t68d9a7ddoba02f060fd9cdea4@mail.gmail.com> Subject: Hardware advice Date: Sun, 3 Dec 2006 19:29:02 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-Virus-Scanned: ClamAV using ClamSMTP X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/31 X-Sequence-Number: 22087 Hello.. I'm waiting for my new system , and meanwhile , i have some questions. First , here are the specs: The server will have kernel 2.1.19 and it will be use only as a postgresql server (nothing else... no named,dhcp,web,mail , etc). Postgresql version will be 8.2. It will be heavily used on inserts , triggers on each insert/update and occasionally selects. System: SuperMicro 7045B-3 CPU: 1 Dual Core Woodcrest ,2.66 Ghz , 4Mb cache , FSB 1333Mhz RAM: 4 Gb (4 x 1 Gb modules) at 667Mhz RAID CTRL: LSI MegaRAID SAS 8408E DISKS: 8 x SATA II 7200 rpm , NCQ , 8 Mb cache with Supermicro 8 Sas enclosure Based on the needs , i'm planning an update of the drives to 15.000 rpms SAS. (pretty expensive now) Question 1: The RAID layout should be: a) 2 hdd in raid 1 for system and pg_xlog and 6 hdd in raid10 for data ? b) 8 hdd in raid10 for all ? c) 2 hdd in raid1 for system , 2 hdd in raid1 for pg_xlog , 4 hdd in raid10 for data ? Obs: I'm going for setup a) , but i want to hear your thoughts as well. Question 2: (Don't want to start a flame here..... but here is goes) What filesystem should i run for data ? ext3 or xfs ? The tables have ~ 15.000 rel_pages each. The biggest table has now over 30.000 pages. Question 3: The block size in postgresql is 8kb. The strip size in the raid ctrl is 64k. Should i increase the pgsql block size to 16 or 32 or even 64k ? As soon as the system will be delivered , i'm planning some benchmarks. Regards Alex