Re: O_DIRECT for relations and SLRUs (Prototype)

From: Maksim Milyutin <milyutinma(at)gmail(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>, Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
Cc: Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Kevin Grittner <kgrittn(at)gmail(dot)com>
Subject: Re: O_DIRECT for relations and SLRUs (Prototype)
Date: 2019-01-15 16:40:12
Message-ID: 891f2d23-e3c4-fee4-2e12-78aeec29fc43@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 1/15/19 11:28 AM, Michael Paquier wrote:

> On Tue, Jan 15, 2019 at 11:19:48AM +0500, Andrey Borodin wrote:
>> Is it possible to avoid those memcpy's by aligning available buffers
>> instead? I couldn't understand this from the patch and this thread.
> Sure, it had better do that. That's just a lazy implementation.

Hi!

Could you specify all cases when buffers will not be aligned with BLCKSZ?

AFAIC shared and temp buffers are aligned. And what ones are not?

--
Regards, Maksim Milyutin

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2019-01-15 16:45:13 Re: Pluggable Storage - Andres's take
Previous Message Tom Lane 2019-01-15 15:53:30 Re: current_logfiles not following group access and instead follows log_file_mode permissions