Skip to content

Commit 08cbfbc

Browse files
committed
wb | profile cluster property only in cloud profiles
1 parent 111e107 commit 08cbfbc

File tree

26 files changed

+227
-3863
lines changed

26 files changed

+227
-3863
lines changed

bench/cardano-profile/data/all-profiles-coay.json

+158-3,569
Large diffs are not rendered by default.

bench/cardano-profile/data/test/chainsync-early-alonzo-coay/profile.json

+2-33
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@
283283
"heap_limit": null,
284284
"shutdown_on_slot_synced": 38901589,
285285
"shutdown_on_block_synced": null,
286+
"ssd_directory": null,
286287
"tracing_backend": "trace-dispatcher",
287288
"tracer": false,
288289
"utxo_lmdb": false,
@@ -306,39 +307,7 @@
306307
"ekg": false,
307308
"withresources": false
308309
},
309-
"cluster": {
310-
"nomad": {
311-
"namespace": "default",
312-
"class": "",
313-
"resources": {
314-
"producer": {
315-
"cores": 2,
316-
"memory": 15000,
317-
"memory_max": 16000
318-
},
319-
"explorer": {
320-
"cores": 2,
321-
"memory": 15000,
322-
"memory_max": 16000
323-
}
324-
},
325-
"host_volumes": null,
326-
"fetch_logs_ssh": false
327-
},
328-
"aws": {
329-
"instance_type": {
330-
"producer": "c5.2xlarge",
331-
"explorer": "m5.4xlarge"
332-
},
333-
"use_public_routing": false
334-
},
335-
"minimun_storage": {
336-
"producer": 12582912,
337-
"explorer": 14155776
338-
},
339-
"keep_running": false,
340-
"ssd_directory": null
341-
},
310+
"cluster": null,
342311
"extra_desc": "without cardano-tracer",
343312
"suffix": "notrc",
344313
"desc": "Mainnet chain syncing benchmark",

bench/cardano-profile/data/test/chainsync-early-byron-coay/profile.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@
283283
"heap_limit": null,
284284
"shutdown_on_slot_synced": 237599,
285285
"shutdown_on_block_synced": null,
286+
"ssd_directory": null,
286287
"tracing_backend": "trace-dispatcher",
287288
"tracer": false,
288289
"utxo_lmdb": false,
@@ -336,8 +337,7 @@
336337
"producer": 12582912,
337338
"explorer": 14155776
338339
},
339-
"keep_running": false,
340-
"ssd_directory": null
340+
"keep_running": false
341341
},
342342
"extra_desc": "without cardano-tracer",
343343
"suffix": "notrc",

bench/cardano-profile/data/test/ci-test-bage.json

+1-33
Original file line numberDiff line numberDiff line change
@@ -313,39 +313,7 @@
313313
"ekg": false,
314314
"withresources": false
315315
},
316-
"cluster": {
317-
"nomad": {
318-
"namespace": "default",
319-
"class": "",
320-
"resources": {
321-
"producer": {
322-
"cores": 2,
323-
"memory": 15000,
324-
"memory_max": 16000
325-
},
326-
"explorer": {
327-
"cores": 2,
328-
"memory": 15000,
329-
"memory_max": 16000
330-
}
331-
},
332-
"host_volumes": null,
333-
"fetch_logs_ssh": false
334-
},
335-
"aws": {
336-
"instance_type": {
337-
"producer": "c5.2xlarge",
338-
"explorer": "m5.4xlarge"
339-
},
340-
"use_public_routing": false
341-
},
342-
"minimun_storage": {
343-
"producer": 12582912,
344-
"explorer": 14155776
345-
},
346-
"keep_running": false,
347-
"ssd_directory": null
348-
},
316+
"cluster": null,
349317
"desc": "Miniature dataset, CI-friendly duration, test scale",
350318
"name": "ci-test-bage",
351319
"overlay": {},

bench/cardano-profile/data/test/ci-test-coay/profile.json

