Skip to content

Commit

Permalink
workbench: add RTS parametrization profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
mgmeier committed Jun 30, 2023
1 parent 79a67ea commit 1a9dd44
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ PROFILES_MODEL += model-value-test
PROFILES_10 := 10 10-p2p 10-plutus 10-notracer
PROFILES_FORGE_STRESS := forge-stress forge-stress-p2p forge-stress-plutus forge-stress-plutus-solo forge-stress-notracer forge-stress-large forge-stress-solo forge-stress-light
PROFILES_FORGE_STRESS_PRE := forge-stress-pre forge-stress-pre-plutus forge-stress-pre-notracer forge-stress-pre-solo
PROFILES_FORGE_STRESS_RTS := forge-stress-pre-rtsA4m forge-stress-pre-rtsA64m forge-stress-pre-rtsN3 forge-stress-pre-rtsA4mN3 forge-stress-pre-rtsA64mN3
PROFILES_CHAINSYNC := chainsync-early-byron chainsync-early-byron-notracer chainsync-early-byron-oldtracing
PROFILES_CHAINSYNC += chainsync-early-alonzo chainsync-early-alonzo-notracer chainsync-early-alonzo-oldtracing chainsync-early-alonzo-p2p
PROFILES_VENDOR := dish dish-plutus dish-10M dish-10M-plutus
Expand All @@ -108,6 +109,7 @@ LOCAL_PROFILES += $(PROFILES_MODEL)
LOCAL_PROFILES += $(PROFILES_10)
LOCAL_PROFILES += $(PROFILES_FORGE_STRESS)
LOCAL_PROFILES += $(PROFILES_FORGE_STRESS_PRE)
LOCAL_PROFILES += $(PROFILES_FORGE_STRESS_RTS)
LOCAL_PROFILES += $(PROFILES_CHAINSYNC)
LOCAL_PROFILES += $(PROFILES_VENDOR)
CLOUD_PROFILES += $(PROFILES_CW_QA) $(PROFILES_CW_PERF)
Expand Down
52 changes: 51 additions & 1 deletion nix/workbench/profile/prof1-variants.jq
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ def all_profile_variants:
({ extra_desc: "with legacy iohk-monitoring"
, suffix: "iomf"
}|
.node.tracing_backend = "iohk-monitoring"
.node.tracing_backend = "iohk-monitoring"
) as $old_tracing
|
({ extra_desc: "with P2P networking"
Expand All @@ -398,6 +398,39 @@ def all_profile_variants:
) as $p2p
|
##
### Definition vocabulary: RTS config variants
##
({ extra_desc: "RTSflags A4m"
, suffix: "rtsA4m"
}|
.node.rts_flags_override = ["-A4m"]
) as $rts_A4m
|
({ extra_desc: "RTSflags A64m"
, suffix: "rtsA64m"
}|
.node.rts_flags_override = ["-A64m"]
) as $rts_A64m
|
({ extra_desc: "RTSflags N3"
, suffix: "rtsN3"
}|
.node.rts_flags_override = ["-N3"]
) as $rts_N3
|
({ extra_desc: "RTSflags A4m N3"
, suffix: "rtsA4mN3"
}|
.node.rts_flags_override = ["-A4m", "-N3"]
) as $rts_A4mN3
|
({ extra_desc: "RTSflags A64m N3"
, suffix: "rtsA64mN3"
}|
.node.rts_flags_override = ["-A64m", "-N3"]
) as $rts_A64mN3
|
##
### Definition vocabulary: scenario
##
($mainnet_timescale * $chainsync_cluster * $no_filtering * $without_tracer *
Expand Down Expand Up @@ -815,6 +848,23 @@ def all_profile_variants:
{ name: "forge-stress-pre-notracer"
}

## Large dataset, small cluster (3 nodes), variants for RTS parametrization
, $forge_stress_pre_base * $rts_A4m *
{ name: "forge-stress-pre-rtsA4m"
}
, $forge_stress_pre_base * $rts_A64m *
{ name: "forge-stress-pre-rtsA64m"
}
, $forge_stress_pre_base * $rts_N3 *
{ name: "forge-stress-pre-rtsN3"
}
, $forge_stress_pre_base * $rts_A4mN3 *
{ name: "forge-stress-pre-rtsA4mN3"
}
, $forge_stress_pre_base * $rts_A64mN3 *
{ name: "forge-stress-pre-rtsA64mN3"
}

, $scenario_chainsync * $chaindb_early_byron *
{ name: "chainsync-early-byron"
}
Expand Down

0 comments on commit 1a9dd44

Please sign in to comment.