Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id F1C82143B1B1 for ; Tue, 20 Mar 2012 20:43:14 -0300 (ADT) Received: from mail.auul.pri.ee ([194.204.15.53] helo=aix.auul.pri.ee) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SA8hp-0007DF-EH for pgsql-admin@postgresql.org; Tue, 20 Mar 2012 23:43:13 +0000 Received: from localhost (localhost [127.0.0.1]) by aix.auul.pri.ee (Postfix) with ESMTP id EF88C7E1EF for ; Wed, 21 Mar 2012 01:42:54 +0200 (EET) Received: from aix.auul.pri.ee ([127.0.0.1]) by localhost (post-relay.auul [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vb1uAIHwxP0i for ; Wed, 21 Mar 2012 01:42:54 +0200 (EET) Received: from [192.168.10.10] (moraal.auul [192.168.10.10]) by aix.auul.pri.ee (Postfix) with ESMTP id E41DB7E1B7 for ; Wed, 21 Mar 2012 01:42:53 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=auul.pri.ee; s=default; t=1332286974; bh=W+kkpkw0tOZuRI+2uK8IeDIshsbn03GUf039u5HfKP4=; h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type: Content-Transfer-Encoding; b=o1PGP8HpnfpP31aAKCIjqiwP1vlo1/J8KtPmRblr8n3jiuUOtMrKdtWGRFeP71VRM zI/Fl3sSEM9XcLD35n8d56YlmCbpc7E6cg/CNDYF4VqfL2Nkk63Xs2Z84OcrQiJnm+ vTQu8Nn+/Uw7ygUEC3/AfqeOAtgzWl2/L7pCOwNA= Message-ID: <4F6915FD.804@auul.pri.ee> Date: Wed, 21 Mar 2012 01:42:53 +0200 From: Imre Oolberg User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110805 Icedove/5.0 MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: deciding between amd and intel processor Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -1.8 (-) X-Archive-Number: 201203/107 X-Sequence-Number: 39295 Hi! My comerade has to decide for his so to say generic and a bit=20 unpredicted PostgreSQL needs for web applications between Intel and AMD=20 based server. For now it has been coming down to these processor choices 1. Dell PowerEdge R810 which has 2 x Intel=C2=AE Xeon=C2=AE E7=C2=AD-4830= 2.13GHz, 24M=20 cache 6.4 GT/s QPI, Turbo, HT, 8C, 1066MHz Max Mem processors as i see this makes total of 2 x 16 cores (or 2 x 16 threads) amd in=20 total of 2 x 24 MB L2 cache 2. Dell PowerEdge R815 4 x AMD Opteron 6272, 2.1GHz, 16C, Turbo CORE, 16M L2/16M L3, 1600Mhz Max Mem processors as i see this makes total of 4 x 16 cores and in total of 4 x 16 MB L2 ca= che Other computer components are quite similar - 128 GB 1333 dual ranked lv rdimm MHz memory for AMD - 128 GB 1066 dual ranked lv rdimm MHz memory for Intel - PERC H700 Integrated RAID Controller, 1GB NV Cache - 4 x 600GB 10K RPM SAS 6Gbps 2.5in Hot=C2=ADplug Hard Drive - Broadcom NetXtreme II 5709 Gigabit Ethernet NIC Based on dell.com AMD variant comes about $14 k and Intel $17 k. And i got following questions in mind 1. do you suggest this Intel or this AMD configuration taking also into=20 account price? while it seems obvious to go with AMD so to say=20 price-wise are there some hidden rocks behind the surface going with AMD=20 (like L2 cache usage, overall system stability)? 2. if it makes much sence to ask like this what could be considered on=20 normal postgresql workload (with web applications) reasonable balance=20 between cpu cores and memory system has? 3. it is intended to use debian on this system, now squeeze and some day=20 wheezy, both hardwares most probably match quite well with debian and=20 postgresql? 4. it is intended not to use virtualization (KVM or Xen) but if needed,=20 then just use different pg clusters as in pg_lsclusters, and controlling=20 resources for each with shared_buffers etc, or should virtualization=20 rather be considered? 5. i know that with four physical disks databases are generally=20 recommended to use raid10 , but what would be recommended raid setup=20 with six drives? I would be thankful if somebody would find time to answer this letter. Best regards, Imre