Skip to content

Commit

Permalink
roachtest: wire up additional tpcc benchmarks
Browse files Browse the repository at this point in the history
This is a follow up to #97923, adding the roachperf variants as tests,
rather than benchmarks.

Release note: None.
  • Loading branch information
nicktrav committed Mar 6, 2023
1 parent dd57dab commit c774b74
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 c774b74

Please sign in to comment.