Re: Change GUC hashtable to use simplehash?

Поиск
Список
Период
Сортировка
От John Naylor
Тема Re: Change GUC hashtable to use simplehash?
Дата
Msg-id CANWCAZbm2tXPzDC8zOsREu9jQD2PbuGo-yyey_bY95QEQWo86w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Change GUC hashtable to use simplehash?  (jian he <jian.universality@gmail.com>)
Ответы Re: Change GUC hashtable to use simplehash?  (jian he <jian.universality@gmail.com>)
Список pgsql-hackers
On Tue, Jan 2, 2024 at 6:56 AM jian he <jian.universality@gmail.com> wrote:
>
> My local computer is slow. but here is the test results:
>
> select * from bench_cstring_hash_aligned(100000);        7318.893 ms
> select * from bench_cstring_hash_unaligned(100000);    10383.173 ms
> select * from bench_pgstat_hash(100000);                       4474.989 ms
> select * from bench_pgstat_hash_fh(100000);                  9192.245 ms
> select * from bench_string_hash(100000);                        2048.008 ms

This presents a 2x to 5x slowdown, so I'm skeptical this is typical --
 what kind of platform is. For starters, what CPU and compiler?



В списке pgsql-hackers по дате отправления:

Предыдущее
От: John Naylor
Дата:
Сообщение: Re: [PoC] Improve dead tuple storage for lazy vacuum
Следующее
От: John Naylor
Дата:
Сообщение: Re: add AVX2 support to simd.h