Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYAxB-0004dd-Rz for pgsql-performance@arkaria.postgresql.org; Thu, 20 Jul 2017 12:53:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dYAxB-0000ko-6q for pgsql-performance@arkaria.postgresql.org; Thu, 20 Jul 2017 12:53:17 +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.84_2) (envelope-from ) id 1dYAvP-0005hC-Vh for pgsql-performance@postgresql.org; Thu, 20 Jul 2017 12:51:28 +0000 Received: from mail-qt0-x22f.google.com ([2607:f8b0:400d:c0d::22f]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dYAvD-00088i-TO for pgsql-performance@postgresql.org; Thu, 20 Jul 2017 12:51:27 +0000 Received: by mail-qt0-x22f.google.com with SMTP id 32so21451190qtv.1 for ; Thu, 20 Jul 2017 05:51:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=kC5QJGozhb0cjAqP0vAqNT3mbaYx90ozwbebULvoRkQ=; b=Jodb3mupHO+H+sXNQ8yZ+rqMchoDI1V7BlZogYlAyIOcJboRlNFfQfLtvSW0qbhFkG gP1Jhu1fSBSznrchMn3a8oo4Y0xdCZicPCfw8Iv9nkhjWj1MFIg8Louzs6+JkTjukFxT 3s6dHvCo9lj0rO7VBI+ko+LhalB1j2HBKVRrrN8lLO5RUGUy9UoR1R7FO6scPig0cdUA ql4mrvvSxFcqs5QXK3OW/jBzc9Xk2eavbJvwDgqFDOrWEa2gCLl1EvH9CG31LXahaJCV cFTHOSGWNrqigoHiJ8VUxs+a+APyrvfEfsC4ALIBaz0m18J6LVTIWdIzyN0AiGfdtx00 sCAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=kC5QJGozhb0cjAqP0vAqNT3mbaYx90ozwbebULvoRkQ=; b=bAjwGqgPYC19DbslH/wnAuvxwG7RWWk0w70pWYBGDClARKrDP97zIRir/8on0C9yM2 DJSlUs5kQErkwTrzP2VvngRiZBMckFrQBI4vm/LP/bMXKEMGNjBwngdoP/XxBIdDFIhH UvVlj5IqEdgkdsek0Pk4FyBGcy4kiSMPuEcZV4p+zXG6l138tGazPk4DPqpsB1QBch74 rUEJ46Oxhvfx0r/rLuX3rpkGUcS4XHqAYzLjr42ISodwlR9ShisluhU8D308LGqRQ5sh FB9eZgxIU8wIiNOo4JC6wSL6wfjBIbeUnp8GjiWSJdt3NzKhBFbNP0p4X5L7hB036++V KzGA== X-Gm-Message-State: AIVw112i16k/JYzmy3ZDtzR8Nk5hPlwUp9+Re5VRK7J4/J6TiRvayltW EKQuhR83fL+Hu8KvtUOt/XmyMr0iNg== X-Received: by 10.200.4.39 with SMTP id v39mr4833447qtg.335.1500555073862; Thu, 20 Jul 2017 05:51:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.157.11 with HTTP; Thu, 20 Jul 2017 05:50:53 -0700 (PDT) In-Reply-To: References: From: Charles Nadeau Date: Thu, 20 Jul 2017 14:50:53 +0200 Message-ID: Subject: Re: Very poor read performance, query independent To: Mark Kirkwood Cc: "pgsql-performa." Content-Type: multipart/alternative; boundary="f40304353ac425653c0554bf3490" 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 --f40304353ac425653c0554bf3490 Content-Type: text/plain; charset="UTF-8" Mark, I received yesterday a second server having 16 drives bays. Just for a quick trial, I used 2 old 60GB SSD (a Kingston V300 and a ADATA SP900) to build a RAID0. To my surprise, my very pecky RAID controller (HP P410i) recognised them without a fuss (although as SATAII drives at 3Gb/s. A quick fio benchmark gives me 22000 random 4k read IOPS, more than my 5 146GB 10k SAS disks in RAID0). I moved my most frequently used index to this array and will try to do some benchmarks. Knowing that SSDs based on SandForce-2281 controller are recognised by my server, I may buy a pair of bigger/newer ones to put my tables on. Thanks! Charles On Sat, Jul 15, 2017 at 1:57 AM, Mark Kirkwood < mark.kirkwood@catalyst.net.nz> wrote: > Thinking about this a bit more - if somewhat more blazing performance is > needed, then this could be achieved via losing the RAID card and spinning > disks altogether and buying 1 of the NVME or SATA solid state products: e.g > > - Samsung 960 Pro or Evo 2 TB (approx 1 or 2 GB/s seq scan speeds and 200K > IOPS) > > - Intel S3610 or similar 1.2 TB (500 MB/s seq scan and 30K IOPS) > > > The Samsung needs an M.2 port on the mobo (but most should have 'em - and > if not PCIe X4 adapter cards are quite cheap). The Intel is a bit more > expensive compared to the Samsung, and is slower but has a longer lifetime. > However for your workload the Sammy is probably fine. > > regards > > Mark > > On 15/07/17 11:09, Mark Kirkwood wrote: > >> Ah yes - that seems more sensible (but still slower than I would expect >> for 5 disks RAID 0). >> > > > > -- > Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-performance > -- Charles Nadeau Ph.D. http://charlesnadeau.blogspot.com/ --f40304353ac425653c0554bf3490 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Mark,

I received yesterday a= second server having 16 drives bays. Just for a quick trial, I used 2 old = 60GB SSD (a Kingston V300 and a ADATA SP900) to build a RAID0. To my surpri= se, my very pecky RAID controller (HP P410i) recognised them without a fuss= (although as SATAII drives at 3Gb/s. A quick fio benchmark gives me 22000 = random 4k read IOPS, more than my 5 146GB 10k SAS disks in RAID0). I moved = my most frequently used index to this array and will try to do some benchma= rks.
Knowing that SSDs based on SandForce-2281 controller are rec= ognised by my server, I may buy a pair of bigger/newer ones to put my table= s on.

Thanks!

Charles

On Sat, J= ul 15, 2017 at 1:57 AM, Mark Kirkwood <mark.kirkwood@catalyst.= net.nz> wrote:
Thinking abo= ut this a bit more - if somewhat more blazing performance is needed, then t= his could be achieved via losing the RAID card and spinning disks altogethe= r and buying 1 of the NVME or SATA solid state products: e.g

- Samsung 960 Pro or Evo 2 TB (approx 1 or 2 GB/s seq scan speeds and 200K = IOPS)

- Intel S3610 or similar 1.2 TB (500 MB/s seq scan and 30K IOPS)


The Samsung needs an M.2 port on the mobo (but most should have 'em - a= nd if not PCIe X4 adapter cards are quite cheap). The Intel is a bit more e= xpensive compared to the Samsung, and is slower but has a longer lifetime. = However for your workload the Sammy is probably fine.

regards

Mark


On 15/07/17 11:09, Mark Kirkwood wrote:
Ah yes - that seems more sensible (but still slower than I would expect for= 5 disks RAID 0).






--
=
--f40304353ac425653c0554bf3490--