Re: Add GUC to tune glibc's malloc implementation. - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Add GUC to tune glibc's malloc implementation.
Date
Msg-id 20230626205907.rmuzjwsbkzz7vdtw@awork3.anarazel.de
Whole thread Raw
In response to Add GUC to tune glibc's malloc implementation.  (Ronan Dunklau <ronan.dunklau@aiven.io>)
List pgsql-hackers
Hi,

On 2023-06-22 15:35:12 +0200, Ronan Dunklau wrote:
> This can cause problems. Let's take for example a table with 10k rows, and 32 
> columns (as defined by a bench script David Rowley shared last year when 
> discussing the GenerationContext for tuplesort), and execute the following 
> query, with 32MB of work_mem:
> 
> select * from t order by a offset 100000;
>
> I attached the results of the 10k rows / 32 columns / 32MB work_mem benchmark 
> with different values for glibc_malloc_max_trim_threshold.

Could you provide instructions for the benchmark that don't require digging
into the archive to find an email by David?

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: "Joel Jacobson"
Date:
Subject: Re: Do we want a hashset type?
Next
From: Andres Freund
Date:
Subject: Re: Add GUC to tune glibc's malloc implementation.