Re: Eagerly evict bulkwrite strategy ring

2025-09-09 Thread Melanie Plageman
On Mon, Aug 25, 2025 at 3:03 PM Melanie Plageman wrote: > > I just finished a draft of a patch set to do write combining for COPY > FROM using this same heuristic as this patch for deciding to eagerly > flush but then combining multiple buffers into a single IO. That has > larger performance gains

Re: Eagerly evict bulkwrite strategy ring

2025-08-25 Thread Melanie Plageman
On Mon, Aug 18, 2025 at 2:54 AM Kirill Reshke wrote: > Hi! Thanks for the review! > 1) In EvictStrategyRing we find io context for strategy: > > > + io_context = IOContextForStrategy(strategy); > > but the caller of this function (GetVictimBuffer) already has one. > Should we reuse its context,

Re: Eagerly evict bulkwrite strategy ring

2025-08-17 Thread Kirill Reshke
On Wed, 16 Jul 2025 at 04:51, Melanie Plageman wrote: > > Hi, > > While discussing the next steps for AIO writes in Postgres, Andres > suggested that a good starting point would be to begin evicting more > than one buffer at a time in some of the buffer access strategies that > perform writes. Thi

Eagerly evict bulkwrite strategy ring

2025-07-15 Thread Melanie Plageman
Hi, While discussing the next steps for AIO writes in Postgres, Andres suggested that a good starting point would be to begin evicting more than one buffer at a time in some of the buffer access strategies that perform writes. This would make it easier to later combine these writes and, eventually