Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gnmv1-0005zJ-4Y for pgsql-performance@arkaria.postgresql.org; Sun, 27 Jan 2019 16:04:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gnmux-0003T8-Ln for pgsql-performance@arkaria.postgresql.org; Sun, 27 Jan 2019 16:04:19 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1gnmux-0003T1-9v for pgsql-performance@lists.postgresql.org; Sun, 27 Jan 2019 16:04:19 +0000 Received: from mail-it1-x144.google.com ([2607:f8b0:4864:20::144]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gnmup-0008Jk-Ay for pgsql-performance@lists.postgresql.org; Sun, 27 Jan 2019 16:04:18 +0000 Received: by mail-it1-x144.google.com with SMTP id m62so17198601ith.5 for ; Sun, 27 Jan 2019 08:04:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=UzFJx5uCFMsjd8157lv2t4NXhcEryFOentK1HfpLCik=; b=YYtmaoWSME0KUCN8BxWo5zgZS1trqVMle/sjFo+icd2NFsgJvIM6HBSRiLEBUqD5ZM 3xT/1tHHq00Ms/71MRqUDLwIro32XpFSel4oWREOE/LEwaNUSKdEH43U+gy69pJFESx4 nC2HGNNkIjKzUcXe7zJOwrSlz3y2NlS/VA2uh4Kf4ajqpjXVFx4JT/ndDSwjfzVhTCrt GVqbz1HpfMz29DO9J5RVp3MwGjiifhljZlnhfJzIku6GLnabvrmyORedXjvcxMx+WC3t k2SjDh3ATUlIYnoT1Frd0QNGz4pzAOo6KJbRhpj7XnSwCiqt5jH5Nurfo1Y2dz39Ux5y NG6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=UzFJx5uCFMsjd8157lv2t4NXhcEryFOentK1HfpLCik=; b=CagkhZptVDvMmiN2tGVe/bJq/ouSDrEcvGyoF6LlXeQ43yuOnFY06noETULtcwy8m7 rD1QFIy9b+wMVIAod7xAnsex497Da/5yyHJV+Lpl9GsIF4LT1rXQObIJKr+p7JraJ1K5 NqN26lqkmRne8KY4VEbRvE0ECqEtkorAkBLpSg+vq30eQZJ23MyeO3dcFrVp5bbflgJy B5VrF4PhjD8VSPYL57fpVqk79yKlNSEUf3jLUoGNMLjeqrM3PlW4MQ6FjfRNvG7UtAXz fiSeAD0DzGzNY+pxUGDEulvgR5y6cFdsCsYdSqySudPWUyEB13OadmIFq8AeY4x7lD60 hLVA== X-Gm-Message-State: AJcUukcStHs0X+YTP1RDKpoDfJQEkfp60u4TQMuUbPOoLmZhKNfb2aX3 n3lEJ4eIccs/LcuuODQDTMIG1Q== X-Google-Smtp-Source: ALg8bN453uUABxTvJPnS6BjXYkoFhBlZph30g6X8Nft5Kx0S00W1sTF5GSg0aM5cSgcmoYCUVGs1Ow== X-Received: by 2002:a24:2ed3:: with SMTP id i202mr7923135ita.89.1548605048387; Sun, 27 Jan 2019 08:04:08 -0800 (PST) Received: from pryzbyj (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id r16sm12491915ioa.16.2019.01.27.08.04.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Jan 2019 08:04:07 -0800 (PST) Received: by pryzbyj (Postfix, from userid 1000) id 32E598011F6; Sun, 27 Jan 2019 10:04:06 -0600 (CST) Date: Sun, 27 Jan 2019 10:04:06 -0600 From: Justin Pryzby To: Saurabh Nanda Cc: Jeff Janes , pgsql-performance@lists.postgresql.org Subject: Re: Benchmarking: How to identify bottleneck (limiting factor) and achieve "linear scalability"? Message-ID: <20190127160406.GL13248@telsasoft.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Sun, Jan 27, 2019 at 01:09:16PM +0530, Saurabh Nanda wrote: > It seems that PGOPTIONS="-c synchronous_commit=off" has a significant > impact. However, I still can not understand why the TPS for the optimised > case is LOWER than the default for higher concurrency levels! Do you know which of the settings is causing lower TPS ? I suggest to check shared_buffers. If you haven't done it, disabling THP and KSM can resolve performance issues, esp. with large RAM like shared_buffers, at least with older kernels. https://www.postgresql.org/message-id/20170718180152.GE17566%40telsasoft.com Justin