Re: Change GUC hashtable to use simplehash? - Mailing list pgsql-hackers

From John Naylor
Subject Re: Change GUC hashtable to use simplehash?
Date
Msg-id CANWCAZbeG8vipVrvhHGd_5MDu414d6pMoYgCfJu49FJ8M3VbUw@mail.gmail.com
Whole thread Raw
In response to Re: Change GUC hashtable to use simplehash?  (jian he <jian.universality@gmail.com>)
Responses Re: Change GUC hashtable to use simplehash?
List pgsql-hackers
On Sat, Jan 6, 2024 at 9:01 AM jian he <jian.universality@gmail.com> wrote:
>
> latency average = 147.782 ms
> select * from bench_cstring_hash_unaligned(100000);
> latency average = 101.179 ms
> select * from bench_cstring_hash_aligned(100000);
> latency average = 101.219 ms

Thanks for testing again! This looks closer to my results. It doesn't
show improvement for the aligned case, but it's not worse, either.

There is still some polishing to be done, mostly on comments/examples,
but I think it's mostly there. I'll return to it by next week.



pgsql-hackers by date:

Previous
From: Andy Fan
Date:
Subject: Re: the s_lock_stuck on perform_spin_delay
Next
From: Andrei Lepikhov
Date:
Subject: Re: Multidimensional Histograms