From: Andreas Joseph Krogh <andreas@visena.com>
To: pgsql-general@lists.postgresql.org
Subject: Sv: Re: Sv: Re: data-checksums
Date: Tue, 9 Jan 2018 23:30:28 +0100 (CET)
Message-ID: <VisenaEmail.ff.a2a2d6fb24f13ac9.160dd086d3d@tc7-visena> (raw)
In-Reply-To: <20180109220605.4jywcugziosolyw4@alap3.anarazel.de>
På tirsdag 09. januar 2018 kl. 23:06:06, skrev Andres Freund <andres@anarazel.de
<mailto:andres@anarazel.de>>:
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.
But SIMD-instructions are also HW-accellerated by modern CPUs IIUC?
So, if these CRCs all are HW-accelerated the penalty chould be next to
neglishable?
-- Andreas Joseph Krogh
CTO / Partner - Visena AS
Mobile: +47 909 56 963
andreas@visena.com <mailto:andreas@visena.com>
www.visena.com <https://www.visena.com;
<https://www.visena.com;
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: andreas@visena.com
Subject: Re: data-checksums
In-Reply-To: <VisenaEmail.ff.a2a2d6fb24f13ac9.160dd086d3d@tc7-visena>
References: <20180109220605.4jywcugziosolyw4@alap3.anarazel.de> <VisenaEmail.ff.a2a2d6fb24f13ac9.160dd086d3d@tc7-visena>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox