pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Alexey Bashtanov <bashtanov@imap.cc>
Cc: pgsql-performance@postgresql.org
Subject: Re: How to prioritise walsender reading from pg_wal over WAL writes?
Date: Wed, 18 Nov 2020 13:11:23 +0100
Message-ID: <e40e61e6671d02ce79512439054bda9932bef8c1.camel@cybertec.at> (raw)
In-Reply-To: <774ec1b8-c7c6-cfa2-098d-5c6a32dcfc1a@imap.cc>
References: <774ec1b8-c7c6-cfa2-098d-5c6a32dcfc1a@imap.cc>

On Wed, 2020-11-18 at 11:54 +0000, Alexey Bashtanov wrote:
> If it helps, here's the details of the hardware config.
> The controller is AVAGO MegaRAID SAS 9361-4i,
> the SSDs are INTEL SSDSC2KG960G8 (configured as a raid1).
> Current scheduler used is deadline.
> Currently XFS is mounted without nobarriers, but I'm going to set that when there's high load next time to see how it affects throughput.
> 
> Properties of the array
> VD6 Properties :
> ==============
> Strip Size = 256 KB
> Number of Blocks = 1874329600
> VD has Emulated PD = Yes
> Span Depth = 1
> Number of Drives Per Span = 2
> Write Cache(initial setting) = WriteBack
> Disk Cache Policy = Disk's Default
> Encryption = None
> Data Protection = Disabled
> Active Operations = None
> Exposed to OS = Yes
> Creation Date = 28-10-2020
> Creation Time = 05:17:16 PM
> Emulation type = default
> Cachebypass size = Cachebypass-64k
> Cachebypass Mode = Cachebypass Intelligent
> Is LD Ready for OS Requests = Yes
> SCSI NAA Id = 600605b00af03650272c641ca30c3196

Why??

WAL buffers has the most recent information, so that would result in unnecessary delay and I/O.

You'd have to hack the code, but I wonder what leads you to this interesting requirement.

Yours,
Laurenz Albe
-- 
+43-670-6056265
CYBERTEC PostgreSQL International GmbH
Gröhrmühlgasse 26, A-2700 Wiener Neustadt
Web: https://www.cybertec-postgresql.com






view thread (6+ messages)  latest in thread

Message-ID: <e40e61e6671d02ce79512439054bda9932bef8c1.camel@cybertec.at>
Permalink:  ../e40e61e6671d02ce79512439054bda9932bef8c1.camel@cybertec.at/
Also on:    postgresql.org/message-id/e40e61e6671d02ce79512439054bda9932bef8c1.camel@cybertec.at

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: laurenz.albe@cybertec.at, bashtanov@imap.cc
  Subject: Re: How to prioritise walsender reading from pg_wal over WAL writes?
  In-Reply-To: <e40e61e6671d02ce79512439054bda9932bef8c1.camel@cybertec.at>

* 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