Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZ228-0002IW-Jl for pgsql-general@arkaria.postgresql.org; Tue, 09 Jan 2018 22:06:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZ228-0001lw-6N for pgsql-general@arkaria.postgresql.org; Tue, 09 Jan 2018 22:06:12 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eZ227-0001ba-Ql for pgsql-general@lists.postgresql.org; Tue, 09 Jan 2018 22:06:11 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eZ224-0000Au-FH for pgsql-general@lists.postgresql.org; Tue, 09 Jan 2018 22:06:10 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 879EE20D0E; Tue, 9 Jan 2018 17:06:07 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Tue, 09 Jan 2018 17:06:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=KOk29Y1EFWjFme7wVuJj5w+mwsFjt fTzayw6XaVWVUI=; b=rLVEvYAZFae3lnTVd1WuYcnSHZho9NzC5BboUYXPsjnJJ iYVereAEMKoI50HyRLpWTDQ3FQLSFVUJHfkUPfoZB7ZFfYgjwIBWJIP4L6Fcfs+i Kn5KF8ttE8TS12AaU6Z/xlQvVNkwLyyS70VIaI87qFEXYz8iyJpt/hPtm7+nwu4l jUfuU3m7zldcuao7eLJIb5Jwk8ZERhr4n5eOyyUp5ob0IFaoq0PRo4eiSm4Bz91U 1QKQrJBL7gwHEEAlqaPinHNkxLywEhUIV6ObQo+iqS/vKKo/y2KLphnH+dqEyDpE 4KCnIok+/PBVNB0SFLYNxaEky3NkNnX7Q5CrKSpLg== X-ME-Sender: Received: from intern.anarazel.de (unknown [136.24.76.189]) by mail.messagingengine.com (Postfix) with ESMTPA id 3F44A7E16A; Tue, 9 Jan 2018 17:06:07 -0500 (EST) Date: Tue, 9 Jan 2018 14:06:06 -0800 From: Andres Freund To: Andreas Joseph Krogh Cc: pgsql-general@lists.postgresql.org Subject: Re: Sv: Re: data-checksums Message-ID: <20180109220605.4jywcugziosolyw4@alap3.anarazel.de> References: <163ee8df-cae2-484e-5791-c74994d33403@commandprompt.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 2018-01-09 21:47:17 +0100, Andreas Joseph Krogh wrote: > Does PG use HW-accellerated crc if CPU supports it[1]? Yes we do, for WAL checksums. The page checksums are a different algorithm though, one which has the advantage of being SIMD compatible. The checksum computations have some impact, but if there's bigger impact it's much more likely to be related to the fact that some hint bit writes to a page now needs to be WAL logged. Andres Freund