+2-33
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@
282282
"heap_limit": null,
283283
"shutdown_on_slot_synced": null,
284284
"shutdown_on_block_synced": 3,
285+
"ssd_directory": null,
285286
"tracing_backend": "trace-dispatcher",
286287
"tracer": true,
287288
"utxo_lmdb": false,
@@ -313,39 +314,7 @@
313314
"ekg": false,
314315
"withresources": false
315316
},
316-
"cluster": {
317-
"nomad": {
318-
"namespace": "default",
319-
"class": "",
320-
"resources": {
321-
"producer": {
322-
"cores": 2,
323-
"memory": 15000,
324-
"memory_max": 16000
325-
},
326-
"explorer": {
327-
"cores": 2,
328-
"memory": 15000,
329-
"memory_max": 16000
330-
}
331-
},
332-
"host_volumes": null,
333-
"fetch_logs_ssh": false
334-
},
335-
"aws": {
336-
"instance_type": {
337-
"producer": "c5.2xlarge",
338-
"explorer": "m5.4xlarge"
339-
},
340-
"use_public_routing": false
341-
},
342-
"minimun_storage": {
343-
"producer": 12582912,
344-
"explorer": 14155776
345-
},
346-
"keep_running": false,
347-
"ssd_directory": null
348-
},
317+
"cluster": null,
349318
"desc": "Miniature dataset, CI-friendly duration, test scale",
350319
"name": "ci-test-coay",
351320
"overlay": {},

bench/cardano-profile/data/test/ci-test-dense10-coay/profile.json

+2-33
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@
282282
"heap_limit": null,
283283
"shutdown_on_slot_synced": null,
284284
"shutdown_on_block_synced": 3,
285+
"ssd_directory": null,
285286
"tracing_backend": "trace-dispatcher",
286287
"tracer": true,
287288
"utxo_lmdb": false,
@@ -313,39 +314,7 @@
313314
"ekg": false,
314315
"withresources": false
315316
},
316-
"cluster": {
317-
"nomad": {
318-
"namespace": "default",
319-
"class": "",
320-
"resources": {
321-
"producer": {
322-
"cores": 2,
323-
"memory": 15000,
324-
"memory_max": 16000
325-
},
326-
"explorer": {
327-
"cores": 2,
328-
"memory": 15000,
329-
"memory_max": 16000
330-
}
331-
},
332-
"host_volumes": null,
333-
"fetch_logs_ssh": false
334-
},
335-
"aws": {
336-
"instance_type": {
337-
"producer": "c5.2xlarge",
338-
"explorer": "m5.4xlarge"
339-
},
340-
"use_public_routing": false
341-
},
342-
"minimun_storage": {
343-
"producer": 12582912,
344-
"explorer": 14155776
345-
},
346-
"keep_running": false,
347-
"ssd_directory": null
348-
},
317+
"cluster": null,
349318
"desc": "Miniature dataset, CI-friendly duration, test scale",
350319
"name": "ci-test-dense10-coay",
351320
"overlay": {},

bench/cardano-profile/data/test/default-coay/profile.json

+2-33
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@
282282
"heap_limit": null,
283283
"shutdown_on_slot_synced": null,
284284
"shutdown_on_block_synced": null,
285+
"ssd_directory": null,
285286
"tracing_backend": "trace-dispatcher",
286287
"tracer": true,
287288
"utxo_lmdb": false,
@@ -315,39 +316,7 @@
315316
"ekg": false,
316317
"withresources": false
317318
},
318-
"cluster": {
319-
"nomad": {
320-
"namespace": "default",
321-
"class": "",
322-
"resources": {
323-
"producer": {
324-
"cores": 2,
325-
"memory": 15000,
326-
"memory_max": 16000
327-
},
328-
"explorer": {
329-
"cores": 2,
330-
"memory": 15000,
331-
"memory_max": 16000
332-
}
333-
},
334-
"host_volumes": null,
335-
"fetch_logs_ssh": false
336-
},
337-
"aws": {
338-
"instance_type": {
339-
"producer": "c5.2xlarge",
340-
"explorer": "m5.4xlarge"
341-
},
342-
"use_public_routing": false
343-
},
344-
"minimun_storage": {
345-
"producer": 12582912,
346-
"explorer": 14155776
347-
},
348-
"keep_running": false,
349-
"ssd_directory": null
350-
},
319+
"cluster": null,
351320
"name": "default-coay",
352321
"desc": "Default, as per nix/workbench/profile/prof0-defaults.jq",
353322
"overlay": {},

bench/cardano-profile/data/test/fast-nomadperf-coay/profile.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,7 @@
477477
"heap_limit": null,
478478
"shutdown_on_slot_synced": null,
479479
"shutdown_on_block_synced": 1,
480+
"ssd_directory": null,
480481
"tracing_backend": "trace-dispatcher",
481482
"tracer": true,
482483
"utxo_lmdb": false,
@@ -540,8 +541,7 @@
540541
"producer": 12582912,
541542
"explorer": 14155776
542543
},
543-
"keep_running": true,
544-
"ssd_directory": null
544+
"keep_running": true
545545
},
546546
"desc": "Stop as soon as we've seen a single block",
547547
"extra_desc": "with P2P networking",

