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

roachtest: add tpcc roachperf test variants to stress encryption #97923

Merged
merged 1 commit into from
Mar 2, 2023

Conversation

nicktrav
Copy link
Collaborator

@nicktrav nicktrav commented Mar 2, 2023

Currently, certain KV roachperf variants run with Encryption-At-Rest (EAR) support (i.e. enc=true). Expand the test variants to include three basic TPC-C configurations with EAR enabled:

  • 3 nodes, 4 vCPU
  • 3 nodes, 16 vCPU
  • 12 nodes, 16 vCPU

Release note: None.

Epic: CRDB-20293.

@nicktrav nicktrav requested review from jbowens and a team March 2, 2023 15:34
@nicktrav nicktrav requested a review from a team as a code owner March 2, 2023 15:34
@nicktrav nicktrav requested review from herkolategan and renatolabs and removed request for a team March 2, 2023 15:34
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Member

@srosenberg srosenberg left a comment

Choose a reason for hiding this comment

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

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @herkolategan, @jbowens, @nicktrav, and @renatolabs)


pkg/cmd/roachtest/tests/tpcc.go line 966 at r1 (raw file):

	// EncryptionSupport determines if the benchmark uses encrypted stores (i.e.
	// Encryption-At-Rest / EAR).
	EncryptionSupport bool

Nit: might be less ambiguous to rename to EncryptionEnabled since EncryptionSupport is (also) a three-valued type.

Currently, certain KV roachperf variants run with Encryption-At-Rest
(EAR) support (i.e. `enc=true`). Expand the test variants to include
three basic TPC-C configurations with EAR enabled:
- 3 nodes, 4 vCPU
- 3 nodes, 16 vCPU
- 12 nodes, 16 vCPU

Release note: None.
@nicktrav nicktrav force-pushed the nickt.tpcc-bench-enc branch from 61a4a0f to 2c428db Compare March 2, 2023 18:32
Copy link
Collaborator Author

@nicktrav nicktrav left a comment

Choose a reason for hiding this comment

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

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @herkolategan, @jbowens, and @renatolabs)


pkg/cmd/roachtest/tests/tpcc.go line 966 at r1 (raw file):

Previously, srosenberg (Stan Rosenberg) wrote…

Nit: might be less ambiguous to rename to EncryptionEnabled since EncryptionSupport is (also) a three-valued type.

Good call. Done.

@nicktrav
Copy link
Collaborator Author

nicktrav commented Mar 2, 2023

TFTR!

bors r=srosenberg

@craig
Copy link
Contributor

craig bot commented Mar 2, 2023

Build succeeded:

@craig craig bot merged commit 3399e26 into cockroachdb:master Mar 2, 2023
@nicktrav nicktrav deleted the nickt.tpcc-bench-enc branch March 2, 2023 21:37
nicktrav added a commit to nicktrav/cockroach that referenced this pull request Mar 6, 2023
This is a follow up to cockroachdb#97923, adding the roachperf variants as tests,
rather than benchmarks.

Release note: None.
craig bot pushed a commit that referenced this pull request Mar 7, 2023
98106: roachtest: wire up additional tpcc benchmarks r=srosenberg a=nicktrav

This is a follow up to #97923, adding the roachperf variants as tests, rather than benchmarks.

Release note: None.

Epic: CRDB-20293

Co-authored-by: Nick Travers <[email protected]>
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.

3 participants