Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f62DN-0006aS-Pu for pgsql-performance@arkaria.postgresql.org; Tue, 10 Apr 2018 22:58:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f62DM-0001c7-Mw for pgsql-performance@arkaria.postgresql.org; Tue, 10 Apr 2018 22:58:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f62DM-0001bx-Fm for pgsql-performance@lists.postgresql.org; Tue, 10 Apr 2018 22:58:12 +0000 Received: from cat-porwal-prod-mail1.catalyst.net.nz ([202.78.240.226]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f62DD-00049D-Lw for pgsql-performance@lists.postgresql.org; Tue, 10 Apr 2018 22:58:08 +0000 Received: from [IPv6:2404:130:0:1000:222:4dff:fe88:a586] (unknown [IPv6:2404:130:0:1000:222:4dff:fe88:a586]) (Authenticated sender: mark.kirkwood@catalyst.net.nz) by cat-porwal-prod-mail1.catalyst.net.nz (Postfix) with ESMTPSA id 731D480BA7 for ; Wed, 11 Apr 2018 10:56:33 +1200 (NZST) Subject: Re: Latest advice on SSD? To: pgsql-performance@lists.postgresql.org References: From: Mark Kirkwood Openpgp: preference=signencrypt Autocrypt: addr=mark.kirkwood@catalyst.net.nz; prefer-encrypt=mutual; keydata= xsDiBEifoLIRBADnzz1YAQxN+ajn3XhoyTWmp4hHTE05y1Ai0Hf4Et6HYohOw14eFzpzgEpd nbtxbs/FDprNC1d2dJ+J67qLzwKW6k95xekMWVtBQJ+tm7W9GPQ/wSSeOiya2tUO7TnjiS4H V0U0A2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ts73y IAhRhWvq4jCC6Oy7IDrjRbnO0GEpumiMiT2kko1MCpXwBuJlKUxjlmlwEsKv2fbIsuGlES1u /QrLAk1ePfh5VDyKM5z+WT3GMDolrabehI8q5f0ZWPmN63Me6IM6Oqf5kYuRH0gwAauO3/bF 6NjNsQvM6lm0MbcOzSBNdH/Aru6QPbhscArMUx2opn7gkYg8wCN+Bd1Se1dQTtAcDrEBmR5i aoCbEZYkCqVAJF/C5j7CSQQYEQIACQUCSJ+guQIbDAAKCRCn/vj7UjxSJn5/AJ4hzPttJ18v gOljiFMBvwIk2HIMTQCfYMk+dS/ixjmPGZ55dk9MNuaLSYQ= Message-ID: <25749ee2-40cf-b189-4b6c-dfcee5ebc4ad@catalyst.net.nz> Date: Wed, 11 Apr 2018 10:56:44 +1200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------5110A5B155722B10F5759B16" Content-Language: en-GB List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------5110A5B155722B10F5759B16 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable We have been using the Intel S3710 (or minor model variations thereof). They have been great (consistent performance, power off safe and good expected lifetime). Also 2 of them in RAID1 easily outperform a reasonably large number of 10K spinners in RAID10. Now you *can* still buy the S37xx series, but eventually I guess we'll have to look at something more modern like the S45xx series. But I'm not so keen on them (they use TLC NAND which may give less consistent performance, plus they appear to have slightly lower expected lifetime). I think there was a thread a year or more ago on this list specifically about this very issue that might be worth searching for. The TLC NAND seems like a big deal - most modern SSD are built using it...they solve the high latency problem with SLC caches. So you get brilliant performance until the cache is full, then it drops off a cliff. Bigger/more expensive drives have bigger caches, so it is well worth finding in depth reviews of the exact models you might wish to evaluate! regards Mark On 10/04/18 14:36, Craig James wrote: > One of our four "big iron" (spinning disks) servers went belly up > today. (Thanks, Postgres and pgbackrest! Easy recovery.) We're > planning to move to a cloud service at the end of the year, so bad > timing on this. We didn't want to buy any more hardware, but now it > looks like we have to. > > I followed the discussions about SSD drives when they were first > becoming mainstream; at that time, the Intel devices were king. Can > anyone recommend what's a good SSD configuration these days? I don't > think we want to buy a new server with spinning disks. > > We're replacing: > =C2=A0 8 core (Intel) > =C2=A0 48GB memory > =C2=A0 12-drive 7200 RPM 500GB > =C2=A0 =C2=A0 =C2=A0RAID1 (2 disks, OS and WAL log) > =C2=A0 =C2=A0 =C2=A0RAID10 (8 disks, postgres data dir) > =C2=A0 =C2=A0 =C2=A02 spares > =C2=A0 Ubuntu 16.04 > =C2=A0 Postgres 9.6 > > The current system peaks at about 7000 TPS from pgbench. > > Our system is a mix of non-transactional searching (customers) and > transactional data loading (us). > > Thanks! > Craig > --------------5110A5B155722B10F5759B16 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
We have been using the Intel S3710 (or minor model variations thereof). They have been great (consistent performance, power off safe and good expected lifetime). Also 2 of them in RAID1 easily outperform a reasonably large number of 10K spinners in RAID10.

Now you *can* still buy the S37xx series, but eventually I guess we'll have to look at something more modern like the S45xx series. But I'm not so keen on them (they use TLC NAND which may give less consistent performance, plus they appear to have slightly lower expected lifetime). I think there was a thread a year or more ago on this list specifically about this very issue that might be worth searching for.

The TLC NAND seems like a big deal - most modern SSD are built using it...they solve the high latency problem with SLC caches. So you get brilliant performance until the cache is full, then it drops off a cliff. Bigger/more expensive drives have bigger caches, so it is well worth finding in depth reviews of the exact models you might wish to evaluate!

regards
Mark

On 10/04/18 14:36, Craig James wrote:
One of our four "big iron" (spinning disks) servers went belly up today. (Thanks, Postgres and pgbackrest! Easy recovery.) We're planning to move to a cloud service at the end of the year, so bad timing on this. We didn't want to buy any more hardware, but now it looks like we have to.

I followed the discussions about SSD drives when they were first becoming mainstream; at that time, the Intel devices were king. Can anyone recommend what's a good SSD configuration these days? I don't think we want to buy a new server with spinning disks.

We're replacing:
  8 core (Intel)
  48GB memory
  12-drive 7200 RPM 500GB
     RAID1 (2 disks, OS and WAL log)
     RAID10 (8 disks, postgres data dir)
     2 spares
  Ubuntu 16.04
  Postgres 9.6

The current system peaks at about 7000 TPS from pgbench.

Our system is a mix of non-transactional searching (customers) and transactional data loading (us).

Thanks!
Craig


--------------5110A5B155722B10F5759B16--