Skip to content

EXPERIMENT: [C++] Benchmark jemalloc against mimalloc - #41205

Closed
pitrou wants to merge 2 commits into
apache:mainfrom
pitrou:jemalloc-vs-mimalloc
Closed

pitrou wants to merge 2 commits into
apache:mainfrom
pitrou:jemalloc-vs-mimalloc

Conversation

@pitrou

@pitrou pitrou commented Apr 15, 2024

Copy link
Copy Markdown
Member

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@pitrou

pitrou commented Apr 15, 2024

Copy link
Copy Markdown
Member Author

@ursabot please benchmark lang=C++

@ursabot

ursabot commented Apr 15, 2024

Copy link
Copy Markdown

Benchmark runs are scheduled for commit 7534c6d6090377760a632452999afbe1a9a28817. Watch https://buildkite.com/apache-arrow and https://conbench.ursa.dev for updates. A comment will be posted here when the runs are complete.

@conbench-apache-arrow

This comment was marked as outdated.

@apache apache deleted a comment from ursabot Apr 16, 2024
@pitrou
pitrou force-pushed the jemalloc-vs-mimalloc branch from 7534c6d to 8b26553 Compare April 16, 2024 11:59
@pitrou

pitrou commented Apr 16, 2024

Copy link
Copy Markdown
Member Author

@ursabot please benchmark

@ursabot

ursabot commented Apr 16, 2024

Copy link
Copy Markdown

Benchmark runs are scheduled for commit 8b265538f406228145afeff801b7b219946202ed. Watch https://buildkite.com/apache-arrow and https://conbench.ursa.dev for updates. A comment will be posted here when the runs are complete.

@conbench-apache-arrow

This comment was marked as outdated.

@pitrou
pitrou force-pushed the jemalloc-vs-mimalloc branch from 8b26553 to 55c9151 Compare May 28, 2024 16:02
@pitrou

pitrou commented May 28, 2024

Copy link
Copy Markdown
Member Author

@ursabot please benchmark lang=C++

@ursabot

ursabot commented May 28, 2024

Copy link
Copy Markdown

Benchmark runs are scheduled for commit 55c9151d8e4a12d6e2285a6ee9d511abc4910c00. Watch https://buildkite.com/apache-arrow and https://conbench.ursa.dev for updates. A comment will be posted here when the runs are complete.

@pitrou

pitrou commented Jun 3, 2024

Copy link
Copy Markdown
Member Author

@ursabot please benchmark

@ursabot

ursabot commented Jun 3, 2024

Copy link
Copy Markdown

Benchmark runs are scheduled for commit 507bd69e64364b873dace05c18c6931b7fd2ff30. Watch https://buildkite.com/apache-arrow and https://conbench.ursa.dev for updates. A comment will be posted here when the runs are complete.

@conbench-apache-arrow

Copy link
Copy Markdown

Thanks for your patience. Conbench analyzed the 3 benchmarking runs that have been run so far on PR commit 55c9151d8e4a12d6e2285a6ee9d511abc4910c00.

There were 273 benchmark results indicating a performance regression:

The full Conbench report has more details.

@pitrou
pitrou force-pushed the jemalloc-vs-mimalloc branch from 507bd69 to e88e940 Compare June 12, 2024 15:52
@pitrou

pitrou commented Jun 12, 2024

Copy link
Copy Markdown
Member Author

@ursabot please benchmark lang=C++

@ursabot

ursabot commented Jun 12, 2024

Copy link
Copy Markdown

Benchmark runs are scheduled for commit e88e94075c55988d2f696746c424bfa3ce285f36. Watch https://buildkite.com/apache-arrow and https://conbench.ursa.dev for updates. A comment will be posted here when the runs are complete.

@pitrou
pitrou force-pushed the jemalloc-vs-mimalloc branch from e88e940 to abd420c Compare June 12, 2024 15:58
@pitrou

pitrou commented Jun 12, 2024

Copy link
Copy Markdown
Member Author

@ursabot please benchmark lang=C++

@ursabot

ursabot commented Jun 12, 2024

Copy link
Copy Markdown

Benchmark runs are scheduled for commit abd420c. Watch https://buildkite.com/apache-arrow and https://conbench.ursa.dev for updates. A comment will be posted here when the runs are complete.

@conbench-apache-arrow

Copy link
Copy Markdown

Thanks for your patience. Conbench analyzed the 3 benchmarking runs that have been run so far on PR commit e88e94075c55988d2f696746c424bfa3ce285f36.

There were 795 benchmark results indicating a performance regression:

The full Conbench report has more details.

@conbench-apache-arrow

Copy link
Copy Markdown

Thanks for your patience. Conbench analyzed the 2 benchmarking runs that have been run so far on PR commit abd420c.

There were 116 benchmark results indicating a performance regression:

The full Conbench report has more details.

pitrou added a commit that referenced this pull request Jun 13, 2024
…42141)

### Rationale for this change

`parquet-encoding-benchmark`  would make invalid memory accesses if more than one repetition per benchmark is requested by the user.

This was initially noticed in #41205 : switching to jemalloc would crash the specific benchmark(s) on a macOS ARM machine.

### What changes are included in this PR?

Make sure benchmark data initialization is idempotent.

### Are these changes tested?

Locally using Valgrind.

### Are there any user-facing changes?

No.
* GitHub Issue: #42140

Authored-by: Antoine Pitrou <antoine@python.org>
Signed-off-by: Antoine Pitrou <antoine@python.org>
@pitrou

pitrou commented Jul 17, 2024

Copy link
Copy Markdown
Member Author

This PR doesn't solve a purpose anymore now that PR #40875 was merged.

@pitrou pitrou closed this Jul 17, 2024
@pitrou
pitrou deleted the jemalloc-vs-mimalloc branch July 17, 2024 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants