Re: [PATCH v4 04/53] perf mmap: Lazily initialize zstd streams

From: Arnaldo Carvalho de Melo
Date: Mon Nov 27 2023 - 17:00:13 EST


Em Thu, Nov 02, 2023 at 10:56:46AM -0700, Ian Rogers escreveu:
> Zstd streams create dictionaries that can require significant RAM,
> especially when there is one per-CPU. Tools like perf record won't use
> the streams without the -z option, and so the creation of the streams
> is pure overhead. Switch to creating the streams on first use.
>
> Signed-off-by: Ian Rogers <irogers@xxxxxxxxxx>

Thanks, applied to perf-tools-next.

- Arnaldo