Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUeJl-00013K-GN for pgsql-performance@arkaria.postgresql.org; Mon, 10 Jul 2017 19:26:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dUeJl-0006JE-31 for pgsql-performance@arkaria.postgresql.org; Mon, 10 Jul 2017 19:26:01 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dUeHw-0007Rs-OB for pgsql-performance@postgresql.org; Mon, 10 Jul 2017 19:24:08 +0000 Received: from mail-vk0-x22b.google.com ([2607:f8b0:400c:c05::22b]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dUeHu-0005Fa-B1 for pgsql-performance@postgresql.org; Mon, 10 Jul 2017 19:24:07 +0000 Received: by mail-vk0-x22b.google.com with SMTP id 191so52877898vko.2 for ; Mon, 10 Jul 2017 12:24:06 -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=Ffs63vOrtCmiWaL2gZZzWLMYWafbp0c/BdwmmnLTU3w=; b=pTH2JCkMtfg8Q6xzxoC48jOP0KGo2nxF1oassIULYY2+dJiykCzwXW7od3KUtTuay5 cdC3moUcLgrnw5kWUp7S54PQLTBnWBaCMFb93B5G8pbeCRDu3LNqTT/uUwU+7f5IrW5q Y8WCZ27Ztv1WXeMb0AoDcIUSWR1aIa2YJDqN4xiJQH40QI01Fgra+AGKZB9MbxFvYLOW g1axDFNOpVlHR3Cnr/fGYSYyjI+P8koVZIXZdFTAIvz5Mgj2KmL7JmPAFADrme1bM+Xt /9d0/5/pzr/DISggYIJvMvxhHnWdXYy7jOqJmdro9p4d2J62CGFcUAEuf6Ri32U6tK8Z /Lug== 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=Ffs63vOrtCmiWaL2gZZzWLMYWafbp0c/BdwmmnLTU3w=; b=F6rIN3RmV1XnlX9K03QwPya3uNs3pePn/cN2MOZbDbNP12UiSFq1KBthmpMWvKFWAv 2OtqIqv5SMZ696eMNCPkQRrvSo8lgqxDP7SHtwPwGiBZLTZaxqwaBQDE65R4U9UioG+Y 8kSl1xwt8LUtgom2kXweopwuVDoqZV4GC/OhMovEuNShYz8T09acbfDeX3IUbJ7D05a8 spFEyYNFtJeUzSzIi7MCWnwSwU4KJPi4eRa679Ni51HbKvA6dmd1Uz94V9uOcWVAQIGG 4Rl41QNr9YZyjZi+AJ2LMEKa1XVMaJ7TJYorjEPXj1YKMdz940/kasJaFyt9iVX1/YzY DABw== X-Gm-Message-State: AIVw113EXEFy8PIvgha7i3FvEihdA4GZA4GwahHmN4X8yhvrNam5LPqr Qzt1ZlxN0fpkp1RxfMaMMhWQ4fZWeQ== X-Received: by 10.31.197.133 with SMTP id v127mr1375286vkf.40.1499714645007; Mon, 10 Jul 2017 12:24:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.159.56.201 with HTTP; Mon, 10 Jul 2017 12:24:04 -0700 (PDT) In-Reply-To: References: From: Jeff Janes Date: Mon, 10 Jul 2017 12:24:04 -0700 Message-ID: Subject: Re: Very poor read performance, query independent To: Charles Nadeau Cc: "pgsql-performance@postgresql.org" Content-Type: multipart/alternative; boundary="001a114bd18eae22910553fb86ab" 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 --001a114bd18eae22910553fb86ab Content-Type: text/plain; charset="UTF-8" On Mon, Jul 10, 2017 at 7:03 AM, Charles Nadeau wrote: > > The problem I have is very poor read. When I benchmark my array with fio I > get random reads of about 200MB/s and 1100IOPS and sequential reads of > about 286MB/s and 21000IPS. > That doesn't seem right. Sequential is only 43% faster? What job file are giving to fio? What do you get if you do something simpler, like: time cat ~/$PGDATA/base/16402/*|wc -c replacing 16402 with whatever your biggest database is. Cheers, Jeff --001a114bd18eae22910553fb86ab Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On M= on, Jul 10, 2017 at 7:03 AM, Charles Nadeau <charles.nadeau@gmail= .com> wrote:
=09 =09 =09


The problem I have is very poor read. When I benchmark my array with fio I get random reads of about 200MB/s and 1100IOPS and sequential reads of about 286MB/s and 21000IPS.



=
That doesn't seem right.=C2=A0 Sequential is only 43% faster?=C2= =A0 What job file are giving to fio?

What do you g= et if you do something simpler, like:=C2=A0

time c= at ~/$PGDATA/base/16402/*|wc -c

replacing 1640= 2 with whatever your biggest database is.

Cheers,<= /div>

Jeff
--001a114bd18eae22910553fb86ab--