Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 89F62B5D803 for ; Thu, 16 Jun 2011 15:19:44 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 32904-06 for ; Thu, 16 Jun 2011 18:19:37 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qy0-f174.google.com (mail-qy0-f174.google.com [209.85.216.174]) by mail.postgresql.org (Postfix) with ESMTP id C1354B5DBBF for ; Thu, 16 Jun 2011 15:19:37 -0300 (ADT) Received: by qyk29 with SMTP id 29so85491qyk.19 for ; Thu, 16 Jun 2011 11:19:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=9kFDYYFWlXNrI/oFjI6QXzuNr6lXqFl5tSvMexvJ/5s=; b=xz7lKz0rb0mcU9Z+rcSGMCMEptyPIsiihwWoltbbI6a+r+wRnz7sLolsHZjDyY3o4K L89I+CrciPsgdpuOYjcsId16+NkkNl6/xCquU37BO9HLfyWg7MhJ4zxQ0MLjmrPLSGKq 6hrzMnIKUY3zPWo32V/fnFjcsF2LR6S/L+hA4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=OQ6iSZqiMUHuaZ9PO2cuvW5ErLuHRpIAyghwdXrSfYw9tbAU+dJGYZE15EiWL4FKAn 5wBePETCiYdgEyly03Usbq40php1j+LRb9z9LUarLpGUIcUcVE0BrtK576/fI0den0lK HfpYDKlDKn3+ZeC9Ty/6pRWlwlIAqu2jb2bd4= MIME-Version: 1.0 Received: by 10.224.178.69 with SMTP id bl5mr615871qab.132.1308248377051; Thu, 16 Jun 2011 11:19:37 -0700 (PDT) Received: by 10.224.28.85 with HTTP; Thu, 16 Jun 2011 11:19:37 -0700 (PDT) In-Reply-To: References: Date: Thu, 16 Jun 2011 13:19:37 -0500 Message-ID: Subject: Re: Performance advice for a new low(er)-power server From: Merlin Moncure To: Haestan Cc: pgsql-performance@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.898 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, RFC_ABUSE_POST=0.001 X-Spam-Level: X-Archive-Number: 201106/141 X-Sequence-Number: 44074 On Thu, Jun 16, 2011 at 10:09 AM, Haestan wrote: > Hi, > > I am evaluating hardware for a new PostgreSQL server. For reasons > concerning power consumption and available space it should not have > more than 4 disks (in a 1U case), if possible. Now, I am not sure what > disks to use and how to layout them to get the best performance. > > The cheaper option would be to buy 15k Seagate SAS disks with a 3ware > 9750SA (battery backed) controller. Does it matter whether to use a > 4-disk RAID10 or 2x 2-disk RAID1 (system+pg_xlog , pg_data) setup? Am > I right that both would be faster than just using a single 2-disk > RAID1 for everything? with 4 drives I think your best bet is single volume raid 10 (ssd or standard disk). > A higher end option would be to use 2x 64G Intel X-25E SSD's with a > LSI MegaRAID 9261 controller for pg_data and/or pg_xlog and 2x SAS > disks for the rest. Unfortunately, these SSD are the only ones offered > by our supplier and they don't use a supercapacitor, AFAIK. Therefore > I would have to disable the write cache on the SSD's somehow and just > use the cache on the controller only. Does anyone know if this will > work or even uses such a setup? I am not a big fan of vendors that do not allow hooking in your own drives. How well this setup works is going to depend on how well the controller works with the SSD. Still, as of today, it's probably going to be the best performance you can get for four drives...the x25-e remains the only SLC drive from a major vendor. > Furthermore, the LSI MegaRAID 9261 offers CacheCade which uses SSD > disks a as secondary tier of cache for the SAS disks. Would this > feature make sense for a PostgreSQL server, performance wise? I'm really skeptical about this feature. > Thank you for any hints and inputs. The SSD space is going to see a lot more options from Intel later this year. See: http://www.maximumpc.com/article/news/leaked_roadmap_points_upcoming_intel_ssds. If you have time, I'd consider waiting a month or so to see what options become available. merlin