-
Notifications
You must be signed in to change notification settings - Fork 436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test_runner: use LFC by default #8613
base: main
Are you sure you want to change the base?
Conversation
6512 tests run: 6228 passed, 1 failed, 283 skipped (full report)Failures on Postgres 17
Test coverage report is not availableThe comment gets automatically updated with the latest test results
4eed077 at 2024-11-06T09:23:23.366Z :recycle: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see no problem with enabling LFC by default, it's a great idea. Not extending the current amount of caching (1MB by default) might be the best way to not introduce flakyness.
Note we have some regress and perf tests which configure shared buffers. Perhaps those could also be using a larger LFC?
$ rg 'shared_buffers\s*=' test_runner/
test_runner/fixtures/compare_fixtures.py
196: "shared_buffers=1MB",
test_runner/performance/test_compaction.py
38: "main", tenant_id=tenant_id, config_lines=["shared_buffers=512MB"]
82: "main", tenant_id=tenant_id, config_lines=["shared_buffers=512MB"]
test_runner/performance/test_startup.py
52: config_lines=["shared_buffers=262144"],
test_runner/performance/test_seqscans.py
55: shared_buffers = row[0]
test_runner/performance/pageserver/pagebench/test_large_slru_basebackup.py
92: "main", tenant_id=template_tenant, config_lines=["shared_buffers=1MB"]
test_runner/regress/test_lfc_working_set_approximation.py
21: "shared_buffers='1MB'",
85: "shared_buffers=1MB",
test_runner/regress/test_pageserver_catchup.py
15: "test_pageserver_catchup_while_compute_down", config_lines=["shared_buffers=512MB"]
test_runner/regress/test_pg_query_cancellation.py
52: "shared_buffers = 128MB",
test_runner/regress/test_local_file_cache.py
24: "shared_buffers='1MB'",
test_runner/regress/test_wal_acceptor.py
2151: config_lines=["shared_buffers=1MB"],
test_runner/regress/test_explain_with_lfc_stats.py
19: "shared_buffers='1MB'"
878f504
to
f5f761d
Compare
@a-masterov is going to continue the work on this PR |
filter out lfc tunables if we are not using lfc
5013cf4
to
865d173
Compare
a1c99d2
to
7953fd1
Compare
Last Week:
This Week:
|
Problem
We don't currently test LFC enough, because we disable LFC by default.
Summary of changes
LFC was enabled by default, use the environment variable USE_LFC=false to disable.
Checklist before requesting a review
Checklist before merging