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 1hWFF4-0006TX-Vy for pgsql-admin@arkaria.postgresql.org; Thu, 30 May 2019 07:12:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hWFF1-0008RY-1h for pgsql-admin@arkaria.postgresql.org; Thu, 30 May 2019 07:12:47 +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 1hWFF0-0008RR-Oi for pgsql-admin@lists.postgresql.org; Thu, 30 May 2019 07:12:46 +0000 Received: from hermes.gatewaynet.com ([193.92.121.98]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hWFEx-0001JA-HX for pgsql-admin@lists.postgresql.org; Thu, 30 May 2019 07:12:46 +0000 Received: from smadev.internal.net (pc131.internal.net [10.9.200.131]) by hermes.gatewaynet.com (8.15.2/8.15.2/Debian-8) with ESMTPS id x4U7Cap1000551 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 30 May 2019 10:12:41 +0300 Received: from smadev.internal.net (smadev [10.9.200.131]) by smadev.internal.net (8.15.2/8.15.2) with ESMTP id x4U7Ca8E063575 for ; Thu, 30 May 2019 10:12:36 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) Subject: Re: 8Kb or 4Kb ext4 filesystem page size To: pgsql-admin@lists.postgresql.org References: From: Achilleas Mantzios Message-ID: <4faf4818-1249-3f0c-e105-b649bab24b45@matrix.gatewaynet.com> Date: Thu, 30 May 2019 10:12:36 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.3.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Virus-Scanned: clamav-milter 0.100.3 at hermes X-Virus-Status: Clean X-Spam-Status: No, score=-28.9 required=5.0 tests=ALL_TRUSTED,DYN_HAM_COORD, DYN_HAM_IT,DYN_HAM_NAUTICAL,TW_PG autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on hermes.gatewaynet.com List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 29/5/19 9:10 μ.μ., Alexandre hadjinlian guerra wrote: > Hi > > Given that postgres uses 8Kb pages, im wondering why i couldnt see any tests at all which would format ext4 partition to 8Kb pages. Im about to do some tests, but any knowledge about such lack of > tests on the internet makes me wonder if im looking poorly or just lack of testing. besides, i do ask if the following link remain true given XFS and EXT4 evolution since 2015 > https://blog.pgaddict.com/posts/postgresql-performance-on-ext4-and-xfs This is just my personal opinion, and might be the case only with us, but anytime I had severe problems with any of our postgresql clusters this was with XFS. I know that XFS has been highly praised and recommended as a pgsql fs, just hasn't been the case with us. Having said that, in the era of could based or vm-based postgresql installation, the question of choice of FS is becoming less and less relevant. Just make sure to secure your data, and that you don't over tune your fs at the expense of data safety. > > Thanks -- Achilleas Mantzios IT DEV Lead IT DEPT Dynacom Tankers Mgmt