bench/cardano-profile/src/Cardano/Benchmarking/Profile/Builtin/Empty.hs

-6
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ profilesNoEraEmpty = map baseNoDataset
114114
let fast =
115115
P.empty & V.datasetEmpty . genesis . fastDuration
116116
. P.uniCircle . P.loopback
117-
. V.clusterDefault -- TODO: "cluster" should be "null" here.
118117
fast1 = fast & V.hosts 1
119118
fast2 = fast & V.hosts 2
120119
in [
@@ -134,7 +133,6 @@ profilesNoEraEmpty = map baseNoDataset
134133
let ciTest =
135134
P.empty & V.datasetEmpty . genesis . ciTestDuration
136135
. P.uniCircle . V.hosts 2 . P.loopback
137-
. V.clusterDefault -- TODO: "cluster" should be "null" here.
138136
in [
139137
-- Local
140138
ciTest & P.name "ci-test" . V.valueLocal . P.traceForwardingOn . P.newTracing . P.p2pOff
@@ -152,7 +150,6 @@ profilesNoEraEmpty = map baseNoDataset
152150
P.empty & V.datasetEmpty . V.genesisVariantPreVoltaire . ciTestDuration
153151
. P.uniCircle . V.hosts 2 . P.loopback
154152
. P.analysisSizeSmall
155-
. V.clusterDefault -- TODO: "cluster" should be "null" here.
156153
in [
157154
-- intricacies of fee calculation..., default fee works for ci-test-plutus and ci-bench-plutus
158155
ciTestHydra & P.name "ci-test-hydra" . P.txFeeOverwrite 1380000 . V.plutusLoop . P.traceForwardingOn . P.newTracing . P.p2pOn . P.blocksize64k
@@ -166,7 +163,6 @@ profilesNoEraEmpty = map baseNoDataset
166163
-- TODO: "default-*" uses 6 nodes and `uniCircle`.
167164
. P.torus . V.hosts 6 . P.loopback
168165
. P.tracerWithresources
169-
. V.clusterDefault -- TODO: "cluster" should be "null" here.
170166
bench = trace & traceBenchDuration
171167
full = trace & traceFullDuration
172168
in [
@@ -190,7 +186,6 @@ profilesNoEraEmpty = map baseNoDataset
190186
-- TODO: The only one without 0 delegators.
191187
-- Fix and remove `baseNoDataset` (Same `base` for all).
192188
. P.utxo 0 . P.delegators 6 . P.dreps 0
193-
. V.clusterDefault -- TODO: "cluster" should be "null" here.
194189
value = noCliStop & V.genesisVariant300
195190
-- TODO: "fast-plutus" and "ci-test-plutus" are using `genesisVariant300`.
196191
plutus = noCliStop & V.genesisVariantPreVoltaire
@@ -214,7 +209,6 @@ profilesNoEraEmpty = map baseNoDataset
214209
let ep =
215210
P.empty & V.datasetEmpty . genesis . epochTransitionDuration
216211
. P.uniCircle . V.hosts 2 . P.loopback
217-
. V.clusterDefault -- TODO: "cluster" should be "null" here.
218212
in [
219213
ep & P.name "epoch-transition" . V.valueLocal . P.traceForwardingOn . P.newTracing . P.p2pOff
220214
]

bench/cardano-profile/src/Cardano/Benchmarking/Profile/Builtin/ForgeStress.hs

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ base =
2929
. P.p2pOff . P.newTracing
3030
. P.initCooldown 5
3131
. P.analysisStandard
32-
. V.clusterDefault -- TODO: "cluster" should be "null" here.
3332

3433
-- Helpers by timescale:
3534

bench/cardano-profile/src/Cardano/Benchmarking/Profile/Builtin/K3.hs

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ profilesNoEraK3 =
3535
. P.p2pOff
3636
. P.traceForwardingOn . P.newTracing
3737
. P.analysisStandard . P.analysisUnitary
38-
. V.clusterDefault -- TODO: "cluster" should be "null" here.
3938
in [
4039
k3 & P.name "k3-3ep-5kTx-10000kU-1300kD-64kbs-fixed-loaded" . V.valueBase . P.slotDuration 0.2 . P.tps 12
4140
, k3 & P.name "k3-3ep-9kTx-10000kU-1300kD-64kbs-5tps-fixed-loaded" . V.valueBase . P.slotDuration 1 . P.tps 5

bench/cardano-profile/src/Cardano/Benchmarking/Profile/Builtin/Legacy/Dense.hs

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ profilesNoEraDense =
2929
. V.genesisVariant300
3030
. E.ciTestDuration
3131
. P.cBlockMinimumAdoptions 9
32-
. V.clusterDefault -- TODO: "cluster" should be "null" here.
3332
in [
3433
ciTestDense & P.name "ci-test-dense10" . V.valueLocal . P.traceForwardingOn . P.newTracing . P.p2pOff
3534
]

bench/cardano-profile/src/Cardano/Benchmarking/Profile/Builtin/Miniature.hs

-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ profilesNoEraMiniature =
6464
. P.desc "Miniature dataset, CI-friendly duration, bench scale"
6565
. P.uniCircle . P.loopback
6666
. benchDuration
67-
. V.clusterDefault -- TODO: "cluster" should be "null" here.
6867
-- Helpers by size:
6968
ciBench02 = ciBench & V.hosts 2
7069
ciBench10 = ciBench & V.hosts 10
@@ -114,7 +113,6 @@ profilesNoEraMiniature =
114113
. P.dreps 0
115114
. P.p2pOn
116115
. P.analysisSizeFull . P.analysisUnitary
117-
. V.clusterDefault -- TODO: "cluster" should be "null" here.
118116
in [
119117
dense & P.name "6-dense" . V.valueCloud . duration30 . P.traceForwardingOn . P.newTracing
120118
, dense & P.name "6-dense-rtsprof" . V.valueCloud . duration30 . P.traceForwardingOn . P.newTracing . P.rtsHeapProf . P.rtsEventlogged

bench/cardano-profile/src/Cardano/Benchmarking/Profile/Builtin/Model.hs

-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ profilesNoEraModel =
4040
. V.fundsDouble
4141
. P.traceForwardingOn . P.newTracing
4242
. P.analysisStandard . P.analysisEpoch3Plus
43-
. V.clusterDefault -- TODO: "cluster" should be "null" here.
4443
. P.desc "Status-quo dataset, 7 epochs"
4544
secp = V.plutusDoubleSaturation . V.plutusTypeECDSA . P.analysisSizeModerate
4645
value = V.valueBase . P.tps 9 -- "value" with the Plutus `txFee`.

bench/cardano-profile/src/Cardano/Benchmarking/Profile/Builtin/Plutuscall.hs

-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ profilesNoEraPlutuscall =
4343
. P.p2pOff
4444
. P.traceForwardingOn . P.newTracing
4545
. P.analysisStandard
46-
. V.clusterDefault -- TODO: "cluster" should be "null" here.
4746
. P.desc "Small dataset, honest 15 epochs duration"
4847

4948
loop = plutusCall & V.plutusTypeLoop . V.plutusDoubleSaturation . P.analysisSizeModerate . P.analysisEpoch3Plus

bench/cardano-profile/src/Cardano/Benchmarking/Profile/Builtin/Scenario/Chainsync.hs

-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ profilesNoEraChainsync =
3434
-- Remove and use `V.datasetEmpty` in module "Scenario.Base".
3535
. P.delegators 0
3636
. P.analysisPerformance
37-
. V.clusterDefault -- TODO: "cluster" should be "null" here.
3837
. P.preset "mainnet"
3938
. P.desc "Mainnet chain syncing benchmark"
4039
{--

bench/cardano-profile/src/Cardano/Benchmarking/Profile/Builtin/Scenario/Idle.hs

-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ profilesNoEraIdle =
3434
-- Remove and use `V.datasetEmpty` in module "Scenario.Base".
3535
. P.delegators 6
3636
. P.analysisUnitary
37-
. V.clusterDefault -- TODO: "cluster" should be "null" here.
3837
updateQuorum = P.shelley (KeyMap.insert "updateQuorum" (Aeson.Number 1))
3938
in [
4039
idle & P.name "devops" . V.timescaleDevops . P.extraFutureOffset 10 . updateQuorum . P.traceForwardingOn . P.newTracing . P.p2pOff . P.analysisOff

0 commit comments

Comments
 (0)