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 1iB0jb-00089t-Ut for pgsql-hackers@arkaria.postgresql.org; Thu, 19 Sep 2019 18:00:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iB0jZ-0000wR-HN for pgsql-hackers@arkaria.postgresql.org; Thu, 19 Sep 2019 18:00:49 +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 1iB0jZ-0000wC-5f for pgsql-hackers@lists.postgresql.org; Thu, 19 Sep 2019 18:00:49 +0000 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iB0jS-0003Wm-BM for pgsql-hackers@postgresql.org; Thu, 19 Sep 2019 18:00:48 +0000 Received: by mail-pl1-x644.google.com with SMTP id d22so655239pls.0 for ; Thu, 19 Sep 2019 11:00:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=j-davis-com.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:in-reply-to:references :mime-version:content-transfer-encoding; bh=11Van5MCyCsXwLKBm+ldKReH8Ls+9BXOS348dssjPnU=; b=mcnIJYk6bGAe4Oa6UehsdNo31dJAwQJiNzyFu9kAuAZSBLFSzQDQrf3gU8futsdwxG Q3ThsJf7NH9IK2s5JSyNrZCVJL8Pi5rfbF47Q8xRDoz1Y9AgYUhF38K5fpRRONVhvhpe AsoSkAe/XMNRhQB0baOrFfJ7Z9b+BlrDj9CYPhJCXRMhMCZ3CGcjgPUEWsNbC2ZDaqcM MTi3Jm1og14KzrHMbuQVA98eDQwrV1PKNnCFrloRKP6M1I91PF+lNcc+S4HrTElAsyJR gBhZZqi/ucTpQOyRWMPRKP8h/MbdO/arMg/OTfdkXAMhcBMmyDI71zMUHruXoREaFO+E n1/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=11Van5MCyCsXwLKBm+ldKReH8Ls+9BXOS348dssjPnU=; b=pVOXKN1ImEN1Umt15Hr0JEaXODK/NjiOM+xaIwzXt+rs+st7BM5RB4R4Q03+nCXTzz B28hHnyyBPhE7nTGCPsk01Uw3h4P6RGvF1lat5YjwnZQYHkxoiZELixNvztceh1Dw0ku XZ5mYHmdaqrEnkp8vUjTAmKoxxO/uxJUCD7Xjm/yq5NHymP06clbbCagt0TqNLVFjuW6 dDXCnLhnn6sTwKjBgJM0jS3dzgQdyoapD26Uq0bDTOu4JUGMkPC8MNp2+zgqyRc0+NcH qEEPsxpYIFL1tQru/1PYvIOgfKcih4/nR0yz/XdFCsNZ1Lox/2bbqXU+u8h8vbTZ0AZ6 7yPw== X-Gm-Message-State: APjAAAXRCcxWVuvRZNnJMZbarm9JK6g7wYOBfO5+S9a8wN85Eh1CWFuB 14vwabeZIec3TiNmIZ9kFgAllA== X-Google-Smtp-Source: APXvYqwqjIhJ6FooP6iqb7417bCLLEgs385wJ1Mhi/EsCY07+WJernYvKrOqPAf4ZZpENOmrZEQHQQ== X-Received: by 2002:a17:902:fe04:: with SMTP id g4mr11534542plj.241.1568916040165; Thu, 19 Sep 2019 11:00:40 -0700 (PDT) Received: from jdavis.lan (c-71-204-186-7.hsd1.ca.comcast.net. [71.204.186.7]) by smtp.gmail.com with ESMTPSA id e184sm17429660pfa.87.2019.09.19.11.00.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Sep 2019 11:00:39 -0700 (PDT) Message-ID: <67f66d2fa39e35aef90093c74531a38dcd5c0f73.camel@j-davis.com> Subject: Re: Memory Accounting From: Jeff Davis To: Soumyadeep Chakraborty , Tomas Vondra , Robert Haas Cc: Melanie Plageman , Pg Hackers , soumyadeep2007@gmail.com Date: Thu, 19 Sep 2019 11:00:37 -0700 In-Reply-To: References: <027a129b8525601c6a680d27ce3a7172dab61aab.camel@j-davis.com> <20190724215228.tlyj74ie4l2jn7ji@development> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Wed, 2019-09-18 at 13:50 -0700, Soumyadeep Chakraborty wrote: > Hi Jeff, Hi Soumyadeep and Melanie, Thank you for the review! > max_stack_depth max level lazy (ms) eager (ms) (eage > r/lazy) > 2MB 82 302.715 427.554 1.4123978 > 3MB 3474 567.829 896.143 1.578191674 > 7.67MB 8694 2657.972 4903.063 1.844663149 Thank you for collecting data on this. Were you able to find any regression when compared to no memory accounting at all? It looks like you agree with the approach and the results. Did you find any other issues with the patch? I am also including Robert in this thread. He had some concerns the last time around due to a small regression on POWER. Regards, Jeff Davis