Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
98106: roachtest: wire up additional tpcc benchmarks r=srosenberg a=nicktrav

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

Release note: None.

Epic: CRDB-20293

Co-authored-by: Nick Travers <[email protected]>
  • Loading branch information
craig[bot] and nicktrav committed Mar 7, 2023
2 parents 9a9a196 + c774b74 commit b84f10c
Showing 1 changed file with 29 additions and 28 deletions.
57 changes: 29 additions & 28 deletions pkg/cmd/roachtest/tests/tpcc.go
Original file line number Diff line number Diff line change
Expand Up @@ -872,6 +872,35 @@ func registerTPCC(r registry.Registry) {
LoadWarehouses: 2000,
EstimatedMax: 900,
})

// Encryption-At-Rest benchmarks. These are duplicates of variants above,
// using encrypted stores.
registerTPCCBenchSpec(r, tpccBenchSpec{
Nodes: 3,
CPUs: 4,

LoadWarehouses: 1000,
EstimatedMax: gceOrAws(cloud, 750, 900),
EncryptionEnabled: true,
})
registerTPCCBenchSpec(r, tpccBenchSpec{
Nodes: 3,
CPUs: 16,

LoadWarehouses: gceOrAws(cloud, 3500, 3900),
EstimatedMax: gceOrAws(cloud, 2900, 3500),
EncryptionEnabled: true,
})
registerTPCCBenchSpec(r, tpccBenchSpec{
Nodes: 12,
CPUs: 16,

LoadWarehouses: gceOrAws(cloud, 11500, 11500),
EstimatedMax: gceOrAws(cloud, 10000, 10000),
EncryptionEnabled: true,

Tags: []string{`weekly`},
})
}

func gceOrAws(cloud string, gce, aws int) int {
Expand Down Expand Up @@ -1508,34 +1537,6 @@ func registerTPCCBench(r registry.Registry) {
LoadWarehouses: 10000,
EstimatedMax: 8000,
},

// Encryption-At-Rest benchmarks. These are duplicates of variants above,
// using encrypted stores.
{
Nodes: 3,
CPUs: 4,

LoadWarehouses: 1000,
EstimatedMax: 325,
EncryptionEnabled: true,
},
{
Nodes: 3,
CPUs: 16,

LoadWarehouses: 2000,
EstimatedMax: 1300,
EncryptionEnabled: true,
},
{
Nodes: 12,
CPUs: 16,

LoadWarehouses: 10000,
EstimatedMax: 6000,
LoadConfig: singlePartitionedLoadgen,
EncryptionEnabled: true,
},
}

for _, b := range specs {
Expand Down

0 comments on commit b84f10c

Please sign in to comment.