Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YdUk5-0002UI-59 for pgsql-performance@arkaria.postgresql.org; Thu, 02 Apr 2015 02:20:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YdUk4-00041M-He for pgsql-performance@arkaria.postgresql.org; Thu, 02 Apr 2015 02:20:24 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YdUk3-00040v-AW for pgsql-performance@postgresql.org; Thu, 02 Apr 2015 02:20:23 +0000 Received: from mail.fmed.uba.ar ([157.92.152.1] helo=azteca.fmed.uba.ar) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YdUjv-0005dE-Kg for pgsql-performance@postgresql.org; Thu, 02 Apr 2015 02:20:22 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by azteca.fmed.uba.ar (Postfix) with ESMTP id 6A28913B8316; Wed, 1 Apr 2015 23:19:46 -0300 (ART) X-Virus-Scanned: amavisd-new at fmed.uba.ar Received: from azteca.fmed.uba.ar ([127.0.0.1]) by localhost (azteca.fmed.uba.ar [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zXNqrU8NVIiu; Wed, 1 Apr 2015 23:19:41 -0300 (ART) Received: from azteca.fmed.uba.ar (azteca.fmed.uba.ar [157.92.152.1]) by azteca.fmed.uba.ar (Postfix) with ESMTP id 342AE13B8315; Wed, 1 Apr 2015 23:19:39 -0300 (ART) Date: Wed, 1 Apr 2015 23:19:38 -0300 (ART) From: Gerardo Herzig To: Pietro Pugni Cc: pgsql-performance@postgresql.org Message-ID: <87131335.225702.1427941178942.JavaMail.root@fmed.uba.ar> In-Reply-To: <732B95A3-FEC8-4623-9AC5-98FD30F00863@gmail.com> Subject: Re: Can't get Dell PE T420 (Perc H710) perform better than a MacMini with PostgreSQL MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [190.19.241.151] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - GC36 (Linux)/7.2.0_GA_2669) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org Ok, a quick view on the system, and some things that may be important to note: > Our deployment machine is a Dell PowerEdge T420 with a Perc H710 RAID > controller configured in this way: > > * VD0: two 15k SAS disks (ext4, OS partition, WAL partition, > RAID1) > * VD1: ten 10k SAS disks (XFS, Postgres data partition, RAID5) > Well...usually RAID5 have the worst performance in writing...EVER!!! Have you tested this in another raid configuration? RAID10 is usually the best bet. > > > This system has the following configuration: > > * Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-48-generic x86_64) > * 128GB RAM (DDR3, 8x16GB @1600Mhz) > * two Intel Xeon E5-2640 v2 @2Ghz > * Dell Perc H710 with 512MB RAM (Write cache: "WriteBack", Read > cache: "ReadAhead", Disk cache: "disabled"): > * VD0 (OS and WAL partition): two 15k SAS disks (ext4, RAID1) > * VD1 (Postgres data partition): ten 10k SAS disks (XFS, > RAID5) > * PostgreSQL 9.4 (updated to the latest available version) > * moved pg_stat_tmp to RAM disk > > [...]> versions. > You did not mention any "postgres" configuration at all. If you let the default checkpoint_segments=3, that would be an IO hell for your disk controler...and the RAID5 making things worst...Can you show us the values of: checkpoint_segments shared_buffers work_mem maintenance_work_mem effective_io_concurrency I would start from there, few changes, and check again. I would change the RAID first of all things, and try those tests again. Cheers. Gerardo -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance