Re: CPU costs of random_zipfian in pgbench

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Georgios Kokolatos <gkokolatos(at)pm(dot)me>, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: CPU costs of random_zipfian in pgbench
Date: 2019-03-23 18:45:33
Message-ID: alpine.DEB.2.21.1903231944420.18811@lancre
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


>>> What is the point of that, and if there is a point, why is it nowhere
>>> mentioned in pgbench.sgml?
>
> The attached patch simplifies the code by erroring on cache overflow, instead
> of the LRU replacement strategy and unhelpful final report. The above lines
> are removed.

Same, but without the compiler warning about an unused variable. Sorry for
the noise.

--
Fabien.

Attachment Content-Type Size
pgbench-zipf-cache-simple-2.patch text/x-diff 3.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Sergei Kornilov 2019-03-23 19:04:47 Re: REINDEX CONCURRENTLY 2.0
Previous Message Fabien COELHO 2019-03-23 18:11:44 Re: CPU costs of random_zipfian in pgbench