Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jqito-0007z8-1w for pgsql-performance@arkaria.postgresql.org; Wed, 01 Jul 2020 20:00:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jqitm-0008QH-Vk for pgsql-performance@arkaria.postgresql.org; Wed, 01 Jul 2020 20:00:02 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jqitm-0008Q2-Od for pgsql-performance@lists.postgresql.org; Wed, 01 Jul 2020 20:00:02 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jqitk-00065w-Iy for pgsql-performance@lists.postgresql.org; Wed, 01 Jul 2020 20:00:01 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1jqiti-0007Oy-JS; Wed, 01 Jul 2020 15:59:58 -0400 Date: Wed, 1 Jul 2020 15:59:58 -0400 From: Bruce Momjian To: Nikhil Shetty Cc: Haroldo Kerry , Jeff Janes , Pgsql Performance Subject: Re: Recommended value for pg_test_fsync Message-ID: <20200701195958.GA14460@momjian.us> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Wed, Jul 1, 2020 at 11:41:23PM +0530, Nikhil Shetty wrote: > Hi, > > The client has done benchmark tests on available storage using a storage > benchmark tool and got IOPS of around 14k on iSCSI  and around 150k on HBA > channel, which seems a good number but pg_test_fysnc gives numbers which are > not reflecting good op/sec. Though pg_test_fysnc result should not be compared > to benchmark throughput but both are indicative of overall database > performance. Well, by definition, pg_test_fsync asks for fsync after every set of writes. Only the last report, "Non-sync'ed 8kB writes:" gives non-fsync performance. -- Bruce Momjian https://momjian.us EnterpriseDB https://enterprisedb.com The usefulness of a cup is in its emptiness, Bruce Lee