Skip to content

Clear ClickHouse filesystem cache between cold runs in datalake benchmarks#821

Merged
alexey-milovidov merged 1 commit intomainfrom
fix-clickhouse-datalake-cache-cleanup
Mar 22, 2026
Merged

Clear ClickHouse filesystem cache between cold runs in datalake benchmarks#821
alexey-milovidov merged 1 commit intomainfrom
fix-clickhouse-datalake-cache-cleanup

Conversation

@alexey-milovidov
Copy link
Copy Markdown
Member

The benchmarks drop the OS page cache before each query group, but the ClickHouse filesystem cache in /dev/shm/clickhouse/ was not being cleared. This made cold run numbers unreliable — data cached by the filesystem cache from previous queries survived across runs, making cold times appear much faster than they actually are.

…marks

The benchmarks drop the OS page cache before each query group, but the
ClickHouse filesystem cache in `/dev/shm/clickhouse/` was not being
cleared. This made cold run numbers unreliable — data cached by the
filesystem cache from previous queries survived across runs, making
cold times appear much faster than they actually are.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@alexey-milovidov alexey-milovidov self-assigned this Mar 22, 2026
@alexey-milovidov alexey-milovidov merged commit b0d2f59 into main Mar 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant