Skip to content

Commit 3fd8027

Browse files
committed
adding additional pytpcc test configurations
Change-Id: I457d787a016e985b622a057f9ce75133dcf7484e Reviewed-on: http://review.couchbase.org/c/perfrunner/+/152598 Tested-by: Build Bot <[email protected]> Reviewed-by: <[email protected]>
1 parent 618eb82 commit 3fd8027

7 files changed

+271
-1
lines changed

perfrunner/tests/n1ql.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -803,6 +803,7 @@ def run(self):
803803
self.download_pytpcc()
804804

805805
self.pytpcc_create_collections()
806+
time.sleep(60)
806807

807808
if self.test_config.pytpcc_settings.use_pytpcc_backup:
808809
self.restore_pytpcc()
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
[test_case]
2+
test = perfrunner.tests.n1ql.PytpccBenchmarkTest
3+
4+
[showfast]
5+
title = Tpm-c (NewOrders/min), node 1, warehouse 100 , replica 2, durability persistToMajority, scan_consistency request_plus, vCPU 16, s=1 c=9
6+
component = n1ql
7+
category = pytpcc
8+
sub_category = Plasma
9+
orderby = a1
10+
11+
[cluster]
12+
mem_quota = 20480
13+
index_mem_quota = 20000
14+
initial_nodes = 1
15+
num_buckets = 1
16+
online_cores = 8
17+
bucket_name = default
18+
19+
[index]
20+
statements =
21+
BUILD INDEX ON default:default.tpcc.CUSTOMER(CU_W_ID_D_ID_LAST);
22+
BUILD INDEX ON default:default.tpcc.DISTRICT(DI_ID_W_ID);
23+
BUILD INDEX ON default:default.tpcc.NEW_ORDER(D_ID_W_ID_O_ID);
24+
BUILD INDEX ON default:default.tpcc.ORDERS(OR_DID_WID_ID_CID, OR_CID_DID_WID_ID_CAID_EID);
25+
BUILD INDEX ON default:default.tpcc.ORDER_LINE(OL_O_ID_D_ID_W_ID);
26+
BUILD INDEX ON default:default.tpcc.WAREHOUSE(WH_ID);
27+
28+
[compaction]
29+
db_percentage = 100
30+
31+
[bucket]
32+
replica_number = 0
33+
34+
[secondary]
35+
indexer.settings.storage_mode = plasma
36+
37+
[bucket_extras]
38+
num_writer_threads = disk_io_optimized
39+
num_reader_threads = disk_io_optimized
40+
41+
[py_tpcc]
42+
warehouse = 100
43+
client_threads = 40
44+
duration = 600
45+
multi_query_node = 0
46+
driver = nestcollections
47+
query_port = 8093
48+
kv_port = 8091
49+
run_sql_shell = run_sqlcollections.sh
50+
cbrindex_sql = cbcrindexcollection_replicas.sql
51+
collection_config = cbcrbucketcollection_20GB.sh
52+
durability_level = persistToMajority
53+
scan_consistency=request_plus

tests/n1ql/pytpcc/transactions/n1ql_trans_1node_pytpcc_16core_100warehouse_40clients_scancons_requestplus.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
test = perfrunner.tests.n1ql.PytpccBenchmarkTest
33

