@@ -392,7 +392,7 @@ def all_profile_variants:
392392 | .node.shutdown_on_slot_synced = 1200
393393 ) as $for_1200slot
394394 ##
395- ### Definition vocabulary: workload
395+ ### Definition vocabulary: generator workload
396396 ##
397397 | ({}|
398398 .generator.tps = 15
@@ -431,7 +431,6 @@ def all_profile_variants:
431431 , generator :
432432 { inputs_per_tx : 1
433433 , outputs_per_tx : 1
434- , drep_voting : true
435434 }
436435 }) as $voting_base
437436 |
@@ -545,6 +544,25 @@ def all_profile_variants:
545544 | .generator.tx_fee = 940000
546545 ) as $plutus_loop_ripemd
547546 ##
547+ ### Definition vocabulary: custom workloads
548+ ##
549+ |
550+ ({ name : "latency"
551+ , parameters : {}
552+ , entrypoints : {
553+ pre_generator : null
554+ , producers : "workflow_producer"
555+ }
556+ }) as $latency_workload
557+ |
558+ ({ name : "voting"
559+ , parameters : {}
560+ , entrypoints : {
561+ pre_generator : "workflow_generator"
562+ , producers : "workflow_producer"
563+ }
564+ }) as $voting_workload
565+ ##
548566 ### Definition vocabulary: genesis variants
549567 ##
550568 |
@@ -716,9 +734,6 @@ def all_profile_variants:
716734 |
717735 ({ scenario : "tracer-only"
718736 }) as $scenario_tracer_only
719- |
720- ({ scenario : "latency"
721- }) as $scenario_latency
722737 |
723738 ##
724739 ### Definition vocabulary: base variant
@@ -830,11 +845,11 @@ def all_profile_variants:
830845 }
831846 }) as $nomad_perf_plutussecp_base
832847 |
833- ($scenario_latency * $compose_fiftytwo * $dataset_empty * $no_filtering *
848+ ($latency_workload * $compose_fiftytwo * $dataset_empty * $no_filtering *
834849 { desc : "AWS perf class cluster, stop when all latency services stop"
835850 }) as $nomad_perf_latency_base
836851 |
837- ($scenario_latency * $compose_fiftytwo * $dataset_empty * $no_filtering *
852+ ($latency_workload * $compose_fiftytwo * $dataset_empty * $no_filtering *
838853 { desc : "AWS perf-ssd class cluster, stop when all latency services stop"
839854 }) as $nomad_perfssd_latency_base
840855 |
@@ -1325,68 +1340,68 @@ def all_profile_variants:
13251340 # Split creating 500k UTxO, create the transactions (build-raw) but no submit.
13261341 , $valuevoting_nomadperf_template * $dreps_large *
13271342 { name : "value-voting-utxo-volt-nomadperf"
1328- , generator : { drep_voting : true }
1329- , workload : [
1330- { outs_per_split_transaction : 193
1331- , submit_vote : false
1332- }
1333- ]
1343+ , workloads :
1344+ [ $voting_workload * { parameters :
1345+ { outs_per_split_transaction : 193
1346+ , submit_vote : false
1347+ }
1348+ } ]
13341349 }
13351350 # One vote per voting tx version.
13361351 , $valuevoting_nomadperf_template * $dreps_large *
13371352 { name : "value-voting-volt-nomadperf"
1338- , generator : { drep_voting : true }
1339- , workload : [
1340- { outs_per_split_transaction : 193
1341- , submit_vote : true
1342- , votes_per_tx : 1
1343- }
1344- ]
1353+ , workloads :
1354+ [ $voting_workload * { parameters :
1355+ { outs_per_split_transaction : 193
1356+ , submit_vote : true
1357+ , votes_per_tx : 1
1358+ }
1359+ } ]
13451360 }
13461361 # Two votes per voting tx version.
13471362 , $valuevoting_nomadperf_template * $dreps_large *
13481363 { name : "value-voting-double-volt-nomadperf"
1349- , generator : { drep_voting : true }
1350- , workload : [
1351- { outs_per_split_transaction : 193
1352- , submit_vote : true
1353- , votes_per_tx : 2
1354- }
1355- ]
1364+ , workloads :
1365+ [ $voting_workload * { parameters :
1366+ { outs_per_split_transaction : 193
1367+ , submit_vote : true
1368+ , votes_per_tx : 2
1369+ }
1370+ } ]
13561371 }
13571372
13581373## As "plutus" above with an extra voting workload
13591374 # Split creating 500k UTxO, create the transactions (build-raw) but no submit.
13601375 , $plutusvoting_nomadperf_template * $dreps_large *
13611376 { name : "plutus-voting-utxo-volt-nomadperf"
1362- , generator : { drep_voting : true }
1363- , workload : [
1364- { outs_per_split_transaction : 193
1365- , submit_vote : false
1366- }
1367- ]
1377+ , workloads :
1378+ [ $voting_workload * { parameters :
1379+ { outs_per_split_transaction : 193
1380+ , submit_vote : false
1381+ }
1382+ } ]
13681383 }
13691384 # One vote per voting tx version.
13701385 , $plutusvoting_nomadperf_template * $dreps_large *
13711386 { name : "plutus-voting-volt-nomadperf"
1372- , generator : { drep_voting : true }
1373- , workload : [
1374- { outs_per_split_transaction : 193
1375- , submit_vote : true
1376- , votes_per_tx : 1
1377- }
1378- ]
1387+ , workloads :
1388+ [ $voting_workload * { parameters :
1389+ { outs_per_split_transaction : 193
1390+ , submit_vote : true
1391+ , votes_per_tx : 1
1392+ }
1393+ } ]
13791394 }
13801395 # Two votes per voting tx version.
13811396 , $plutusvoting_nomadperf_template * $dreps_large *
13821397 { name : "plutus-voting-double-volt-nomadperf"
1383- , generator : { drep_voting : true }
1384- , workload : [
1385- { outs_per_split_transaction : 193
1386- , submit_vote : true
1387- , votes_per_tx : 2
1388- }
1389- ]
1398+ , workloads :
1399+ [ $voting_workload * { parameters :
1400+ { outs_per_split_transaction : 193
1401+ , submit_vote : true
1402+ , votes_per_tx : 2
1403+ }
1404+ } ]
13901405 }
13911406
13921407## P&T Nomad cluster: 52 nodes, PlutusV3 BLST and Plutus SECP workloads
0 commit comments