Re: WIP: dynahash replacement for buffer table - Mailing list pgsql-hackers

From Robert Haas
Subject Re: WIP: dynahash replacement for buffer table
Date
Msg-id CA+TgmoZDHHjQxsn18pEeDYnNXMg39R9yrGnmq7kuYcNwm-JadA@mail.gmail.com
Whole thread Raw
In response to Re: WIP: dynahash replacement for buffer table  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: WIP: dynahash replacement for buffer table
Re: WIP: dynahash replacement for buffer table
List pgsql-hackers
This developed a slight merge conflict.  I've rebased the attached
version, and I also took the step of getting rid of buf_table.c, as I
think I proposed somewhere upthread.  This avoids the overhead of
constructing a BufferTag only to copy it into a BufferLookupEnt, plus
some function calls and so forth.  A quick-and-dirty test suggests
this might not have cut down on the 1-client overhead much, but I
think it's worth doing anyway: it's certainly saving a few cycles, and
I don't think it's complicating anything measurably.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Windows buildfarm animals are still not happy with abbreviated keys patch
Next
From: Dilip kumar
Date:
Subject: Re: TODO : Allow parallel cores to be used by vacuumdb [ WIP ]