44
[showfast]
5-
title = Tpm-c (NewOrders/min), node 1, warehouse 100 , replica 2, durability none, scan_consistency not_bounded, vCPU 16, s=1 c=9
5+
title = Tpm-c (NewOrders/min), node 1, warehouse 100 , replica 2, durability none, scan_consistency request_plus, vCPU 16, s=1 c=9
66
component = n1ql
77
category = pytpcc
88
sub_category = Plasma
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
[test_case]
2+
test = perfrunner.tests.n1ql.PytpccBenchmarkTest
3+
4+
[showfast]
5+
title = Tpm-c (NewOrders/min), nodes 6, warehouse 100 , replica 2, durability majority, scan_consistency request_plus, vCPU 16, s=1 c=9
6+
component = n1ql
7+
category = pytpcc
8+
sub_category = Plasma
9+
orderby = d2
10+
11+
[cluster]
12+
mem_quota = 20480
13+
index_mem_quota = 20000
14+
initial_nodes = 6
15+
num_buckets = 1
16+
online_cores = 8
17+
bucket_name = default
18+
19+
[compaction]
20+
db_percentage = 100
21+
22+
[bucket]
23+
replica_number = 2
24+
25+
[secondary]
26+
indexer.settings.storage_mode = plasma
27+
28+
[index]
29+
statements =
30+
BUILD INDEX ON default:default.tpcc.CUSTOMER(CU_W_ID_D_ID_LAST);
31+
BUILD INDEX ON default:default.tpcc.DISTRICT(DI_ID_W_ID);
32+
BUILD INDEX ON default:default.tpcc.NEW_ORDER(D_ID_W_ID_O_ID);
33+
BUILD INDEX ON default:default.tpcc.ORDERS(OR_DID_WID_ID_CID, OR_CID_DID_WID_ID_CAID_EID);
34+
BUILD INDEX ON default:default.tpcc.ORDER_LINE(OL_O_ID_D_ID_W_ID);
35+
BUILD INDEX ON default:default.tpcc.WAREHOUSE(WH_ID);
36+
37+
[bucket_extras]
38+
num_writer_threads = disk_io_optimized
39+
num_reader_threads = disk_io_optimized
40+
41+
[py_tpcc]
42+
warehouse = 100
43+
client_threads = 240
44+
duration = 600
45+
multi_query_node = 1
46+
driver = nestcollections
47+
query_port = 8093
48+
kv_port = 8091
49+
run_sql_shell = run_sqlcollections.sh
50+
cbrindex_sql = cbcrindexcollection_replicas.sql
51+
collection_config = cbcrbucketcollection_20GB_bucket_replica2.sh
52+
durability_level = majority
53+
index_replicas = 2
54+
scan_consistency=request_plus
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
[test_case]
2+
test = perfrunner.tests.n1ql.PytpccBenchmarkTest
3+
4+
[showfast]
5+
title = Tpm-c (NewOrders/min), nodes 6, warehouse 100 , replica 2, durability persistToMajority, scan_consistency request_plus, vCPU 16, s=1 c=9
6+
component = n1ql
7+
category = pytpcc
8+
sub_category = Plasma
9+
orderby = d2
10+
11+
[cluster]
12+
mem_quota = 20480
13+
index_mem_quota = 20000
14+
initial_nodes = 6
15+
num_buckets = 1
16+
online_cores = 8
17+
bucket_name = default
18+
19+
[compaction]
20+
db_percentage = 100
21+
22+
[bucket]
23+
replica_number = 2
24+
25+
[secondary]
26+
indexer.settings.storage_mode = plasma
27+
28+
[index]
29+
statements =
30+
BUILD INDEX ON default:default.tpcc.CUSTOMER(CU_W_ID_D_ID_LAST);
31+
BUILD INDEX ON default:default.tpcc.DISTRICT(DI_ID_W_ID);
32+
BUILD INDEX ON default:default.tpcc.NEW_ORDER(D_ID_W_ID_O_ID);
33+
BUILD INDEX ON default:default.tpcc.ORDERS(OR_DID_WID_ID_CID, OR_CID_DID_WID_ID_CAID_EID);
34+
BUILD INDEX ON default:default.tpcc.ORDER_LINE(OL_O_ID_D_ID_W_ID);
35+
BUILD INDEX ON default:default.tpcc.WAREHOUSE(WH_ID);
36+
37+
[bucket_extras]
38+
num_writer_threads = disk_io_optimized
39+
num_reader_threads = disk_io_optimized
40+
41+
[py_tpcc]
42+
warehouse = 100
43+
client_threads = 240
44+
duration = 600
45+
multi_query_node = 1
46+
driver = nestcollections
47+
query_port = 8093
48+
kv_port = 8091
49+
run_sql_shell = run_sqlcollections.sh
50+
cbrindex_sql = cbcrindexcollection_replicas.sql
51+
collection_config = cbcrbucketcollection_20GB_bucket_replica2.sh
52+
durability_level = persistToMajority
53+
index_replicas = 2
54+
scan_consistency=request_plus
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
[test_case]
2+
test = perfrunner.tests.n1ql.PytpccBenchmarkTest
3+
4+
[showfast]
5+
title = Tpm-c (NewOrders/min), nodes 8, warehouse 100 , replica 2, durability majority, scan_consistency request_plus, vCPU 16, s=1 c=9
6+
component = n1ql
7+
category = pytpcc
8+
sub_category = Plasma
9+
orderby = d2
10+
11+
[cluster]
12+
mem_quota = 20480
13+
index_mem_quota = 20000
14+
initial_nodes = 8
15+
num_buckets = 1
16+
online_cores = 8
17+
bucket_name = default
18+
19+
[compaction]
20+
db_percentage = 100
21+
22+
[bucket]
23+
replica_number = 2
24+
25+
[secondary]
26+
indexer.settings.storage_mode = plasma
27+
28+
[index]
29+
statements =
30+
BUILD INDEX ON default:default.tpcc.CUSTOMER(CU_W_ID_D_ID_LAST);
31+
BUILD INDEX ON default:default.tpcc.DISTRICT(DI_ID_W_ID);
32+
BUILD INDEX ON default:default.tpcc.NEW_ORDER(D_ID_W_ID_O_ID);
33+
BUILD INDEX ON default:default.tpcc.ORDERS(OR_DID_WID_ID_CID, OR_CID_DID_WID_ID_CAID_EID);
34+
BUILD INDEX ON default:default.tpcc.ORDER_LINE(OL_O_ID_D_ID_W_ID);
35+
BUILD INDEX ON default:default.tpcc.WAREHOUSE(WH_ID);
36+
37+
[bucket_extras]
38+
num_writer_threads = disk_io_optimized
39+
num_reader_threads = disk_io_optimized
40+
41+
[py_tpcc]
42+
warehouse = 100
43+
client_threads = 320
44+
duration = 600
45+
multi_query_node = 1
46+
driver = nestcollections
47+
query_port = 8093
48+
kv_port = 8091
49+
run_sql_shell = run_sqlcollections.sh
50+
cbrindex_sql = cbcrindexcollection_replicas.sql
51+
collection_config = cbcrbucketcollection_20GB_bucket_replica2.sh
52+
durability_level = majority
53+
index_replicas = 2
54+
scan_consistency=request_plus
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
[test_case]
2+
test = perfrunner.tests.n1ql.PytpccBenchmarkTest
3+
4+
[showfast]
5+
title = Tpm-c (NewOrders/min), nodes 8, warehouse 100 , replica 2, durability persistToMajority, scan_consistency request_plus, vCPU 16, s=1 c=9
6+
component = n1ql
7+
category = pytpcc
8+
sub_category = Plasma
9+
orderby = d2
10+
11+
[cluster]
12+
mem_quota = 20480
13+
index_mem_quota = 20000
14+
initial_nodes = 8
15+
num_buckets = 1
16+
online_cores = 8
17+
bucket_name = default
18+
19+
[compaction]
20+
db_percentage = 100
21+
22+
[bucket]
23+
replica_number = 2
24+
25+
[secondary]
26+
indexer.settings.storage_mode = plasma
27+
28+
[index]
29+
statements =
30+
BUILD INDEX ON default:default.tpcc.CUSTOMER(CU_W_ID_D_ID_LAST);
31+
BUILD INDEX ON default:default.tpcc.DISTRICT(DI_ID_W_ID);
32+
BUILD INDEX ON default:default.tpcc.NEW_ORDER(D_ID_W_ID_O_ID);
33+
BUILD INDEX ON default:default.tpcc.ORDERS(OR_DID_WID_ID_CID, OR_CID_DID_WID_ID_CAID_EID);
34+
BUILD INDEX ON default:default.tpcc.ORDER_LINE(OL_O_ID_D_ID_W_ID);
35+
BUILD INDEX ON default:default.tpcc.WAREHOUSE(WH_ID);
36+
37+
[bucket_extras]
38+
num_writer_threads = disk_io_optimized
39+
num_reader_threads = disk_io_optimized
40+
41+
[py_tpcc]
42+
warehouse = 100
43+
client_threads = 320
44+
duration = 600
45+
multi_query_node = 1
46+
driver = nestcollections
47+
query_port = 8093
48+
kv_port = 8091
49+
run_sql_shell = run_sqlcollections.sh
50+
cbrindex_sql = cbcrindexcollection_replicas.sql
51+
collection_config = cbcrbucketcollection_20GB_bucket_replica2.sh
52+
durability_level = persistToMajority
53+
index_replicas = 2
54+
scan_consistency=request_plus

0 commit comments

Comments
 (0)