Re: AIO writes vs hint bits vs checksums - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: AIO writes vs hint bits vs checksums
Date
Msg-id 043c8b50-d183-46e5-b054-145cc0f6f908@iki.fi
Whole thread Raw
In response to AIO writes vs hint bits vs checksums  (Andres Freund <andres@anarazel.de>)
Responses Re: AIO writes vs hint bits vs checksums
List pgsql-hackers
Here's a rebase of these patches.

The last patch, to use mprotect() to detect bad buffer accesses, needed 
some changes because of AIO. I disabled the protection completely for 
I/O worker processes, it was difficult to be more fine-grained than 
that. I didn't test it with io_uring.

I went ahead and committed the "heapam: Only set tuple's block once per 
page in pagemode" patch, because it was trivial and independent of the rest.

-- 
Heikki Linnakangas
Neon (https://neon.tech)

Attachment

pgsql-hackers by date:

Previous
From: John Naylor
Date:
Subject: Re: Improve CRC32C performance on SSE4.2
Next
From: Jakub Wartak
Date:
Subject: Re: Draft for basic NUMA observability