From: | Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com> |
---|---|
To: | Nathan Bossart <nathandbossart(at)gmail(dot)com> |
Cc: | John Naylor <john(dot)naylor(at)enterprisedb(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, John Naylor <jcnaylor(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: optimize lookups in snapshot [sub]xip arrays |
Date: | 2022-08-09 01:57:44 |
Message-ID: | CAD21AoA_MEAENt9yaS5-rQ+_4yW4+GTYN16Jy0ntY+o8o7TtKg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, Aug 9, 2022 at 7:33 AM Nathan Bossart <nathandbossart(at)gmail(dot)com> wrote:
>
> On Mon, Aug 08, 2022 at 01:46:48PM +0700, John Naylor wrote:
> > Okay, I think it's basically in good shape. Since it should be a bit
> > faster than a couple versions ago, would you be up for retesting with
> > the original test having 8 to 512 writers?
>
> Sure thing. The results are similar. As before, the improvements are most
> visible when the arrays are large.
>
> writers head patch
> 8 672 680
> 16 639 664
> 32 701 689
> 64 705 703
> 128 628 653
> 256 576 627
> 512 530 584
> 768 450 536
> 1024 350 494
>
> > And also add the const
> > markers we discussed upthread?
>
> Oops, sorry about that. This is done in v9.
>
> > Aside from that, I plan to commit this
> > week unless there is further bikeshedding.
>
> Great, thanks.
The patch looks good to me. One minor point is:
+ * IDENTIFICATION
+ * src/port/pg_lfind.h
The path doesn't match to the actual file path, src/include/port/pg_lfind.h.
Regards,
--
Masahiko Sawada
EDB: https://www.enterprisedb.com/
From | Date | Subject | |
---|---|---|---|
Next Message | John Naylor | 2022-08-09 02:24:46 | Re: Fix unmatched file identifications |
Previous Message | Masahiko Sawada | 2022-08-09 01:57:20 | Fix unmatched file identifications |