Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ffQf8-0002Vu-Vc for pgsql-performance@arkaria.postgresql.org; Tue, 17 Jul 2018 14:09:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ffQf7-0007gV-5R for pgsql-performance@arkaria.postgresql.org; Tue, 17 Jul 2018 14:09:09 +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 1ffQf6-0007gN-UE for pgsql-performance@lists.postgresql.org; Tue, 17 Jul 2018 14:09:08 +0000 Received: from webmail.normation.com ([212.129.19.75] helo=nrm-vir-mail-01.normation.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ffQez-0000aR-W2 for pgsql-performance@lists.postgresql.org; Tue, 17 Jul 2018 14:09:08 +0000 Received: from [192.168.90.10] (republique-1.normation.com [78.249.200.184]) by nrm-vir-mail-01.normation.com (Postfix) with ESMTPSA id A63FA2235A5; Tue, 17 Jul 2018 16:08:29 +0200 (CEST) Subject: Re: Why HDD performance is better than SSD in this case To: Robert Zenz , "pgsql-performance@lists.postgresql.org" References: <01bbbc88-2a47-f078-ea40-ab2c1acafa1f@portavita.eu> <5B4DF40E.7080803@sibvisions.com> From: Nicolas Charles Message-ID: <24d62ee0-edd6-fd53-3a3d-8ab1dacd9c35@normation.com> Date: Tue, 17 Jul 2018 16:08:28 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <5B4DF40E.7080803@sibvisions.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: fr List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Le 17/07/2018 à 15:50, Robert Zenz a écrit : > On 17.07.2018 15:44, Nicolas Charles wrote: >> - Partitions is not correctly aligned on the SSD blocks > Does that really make a noticeable difference? If yes, have you got some further > reading material on that? I was pretty sure it was, but looking at the litterature, it's not that obvious. Especially https://blog.pgaddict.com/posts/postgresql-performance-on-ext4-and-xfs seems to mentions that it doesn't change a thing, while others stress out that it is mandatory ( https://www.alibabacloud.com/forum/read-415, https://www.thomas-krenn.com/en/wiki/Partition_Alignment ) Even on mecanical drives it's been reported to cause slowdown ( https://www.ibm.com/developerworks/library/l-linux-on-4kb-sector-disks/index.html ) Maybe the OS are more clever now, making it not so important as before ? Nicolas