Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1etCpw-0006vN-7V for pgsql-general@arkaria.postgresql.org; Tue, 06 Mar 2018 13:41:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1etCpv-0003GP-1S for pgsql-general@arkaria.postgresql.org; Tue, 06 Mar 2018 13:40:59 +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.89) (envelope-from ) id 1etCpu-0003GD-PL for pgsql-general@lists.postgresql.org; Tue, 06 Mar 2018 13:40:58 +0000 Received: from mx2.mailbox.org ([80.241.60.215]) by magus.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1etCpr-0000hX-II for pgsql-general@postgresql.org; Tue, 06 Mar 2018 13:40:58 +0000 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id F0D7740E44; Tue, 6 Mar 2018 14:40:53 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter02.heinlein-hosting.de (spamfilter02.heinlein-hosting.de [80.241.56.116]) (amavisd-new, port 10030) with ESMTP id 0gpxGbLCo_g0; Tue, 6 Mar 2018 14:40:52 +0100 (CET) Message-ID: <1520343651.2601.39.camel@cybertec.at> Subject: Re: dirty_ratio & dirty_background_ratio settings with huge memory From: Laurenz Albe To: Tomas Vondra , pinker , pgsql-general@postgresql.org Date: Tue, 06 Mar 2018 14:40:51 +0100 In-Reply-To: <4319071a-3cbf-cf63-c3a2-69aef34be930@2ndquadrant.com> References: <1520331809441-0.post@n3.nabble.com> <1520338619.2601.26.camel@cybertec.at> <4319071a-3cbf-cf63-c3a2-69aef34be930@2ndquadrant.com> Organization: Cybertec Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Tomas Vondra wrote: > > > > 2 GB for vm.dirty_background_bytes and 1 GB for vm.dirty_bytes sounds fine. > > > > It should be the other way around: dirty_background_bytes < dirty_bytes Of course, thanks for the correction. Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com