Repository navigation
Conversation
mimalloc returns freed memory to the OS after 10ms by default. Query execution allocates and frees large buffers repeatedly, so pages are decommitted and faulted back in, and the kernel spends a large share of the runtime zeroing them (35% of samples in clear_page_erms on TPC-H Q18). Set purge_delay to -1 at startup unless MIMALLOC_PURGE_DELAY is set. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YJhYrzTysgqiqrdXy8uM2U
|
run benchmarks |
|
🤖 Benchmark running (GKE) | trigger CPU Details (lscpu)Comparing perf-mimalloc-purge-delay (d46ca4e) to b9c8b3d (merge-base) diff Run configurationrun benchmark clickbench_partitionedResults will be posted here when complete File an issue against this benchmark runner |
|
🤖 Benchmark running (GKE) | trigger CPU Details (lscpu)Comparing perf-mimalloc-purge-delay (d46ca4e) to b9c8b3d (merge-base) diff Run configurationrun benchmark tpcdsResults will be posted here when complete File an issue against this benchmark runner |
|
🤖 Benchmark running (GKE) | trigger CPU Details (lscpu)Comparing perf-mimalloc-purge-delay (d46ca4e) to b9c8b3d (merge-base) diff Run configurationrun benchmark tpchResults will be posted here when complete File an issue against this benchmark runner |
|
🤖 Benchmark completed (GKE) | trigger Instance: Comparing perf-mimalloc-purge-delay (d46ca4e) to b9c8b3d (merge-base) diff Run configurationrun benchmark tpchCPU Details (lscpu)Details
Resource Usagetpch — base (merge-base)
tpch — branch
File an issue against this benchmark runner |
|
🤖 Benchmark completed (GKE) | trigger Instance: Comparing perf-mimalloc-purge-delay (d46ca4e) to b9c8b3d (merge-base) diff Run configurationrun benchmark tpcdsCPU Details (lscpu)Details
Resource Usagetpcds — base (merge-base)
tpcds — branch
File an issue against this benchmark runner |
|
🤖 Benchmark completed (GKE) | trigger Instance: Comparing perf-mimalloc-purge-delay (d46ca4e) to b9c8b3d (merge-base) diff Run configurationrun benchmark clickbench_partitionedCPU Details (lscpu)Details
Resource Usageclickbench_partitioned — base (merge-base)
clickbench_partitioned — branch
File an issue against this benchmark runner |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #26217 +/- ##
==========================================
+ Coverage 82.57% 82.80% +0.23%
==========================================
Files 1142 1149 +7
Lines 441215 452241 +11026
Branches 441215 452241 +11026
==========================================
+ Hits 364332 374482 +10150
- Misses 54841 54960 +119
- Partials 22042 22799 +757 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
mimalloc returns freed memory to the OS after 10ms by default. Query execution allocates and frees large buffers repeatedly, so pages are decommitted and faulted back in, and the kernel spends a large share of the runtime zeroing them (35% of samples in clear_page_erms on TPC-H Q18).
Set purge_delay to -1 at startup unless MIMALLOC_PURGE_DELAY is set.