Skip to content
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

sql: re-enable txnidcache by default #77626

Merged
merged 1 commit into from
Mar 14, 2022
Merged

Conversation

Azhng
Copy link
Contributor

@Azhng Azhng commented Mar 10, 2022

Previously, TxnID cache was disabled by default due to performance
issues. This has since been resolved in #77220.
This commit re-enables TxnID Cache by default.

Release justification: low risk high reward change.
Release note: None

@Azhng Azhng requested review from ajwerner and a team March 10, 2022 18:30
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@ajwerner
Copy link
Contributor

are there any workloads we know to be affected by this?

@Azhng
Copy link
Contributor Author

Azhng commented Mar 10, 2022

Other than kv0/kv95, looking at the dashboard, I think all the YCSB workload were affected.

@Azhng
Copy link
Contributor Author

Azhng commented Mar 10, 2022

I have been using YCSB-A to do stability testing for the last week (#75110), and I haven't observed any significant performance drops .

I haven't tested other YCSB workloads yet.

Copy link
Contributor

@maryliag maryliag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any other tests we should be doing before enabling this back?

Reviewed 4 of 4 files at r1, all commit messages.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @ajwerner)

Copy link
Contributor Author

@Azhng Azhng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In terms of the tests we should run, two workload that have previously shown performance drops with TxnID Cache enabled are kv workload and ycsb workload.

I think at this point, we could benefit a lot more from turning this on and keep this running in the nightly tests, and to learn more about its performance and stability.

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @ajwerner)

Copy link
Contributor

@ajwerner ajwerner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I'm in favor of enabling it and keeping an eye. However, if there are noticeable regressions in the benchmarks, let's file an issue and flip it off rapidly.

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @Azhng)

Previously, TxnID cache was disabled by default due to performance
issues. This has since been resolved in cockroachdb#77220.
This commit re-enables TxnID Cache by default.

Release justification: low risk high reward change.
Release note: None
Copy link
Contributor

@maryliag maryliag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 to Andrew's comment. Let's keep an eye on regressions after this merge
:lgtm:

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @maryliag)

@Azhng
Copy link
Contributor Author

Azhng commented Mar 14, 2022

TFTR!

bors r=maryliag,ajwerner

@craig
Copy link
Contributor

craig bot commented Mar 14, 2022

Build succeeded:

@craig craig bot merged commit 51cbdce into cockroachdb:master Mar 14, 2022
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.

4 participants