@grnsft/if 0.1.9 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.commitlintrc.js +45 -0
- package/.husky/commit-msg +4 -0
- package/.husky/pre-commit +6 -0
- package/CONTRIBUTING.md +82 -109
- package/README.md +16 -12
- package/build/config/config.d.ts +4 -3
- package/build/config/config.js +11 -10
- package/build/config/params.js +17 -17
- package/build/config/strings.d.ts +9 -8
- package/build/config/strings.js +13 -12
- package/build/index.js +19 -69
- package/build/lib/aggregate.d.ts +6 -0
- package/build/lib/aggregate.js +72 -0
- package/build/lib/compute.d.ts +5 -0
- package/build/lib/compute.js +84 -0
- package/build/lib/exhaust.d.ts +6 -0
- package/build/lib/exhaust.js +47 -0
- package/build/lib/initialize.d.ts +6 -0
- package/build/lib/initialize.js +98 -0
- package/build/lib/load.d.ts +6 -0
- package/build/lib/load.js +24 -0
- package/build/lib/parameterize.d.ts +5 -0
- package/build/lib/parameterize.js +49 -0
- package/build/models/export-csv.d.ts +2 -0
- package/build/models/export-csv.js +129 -0
- package/build/models/export-log.d.ts +4 -0
- package/build/models/export-log.js +18 -0
- package/build/models/export-yaml.d.ts +4 -0
- package/build/models/export-yaml.js +24 -0
- package/build/models/group-by.d.ts +11 -0
- package/build/models/group-by.js +56 -0
- package/build/models/index.d.ts +2 -1
- package/build/models/index.js +5 -3
- package/build/models/time-sync.d.ts +2 -57
- package/build/models/time-sync.js +204 -158
- package/build/types/aggregation.js +5 -0
- package/build/types/compute.d.ts +25 -0
- package/build/types/compute.js +3 -0
- package/build/types/exhaust-plugin-interface.d.ts +7 -0
- package/build/types/exhaust-plugin-interface.js +3 -0
- package/build/types/group-by.d.ts +3 -0
- package/build/types/group-by.js +3 -0
- package/build/types/initialize.d.ts +4 -0
- package/build/types/initialize.js +3 -0
- package/build/types/interface.d.ts +8 -0
- package/build/types/interface.js +3 -0
- package/build/types/load.d.ts +7 -0
- package/build/types/load.js +3 -0
- package/build/types/manifest.d.ts +40 -0
- package/build/types/manifest.js +3 -0
- package/build/types/parameters.d.ts +4 -5
- package/build/types/parameters.js +1 -1
- package/build/types/process-args.d.ts +3 -5
- package/build/types/process-args.js +1 -1
- package/build/types/time-sync.d.ts +9 -2
- package/build/types/time-sync.js +1 -1
- package/build/util/aggregation-helper.d.ts +6 -0
- package/build/util/aggregation-helper.js +56 -0
- package/build/util/args.d.ts +6 -3
- package/build/util/args.js +21 -17
- package/build/util/errors.d.ts +1 -1
- package/build/util/errors.js +8 -4
- package/build/util/helpers.d.ts +4 -0
- package/build/util/helpers.js +23 -4
- package/build/util/json.d.ts +4 -0
- package/build/util/json.js +16 -0
- package/build/util/logger.d.ts +5 -0
- package/build/util/logger.js +40 -0
- package/build/util/validations.d.ts +22 -19
- package/build/util/validations.js +41 -34
- package/examples/{impls/test → manifests}/azure-importer.yml +8 -8
- package/examples/manifests/basic-demo.yml +75 -0
- package/examples/manifests/basic.yml +27 -0
- package/examples/manifests/boavizta-pipeline.yml +85 -0
- package/examples/{impls/test → manifests}/boavizta.yml +11 -12
- package/examples/{impls/test → manifests}/ccf.yml +9 -10
- package/examples/manifests/cim.yml +20 -0
- package/examples/manifests/cloud-metadata.yml +41 -0
- package/examples/manifests/co2js.yml +30 -0
- package/examples/manifests/coefficient.yml +23 -0
- package/examples/manifests/csv-export.yml +34 -0
- package/examples/manifests/e-mem.yml +21 -0
- package/examples/{impls/test → manifests}/e-net.yml +9 -8
- package/examples/manifests/generics.yml +71 -0
- package/examples/manifests/group-by.yml +48 -0
- package/examples/manifests/mock-observation.yml +33 -0
- package/examples/manifests/multiply.yml +23 -0
- package/examples/manifests/nesting-demo.yml +89 -0
- package/examples/manifests/nesting.yml +215 -0
- package/examples/manifests/pipeline-demo-1.yml +85 -0
- package/examples/manifests/pipeline-demo-2.yml +149 -0
- package/examples/manifests/pipeline-demo.yml +128 -0
- package/examples/manifests/pipeline-teads-sci.yml +82 -0
- package/examples/manifests/pipeline-with-generics.yml +147 -0
- package/examples/manifests/pipeline-with-mocks.yml +146 -0
- package/examples/{impls/test → manifests}/sci-e.yml +6 -8
- package/examples/manifests/sci-m.yml +23 -0
- package/examples/{impls/test → manifests}/sci-o.yml +10 -10
- package/examples/{impls/test → manifests}/sci.yml +10 -9
- package/examples/manifests/shell.yml +20 -0
- package/examples/manifests/sum.yml +23 -0
- package/examples/{impls/test → manifests}/tdp-finder.yml +6 -7
- package/examples/manifests/teads-aws.yml +22 -0
- package/examples/manifests/teads-curve.yml +20 -0
- package/examples/manifests/time-sync.yml +32 -0
- package/examples/manifests/watt-time.yml +42 -0
- package/jest.config.js +6 -1
- package/package.json +13 -8
- package/src/__tests__/integration/templates/integration.yaml +16 -0
- package/src/models/README.md +6 -6
- package/tsconfig.test.json +1 -1
- package/Makefile +0 -16
- package/build/lib/aggregator.d.ts +0 -7
- package/build/lib/aggregator.js +0 -46
- package/build/lib/models-universe.d.ts +0 -40
- package/build/lib/models-universe.js +0 -145
- package/build/lib/observatory.d.ts +0 -20
- package/build/lib/observatory.js +0 -31
- package/build/lib/supercomputer.d.ts +0 -39
- package/build/lib/supercomputer.js +0 -116
- package/build/types/aggregator.js +0 -5
- package/build/types/impl.d.ts +0 -92
- package/build/types/impl.js +0 -19
- package/build/types/model-interface.d.ts +0 -13
- package/build/types/model-interface.js +0 -3
- package/build/types/models-universe.d.ts +0 -20
- package/build/types/models-universe.js +0 -3
- package/build/types/supercomputer.d.ts +0 -4
- package/build/types/supercomputer.js +0 -3
- package/build/util/param-selectors.d.ts +0 -5
- package/build/util/param-selectors.js +0 -14
- package/examples/impls/case-studies/accenture.yml +0 -155
- package/examples/impls/case-studies/aggregation.yml +0 -97
- package/examples/impls/case-studies/aveva.yaml +0 -48
- package/examples/impls/case-studies/azure-yassine.yaml +0 -67
- package/examples/impls/case-studies/boavizta.yml +0 -26
- package/examples/impls/case-studies/dow_msft.yml +0 -173
- package/examples/impls/case-studies/farm-insights.yaml +0 -35
- package/examples/impls/case-studies/gsf-website.yaml +0 -93
- package/examples/impls/case-studies/msft-eshoppen.yaml +0 -162
- package/examples/impls/case-studies/msft-green-ai.yaml +0 -58
- package/examples/impls/case-studies/ntt-data-on-premise.yaml +0 -201
- package/examples/impls/test/aggregation-test.yml +0 -109
- package/examples/impls/test/aggregation-test2.yml +0 -52
- package/examples/impls/test/cim.yml +0 -19
- package/examples/impls/test/e-mem.yml +0 -19
- package/examples/impls/test/if-demo.yml +0 -59
- package/examples/impls/test/large-impl.yml +0 -257303
- package/examples/impls/test/metadata.yml +0 -21
- package/examples/impls/test/nesting.yml +0 -113
- package/examples/impls/test/new-params-test.yml +0 -35
- package/examples/impls/test/sci-m.yml +0 -24
- package/examples/impls/test/shell.yml +0 -19
- package/examples/impls/test/teads-cpu.yml +0 -18
- package/examples/impls/test/time-sync-avoid-padding.yml +0 -50
- package/examples/impls/test/time-sync.yml +0 -76
- package/examples/ompls/aggregation-test.yml +0 -340
- package/examples/ompls/aggregation-test2.yml +0 -83
- package/examples/ompls/azure-importer.yml +0 -145
- package/examples/ompls/boavizta.yml +0 -32
- package/examples/ompls/ccf.yml +0 -29
- package/examples/ompls/cim.yml +0 -29
- package/examples/ompls/complex-pipeline.yml +0 -105
- package/examples/ompls/e-mem.yml +0 -26
- package/examples/ompls/full-sci.yml +0 -64
- package/examples/ompls/if-demo.yml +0 -517
- package/examples/ompls/metadata.yml +0 -29
- package/examples/ompls/nesting.yml +0 -113
- package/examples/ompls/sci-e.yml +0 -23
- package/examples/ompls/sci-m.yml +0 -33
- package/examples/ompls/sci-o.yml +0 -29
- package/examples/ompls/sci.yml +0 -37
- package/examples/ompls/shell.yml +0 -23
- package/examples/ompls/teads-cpu.yml +0 -24
- package/examples/ompls/time-sync.yml +0 -212
- /package/build/types/{aggregator.d.ts → aggregation.d.ts} +0 -0
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
name: nesting-demo
|
|
2
|
-
description: null
|
|
3
|
-
tags:
|
|
4
|
-
kind: web
|
|
5
|
-
complexity: moderate
|
|
6
|
-
category: on-premise
|
|
7
|
-
params:
|
|
8
|
-
- name: carbon
|
|
9
|
-
description: dummy
|
|
10
|
-
aggregation: sum
|
|
11
|
-
unit: MT
|
|
12
|
-
aggregation:
|
|
13
|
-
type: both
|
|
14
|
-
metrics:
|
|
15
|
-
- cpu-util
|
|
16
|
-
- energy
|
|
17
|
-
initialize:
|
|
18
|
-
models:
|
|
19
|
-
- name: sci-e
|
|
20
|
-
path: '@grnsft/if-models'
|
|
21
|
-
model: SciEModel
|
|
22
|
-
graph:
|
|
23
|
-
children:
|
|
24
|
-
child-0:
|
|
25
|
-
pipeline:
|
|
26
|
-
- sci-e
|
|
27
|
-
children:
|
|
28
|
-
child-0-1:
|
|
29
|
-
pipeline:
|
|
30
|
-
- sci-e
|
|
31
|
-
config: null
|
|
32
|
-
inputs:
|
|
33
|
-
- timestamp: 2023-07-06T00:00
|
|
34
|
-
duration: 10
|
|
35
|
-
cpu-util: 50
|
|
36
|
-
energy-network: 1
|
|
37
|
-
outputs:
|
|
38
|
-
- timestamp: 2023-07-06T00:00
|
|
39
|
-
duration: 10
|
|
40
|
-
cpu-util: 50
|
|
41
|
-
energy-network: 1
|
|
42
|
-
energy: 1
|
|
43
|
-
aggregated-outputs:
|
|
44
|
-
aggregated-cpu-util: 50
|
|
45
|
-
aggregated-energy: 1
|
|
46
|
-
child:0-2:
|
|
47
|
-
children:
|
|
48
|
-
child-0-2-1:
|
|
49
|
-
pipeline:
|
|
50
|
-
- sci-e
|
|
51
|
-
config: null
|
|
52
|
-
inputs:
|
|
53
|
-
- timestamp: 2023-07-06T00:00
|
|
54
|
-
duration: 10
|
|
55
|
-
cpu-util: 50
|
|
56
|
-
energy-network: 1
|
|
57
|
-
outputs:
|
|
58
|
-
- timestamp: 2023-07-06T00:00
|
|
59
|
-
duration: 10
|
|
60
|
-
cpu-util: 50
|
|
61
|
-
energy-network: 1
|
|
62
|
-
energy: 1
|
|
63
|
-
aggregated-outputs:
|
|
64
|
-
aggregated-cpu-util: 50
|
|
65
|
-
aggregated-energy: 1
|
|
66
|
-
child-0-2-2:
|
|
67
|
-
pipeline:
|
|
68
|
-
- sci-e
|
|
69
|
-
config: null
|
|
70
|
-
inputs:
|
|
71
|
-
- timestamp: 2023-07-06T00:00
|
|
72
|
-
duration: 10
|
|
73
|
-
cpu-util: 50
|
|
74
|
-
energy-network: 1
|
|
75
|
-
outputs:
|
|
76
|
-
- timestamp: 2023-07-06T00:00
|
|
77
|
-
duration: 10
|
|
78
|
-
cpu-util: 50
|
|
79
|
-
energy-network: 1
|
|
80
|
-
energy: 1
|
|
81
|
-
aggregated-outputs:
|
|
82
|
-
aggregated-cpu-util: 50
|
|
83
|
-
aggregated-energy: 1
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
name: azure-importer
|
|
2
|
-
description: example impl invoking Azure Importer model
|
|
3
|
-
tags: null
|
|
4
|
-
initialize:
|
|
5
|
-
models:
|
|
6
|
-
- name: azure-importer
|
|
7
|
-
path: "@grnsft/if-unofficial-models"
|
|
8
|
-
model: AzureImporterModel
|
|
9
|
-
kind: plugin
|
|
10
|
-
graph:
|
|
11
|
-
children:
|
|
12
|
-
child:
|
|
13
|
-
pipeline:
|
|
14
|
-
- azure-importer
|
|
15
|
-
config:
|
|
16
|
-
azure-importer: null
|
|
17
|
-
inputs:
|
|
18
|
-
- timestamp: "2023-11-02T10:35:31.820Z"
|
|
19
|
-
duration: 3600
|
|
20
|
-
azure-observation-window: 5 min
|
|
21
|
-
azure-observation-aggregation: average
|
|
22
|
-
azure-subscription-id: 9de7e19f-8a18-4e73-9451-45fc74e7d0d3
|
|
23
|
-
azure-resource-group: vm1_group
|
|
24
|
-
azure-vm-name: vm1
|
|
25
|
-
outputs:
|
|
26
|
-
- timestamp: "2023-11-02T10:35:00.000Z"
|
|
27
|
-
duration: 300
|
|
28
|
-
cloud-vendor: azure
|
|
29
|
-
cpu-util: "0.314"
|
|
30
|
-
mem-availableGB: 0.488636416
|
|
31
|
-
mem-usedGB: 0.5113635839999999
|
|
32
|
-
total-memoryGB: "1"
|
|
33
|
-
mem-util: 51.13635839999999
|
|
34
|
-
location: uksouth
|
|
35
|
-
cloud-instance-type: Standard_B1s
|
|
36
|
-
- timestamp: "2023-11-02T10:40:00.000Z"
|
|
37
|
-
duration: 300
|
|
38
|
-
cloud-vendor: azure
|
|
39
|
-
cpu-util: "0.314"
|
|
40
|
-
mem-availableGB: 0.48978984960000005
|
|
41
|
-
mem-usedGB: 0.5102101504
|
|
42
|
-
total-memoryGB: "1"
|
|
43
|
-
mem-util: 51.021015039999995
|
|
44
|
-
location: uksouth
|
|
45
|
-
cloud-instance-type: Standard_B1s
|
|
46
|
-
- timestamp: "2023-11-02T10:45:00.000Z"
|
|
47
|
-
duration: 300
|
|
48
|
-
cloud-vendor: azure
|
|
49
|
-
cpu-util: "0.301"
|
|
50
|
-
mem-availableGB: 0.490733568
|
|
51
|
-
mem-usedGB: 0.509266432
|
|
52
|
-
total-memoryGB: "1"
|
|
53
|
-
mem-util: 50.9266432
|
|
54
|
-
location: uksouth
|
|
55
|
-
cloud-instance-type: Standard_B1s
|
|
56
|
-
- timestamp: "2023-11-02T10:50:00.000Z"
|
|
57
|
-
duration: 300
|
|
58
|
-
cloud-vendor: azure
|
|
59
|
-
cpu-util: "0.298"
|
|
60
|
-
mem-availableGB: 0.490733568
|
|
61
|
-
mem-usedGB: 0.509266432
|
|
62
|
-
total-memoryGB: "1"
|
|
63
|
-
mem-util: 50.9266432
|
|
64
|
-
location: uksouth
|
|
65
|
-
cloud-instance-type: Standard_B1s
|
|
66
|
-
- timestamp: "2023-11-02T10:55:00.000Z"
|
|
67
|
-
duration: 300
|
|
68
|
-
cloud-vendor: azure
|
|
69
|
-
cpu-util: "0.301"
|
|
70
|
-
mem-availableGB: 0.49178214400000003
|
|
71
|
-
mem-usedGB: 0.5082178559999999
|
|
72
|
-
total-memoryGB: "1"
|
|
73
|
-
mem-util: 50.82178559999999
|
|
74
|
-
location: uksouth
|
|
75
|
-
cloud-instance-type: Standard_B1s
|
|
76
|
-
- timestamp: "2023-11-02T11:00:00.000Z"
|
|
77
|
-
duration: 300
|
|
78
|
-
cloud-vendor: azure
|
|
79
|
-
cpu-util: "0.298"
|
|
80
|
-
mem-availableGB: 0.49178214400000003
|
|
81
|
-
mem-usedGB: 0.5082178559999999
|
|
82
|
-
total-memoryGB: "1"
|
|
83
|
-
mem-util: 50.82178559999999
|
|
84
|
-
location: uksouth
|
|
85
|
-
cloud-instance-type: Standard_B1s
|
|
86
|
-
- timestamp: "2023-11-02T11:05:00.000Z"
|
|
87
|
-
duration: 300
|
|
88
|
-
cloud-vendor: azure
|
|
89
|
-
cpu-util: "0.304"
|
|
90
|
-
mem-availableGB: 0.492306432
|
|
91
|
-
mem-usedGB: 0.507693568
|
|
92
|
-
total-memoryGB: "1"
|
|
93
|
-
mem-util: 50.7693568
|
|
94
|
-
location: uksouth
|
|
95
|
-
cloud-instance-type: Standard_B1s
|
|
96
|
-
- timestamp: "2023-11-02T11:10:00.000Z"
|
|
97
|
-
duration: 300
|
|
98
|
-
cloud-vendor: azure
|
|
99
|
-
cpu-util: "0.3"
|
|
100
|
-
mem-availableGB: 0.49283072000000006
|
|
101
|
-
mem-usedGB: 0.50716928
|
|
102
|
-
total-memoryGB: "1"
|
|
103
|
-
mem-util: 50.716927999999996
|
|
104
|
-
location: uksouth
|
|
105
|
-
cloud-instance-type: Standard_B1s
|
|
106
|
-
- timestamp: "2023-11-02T11:15:00.000Z"
|
|
107
|
-
duration: 300
|
|
108
|
-
cloud-vendor: azure
|
|
109
|
-
cpu-util: "0.636"
|
|
110
|
-
mem-availableGB: 0.5062524928000001
|
|
111
|
-
mem-usedGB: 0.49374750719999994
|
|
112
|
-
total-memoryGB: "1"
|
|
113
|
-
mem-util: 49.374750719999994
|
|
114
|
-
location: uksouth
|
|
115
|
-
cloud-instance-type: Standard_B1s
|
|
116
|
-
- timestamp: "2023-11-02T11:20:00.000Z"
|
|
117
|
-
duration: 300
|
|
118
|
-
cloud-vendor: azure
|
|
119
|
-
cpu-util: "0.29500000000000004"
|
|
120
|
-
mem-availableGB: 0.509607936
|
|
121
|
-
mem-usedGB: 0.490392064
|
|
122
|
-
total-memoryGB: "1"
|
|
123
|
-
mem-util: 49.039206400000005
|
|
124
|
-
location: uksouth
|
|
125
|
-
cloud-instance-type: Standard_B1s
|
|
126
|
-
- timestamp: "2023-11-02T11:25:00.000Z"
|
|
127
|
-
duration: 300
|
|
128
|
-
cloud-vendor: azure
|
|
129
|
-
cpu-util: "0.309"
|
|
130
|
-
mem-availableGB: 0.5106565120000001
|
|
131
|
-
mem-usedGB: 0.48934348799999994
|
|
132
|
-
total-memoryGB: "1"
|
|
133
|
-
mem-util: 48.934348799999995
|
|
134
|
-
location: uksouth
|
|
135
|
-
cloud-instance-type: Standard_B1s
|
|
136
|
-
- timestamp: "2023-11-02T11:30:00.000Z"
|
|
137
|
-
duration: 300
|
|
138
|
-
cloud-vendor: azure
|
|
139
|
-
cpu-util: "0.484"
|
|
140
|
-
mem-availableGB: 0.5106565120000001
|
|
141
|
-
mem-usedGB: 0.48934348799999994
|
|
142
|
-
total-memoryGB: "1"
|
|
143
|
-
mem-util: 48.934348799999995
|
|
144
|
-
location: uksouth
|
|
145
|
-
cloud-instance-type: Standard_B1s
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
name: boavizta
|
|
2
|
-
description: calls boavizta api
|
|
3
|
-
tags: null
|
|
4
|
-
initialize:
|
|
5
|
-
models:
|
|
6
|
-
- name: boavizta-cpu
|
|
7
|
-
path: '@grnsft/if-unofficial-models'
|
|
8
|
-
model: BoaviztaCpuOutputModel
|
|
9
|
-
config:
|
|
10
|
-
allocation: LINEAR
|
|
11
|
-
verbose: true
|
|
12
|
-
graph:
|
|
13
|
-
children:
|
|
14
|
-
child:
|
|
15
|
-
pipeline:
|
|
16
|
-
- boavizta-cpu
|
|
17
|
-
config:
|
|
18
|
-
boavizta-cpu:
|
|
19
|
-
core-units: 24
|
|
20
|
-
physical-processor: Intel® Core™ i7-1185G7
|
|
21
|
-
inputs:
|
|
22
|
-
- timestamp: 2023-07-06T00:00
|
|
23
|
-
duration: 3600
|
|
24
|
-
cpu-util: 18.392
|
|
25
|
-
- timestamp: 2023-08-06T00:00
|
|
26
|
-
duration: 3600
|
|
27
|
-
cpu-util: 16
|
|
28
|
-
outputs:
|
|
29
|
-
- energy-cpu: 0.2777777777777778
|
|
30
|
-
embodied-carbon: 0.8
|
|
31
|
-
- energy-cpu: 0.2777777777777778
|
|
32
|
-
embodied-carbon: 0.8
|
package/examples/ompls/ccf.yml
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
name: ccf-demo
|
|
2
|
-
description: example impl invoking CCF model
|
|
3
|
-
tags:
|
|
4
|
-
initialize:
|
|
5
|
-
models:
|
|
6
|
-
- name: ccf
|
|
7
|
-
model: CloudCarbonMetadataModel
|
|
8
|
-
path: if-models
|
|
9
|
-
graph:
|
|
10
|
-
children:
|
|
11
|
-
child:
|
|
12
|
-
pipeline:
|
|
13
|
-
- ccf
|
|
14
|
-
config:
|
|
15
|
-
ccf:
|
|
16
|
-
vendor: aws
|
|
17
|
-
instance-type: m5n.large
|
|
18
|
-
inputs:
|
|
19
|
-
- timestamp: 2023-07-06T00:00
|
|
20
|
-
duration: 1
|
|
21
|
-
cpu-util: 10
|
|
22
|
-
outputs:
|
|
23
|
-
- timestamp: 2023-07-06T00:00
|
|
24
|
-
duration: 1
|
|
25
|
-
cpu-util: 10
|
|
26
|
-
vendor: aws
|
|
27
|
-
instance-type: m5n.large
|
|
28
|
-
energy: 5.398804976536068e-7
|
|
29
|
-
embodied-carbon: 0.02553890791476408
|
package/examples/ompls/cim.yml
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
name: cloud-instance-metadata
|
|
2
|
-
description: example impl invoking Cloud Instance Metadata model
|
|
3
|
-
tags: null
|
|
4
|
-
initialize:
|
|
5
|
-
models:
|
|
6
|
-
- name: cloud-instance-metadata
|
|
7
|
-
path: "@grnsft/if-models"
|
|
8
|
-
model: CloudInstanceMetadataModel
|
|
9
|
-
graph:
|
|
10
|
-
children:
|
|
11
|
-
child:
|
|
12
|
-
pipeline:
|
|
13
|
-
- cloud-instance-metadata
|
|
14
|
-
config: null
|
|
15
|
-
inputs:
|
|
16
|
-
- timestamp: '2021-01-01T00:00:00Z'
|
|
17
|
-
duration: 5
|
|
18
|
-
cloud-instance-type: m5n.large
|
|
19
|
-
cloud-vendor: aws
|
|
20
|
-
outputs:
|
|
21
|
-
- timestamp: '2021-01-01T00:00:00Z'
|
|
22
|
-
duration: 5
|
|
23
|
-
cloud-instance-type: m5n.large
|
|
24
|
-
cloud-vendor: aws
|
|
25
|
-
vcpus-allocated: 2
|
|
26
|
-
vcpus-total: 96
|
|
27
|
-
memory-available: 8
|
|
28
|
-
physical-processor: Intel® Xeon® Platinum 8259CL
|
|
29
|
-
thermal-design-power: 210
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
name: gsf-demo-pipeline
|
|
2
|
-
description: More complex pipeline example
|
|
3
|
-
tags:
|
|
4
|
-
kind: web
|
|
5
|
-
complexity: moderate
|
|
6
|
-
category: cloud
|
|
7
|
-
initialize:
|
|
8
|
-
models:
|
|
9
|
-
- name: teads-curve
|
|
10
|
-
kind: builtin
|
|
11
|
-
- name: sci-m
|
|
12
|
-
kind: builtin
|
|
13
|
-
- name: sci-o
|
|
14
|
-
kind: builtin
|
|
15
|
-
- name: sci-e
|
|
16
|
-
kind: builtin
|
|
17
|
-
- name: eshoppen-net
|
|
18
|
-
kind: builtin
|
|
19
|
-
- name: eshoppen-mem
|
|
20
|
-
kind: builtin
|
|
21
|
-
- name: eshoppen-cpu
|
|
22
|
-
kind: builtin
|
|
23
|
-
- name: sampler
|
|
24
|
-
kind: shell
|
|
25
|
-
graph:
|
|
26
|
-
children:
|
|
27
|
-
child:
|
|
28
|
-
pipeline:
|
|
29
|
-
- eshoppen-mem
|
|
30
|
-
- eshoppen-cpu
|
|
31
|
-
- eshoppen-net
|
|
32
|
-
- sci-e
|
|
33
|
-
- sci-o
|
|
34
|
-
- sampler
|
|
35
|
-
config:
|
|
36
|
-
teads-curve:
|
|
37
|
-
thermal-design-power: 1
|
|
38
|
-
sampler:
|
|
39
|
-
executable: python3 /usr/local/bin/sampler
|
|
40
|
-
inputs:
|
|
41
|
-
- timestamp: 2023-07-06T00:00
|
|
42
|
-
processor: Intel® Core™ i7-1185G7
|
|
43
|
-
data-in: 1
|
|
44
|
-
data-out: 1
|
|
45
|
-
net-energy: 1
|
|
46
|
-
n-hours: 1
|
|
47
|
-
n-chips: 1
|
|
48
|
-
tdp-mem: 1
|
|
49
|
-
tdp-coeff: 1
|
|
50
|
-
duration: 3600
|
|
51
|
-
thermal-design-power: 28
|
|
52
|
-
cpu-util: 18.392
|
|
53
|
-
grid-carbon-intensity: 951
|
|
54
|
-
- timestamp: 2023-08-06T00:00
|
|
55
|
-
processor: Intel® Core™ i7-1185G7
|
|
56
|
-
data-in: 1
|
|
57
|
-
data-out: 1
|
|
58
|
-
net-energy: 1
|
|
59
|
-
n-hours: 1
|
|
60
|
-
n-chips: 1
|
|
61
|
-
tdp-mem: 1
|
|
62
|
-
tdp-coeff: 1
|
|
63
|
-
duration: 3600
|
|
64
|
-
thermal-design-power: 20
|
|
65
|
-
cpu-util: 16
|
|
66
|
-
grid-carbon-intensity: 800
|
|
67
|
-
outputs:
|
|
68
|
-
- cpu-util: 18.392
|
|
69
|
-
data-in: 1
|
|
70
|
-
data-out: 1
|
|
71
|
-
duration: 3600
|
|
72
|
-
energy: 1
|
|
73
|
-
energy-cpu: 0.001
|
|
74
|
-
energy-memory: 0.001
|
|
75
|
-
energy-network: 0.002
|
|
76
|
-
executable: python3 /usr/local/bin/sampler
|
|
77
|
-
grid-carbon-intensity: 951
|
|
78
|
-
n-chips: 1
|
|
79
|
-
n-hours: 1
|
|
80
|
-
net-energy: 1
|
|
81
|
-
operational-carbon: 3.8040000000000003
|
|
82
|
-
processor: Intel® Core™ i7-1185G7
|
|
83
|
-
tdp-coeff: 1
|
|
84
|
-
tdp-mem: 1
|
|
85
|
-
thermal-design-power: 1
|
|
86
|
-
timestamp: 2023-07-06T00:00
|
|
87
|
-
- cpu-util: 16
|
|
88
|
-
data-in: 1
|
|
89
|
-
data-out: 1
|
|
90
|
-
duration: 3600
|
|
91
|
-
energy: 1
|
|
92
|
-
energy-cpu: 0.001
|
|
93
|
-
energy-memory: 0.001
|
|
94
|
-
energy-network: 0.002
|
|
95
|
-
executable: python3 /usr/local/bin/sampler
|
|
96
|
-
grid-carbon-intensity: 800
|
|
97
|
-
n-chips: 1
|
|
98
|
-
n-hours: 1
|
|
99
|
-
net-energy: 1
|
|
100
|
-
operational-carbon: 3.2
|
|
101
|
-
processor: Intel® Core™ i7-1185G7
|
|
102
|
-
tdp-coeff: 1
|
|
103
|
-
tdp-mem: 1
|
|
104
|
-
thermal-design-power: 1
|
|
105
|
-
timestamp: 2023-08-06T00:00
|
package/examples/ompls/e-mem.yml
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
name: e-mem
|
|
2
|
-
description: null
|
|
3
|
-
tags: null
|
|
4
|
-
initialize:
|
|
5
|
-
models:
|
|
6
|
-
- name: e-mem
|
|
7
|
-
path: "@grnsft/if-models"
|
|
8
|
-
model: EMemModel
|
|
9
|
-
graph:
|
|
10
|
-
children:
|
|
11
|
-
child:
|
|
12
|
-
pipeline:
|
|
13
|
-
- e-mem
|
|
14
|
-
config: null
|
|
15
|
-
inputs:
|
|
16
|
-
- timestamp: 2023-08-06T00:00
|
|
17
|
-
duration: 3600
|
|
18
|
-
mem-util: 40
|
|
19
|
-
total-memoryGB: 1
|
|
20
|
-
outputs:
|
|
21
|
-
- timestamp: 2023-08-06T00:00
|
|
22
|
-
duration: 3600
|
|
23
|
-
mem-util: 40
|
|
24
|
-
total-memoryGB: 1
|
|
25
|
-
coefficient: 0.38
|
|
26
|
-
energy-memory: 0.15200000000000002
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
name: full-sci
|
|
2
|
-
description: example executing a full pipeline from teads --> sci
|
|
3
|
-
tags: null
|
|
4
|
-
initialize:
|
|
5
|
-
models:
|
|
6
|
-
- name: teads-curve
|
|
7
|
-
kind: builtin
|
|
8
|
-
- name: sci-m
|
|
9
|
-
kind: builtin
|
|
10
|
-
- name: sci-o
|
|
11
|
-
kind: builtin
|
|
12
|
-
- name: sci-e
|
|
13
|
-
kind: builtin
|
|
14
|
-
- name: sci
|
|
15
|
-
kind: builtin
|
|
16
|
-
graph:
|
|
17
|
-
children:
|
|
18
|
-
child:
|
|
19
|
-
pipeline:
|
|
20
|
-
- teads-curve
|
|
21
|
-
- sci-m
|
|
22
|
-
- sci-e
|
|
23
|
-
- sci-o
|
|
24
|
-
- sci
|
|
25
|
-
config:
|
|
26
|
-
teads-curve:
|
|
27
|
-
thermal-design-power: 55
|
|
28
|
-
sci-m:
|
|
29
|
-
total-embodied-emissions: 251000
|
|
30
|
-
time-reserved: 3600
|
|
31
|
-
expected-lifespan: 126144000
|
|
32
|
-
resources-reserved: 1
|
|
33
|
-
total-resources: 1
|
|
34
|
-
sci-o:
|
|
35
|
-
grid-carbon-intensity: 1500
|
|
36
|
-
sci:
|
|
37
|
-
functional-unit-duration: 1
|
|
38
|
-
functional-unit-time: minutes
|
|
39
|
-
functional-unit: requests
|
|
40
|
-
inputs:
|
|
41
|
-
- timestamp: 2023-07-06T00:00
|
|
42
|
-
duration: 1
|
|
43
|
-
cpu-util: 55
|
|
44
|
-
requests: 100
|
|
45
|
-
outputs:
|
|
46
|
-
- timestamp: 2023-07-06T00:00
|
|
47
|
-
duration: 1
|
|
48
|
-
cpu-util: 55
|
|
49
|
-
requests: 100
|
|
50
|
-
thermal-design-power: 55
|
|
51
|
-
total-embodied-emissions: 251000
|
|
52
|
-
time-reserved: 3600
|
|
53
|
-
expected-lifespan: 126144000
|
|
54
|
-
resources-reserved: 1
|
|
55
|
-
total-resources: 1
|
|
56
|
-
grid-carbon-intensity: 1500
|
|
57
|
-
functional-unit-duration: 1
|
|
58
|
-
functional-unit-time: minutes
|
|
59
|
-
functional-unit: requests
|
|
60
|
-
energy-cpu: 0.000011936544080284555
|
|
61
|
-
embodied-carbon: 7.16324200913242
|
|
62
|
-
energy: 0.000011936544080284555
|
|
63
|
-
operational-carbon: 0.017904816120426832
|
|
64
|
-
sci: 4.308688095151708
|