Re: O(n^2) system calls in RemoveOldXlogFiles() - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: O(n^2) system calls in RemoveOldXlogFiles()
Date
Msg-id YAEBKrUnVmn2vN/G@paquier.xyz
Whole thread Raw
In response to Re: O(n^2) system calls in RemoveOldXlogFiles()  (Thomas Munro <thomas.munro@gmail.com>)
Responses Re: O(n^2) system calls in RemoveOldXlogFiles()  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Fri, Jan 15, 2021 at 03:25:24PM +1300, Thomas Munro wrote:
> Thanks Michael!  Another notch for the unnecessary system call
> hitlist: https://wiki.postgresql.org/wiki/Syscall_Reduction

A quick question.  How much does it matter in terms of
micro-performance for this code path depending on max/min_wal_size?
Andres has mentioned its aio work, without telling any numbers.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Sergey Shinderuk
Date:
Subject: Re: pg_preadv() and pg_pwritev()
Next
From: "tsunakawa.takay@fujitsu.com"
Date:
Subject: RE: POC: postgres_fdw insert batching