Skip to content

Commit

Permalink
+ info on new models for dow and msft exmpls
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcook1186 committed Sep 9, 2023
1 parent f3f2e3e commit d246ff0
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 34 deletions.
34 changes: 17 additions & 17 deletions impls/dow_msft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ initialize:
kind: builtin
verbose: false
path: ''
- name: e-mem # a model that calculates e for memory utilization (0.38 * mem_util)
- name: e-mem # a model that calculates e for memory utilization (0.38 * mem_util = e_mem in kwH)
kind: builtin
path: ''
- name: sci-e # sums e components (can be e_cpu, e_gpu, e_mem, e_network) - in this case e-mem and e_cpu from teads
Expand Down Expand Up @@ -44,15 +44,15 @@ graph:
children:
tiger-database: # a leaf component
config:
teads-cpu:
teads-cpu: # use tdp to derive e-cpu (kwh)
processor: Intel-xeon-platinum-8380
tdp: 270
e-mem:
mem_allocation: 32 # GB
mem-energy: 0.38 # kwh/GB
e-mem: # mem-util * mem-allocation * mem-energy = e-mem (kwh)
mem-allocation: 32 # GB
mem-energy: 0.38 # wh/GB
sci-m:
te: 1533.12 # kgCO2eq
tir: 3600 # get this value from the duration field
tir: 3600 # s per hour
el: 94608000 # 3 years in seconds
rr: 1
tor: 8
Expand All @@ -64,15 +64,15 @@ graph:
observations:
series:
timestamp: 2023-07-06T00:00
cpu_util: 17.12
ram: 19.375 # % of available
cpu-util: 17.12
mem-util: 19.375 # % of available
tiger-api: # a leaf component
config:
teads-cpu:
processor: Intel-xeon-platinum-8270
tdp: 205
e-mem:
mem_allocation: 1.75 # GB
mem-allocation: 1.75 # GB
mem-energy: 0.38 # kwh/GB
sci-m:
te: 1216.62 # kgCO2eq
Expand All @@ -89,15 +89,15 @@ graph:
series:
timestamp: 2023-08-06T00:00
duration: 1
cpu_util: 25
memory_util: 70 # % of total
cpu-util: 25
mem-util: 70 # % of total
neo4j-database: # a leaf component
config:
teads-cpu:
processor: Intel-xeon-platinum-8270
tdp: 270
e-mem:
mem_allocation: 32 # GB
mem-allocation: 32 # GB
mem-energy: 0.38 # kwh/GB
sci-m:
te: 1216.62 # kgCO2eq
Expand All @@ -114,15 +114,15 @@ graph:
series:
timestamp: 2023-07-06T00:00
duration: 1 # this data is using span, but the model expects duration
cpu_util: 28.05
memory_util: 19.375
cpu-util: 28.05
mem-util: 19.375
neo4j-api: # a leaf component
config:
teads-cpu:
processor: Intel-xeon-platinum-8270
tdp: 205
e-mem:
mem_allocation: 1.75 # GB
mem-allocation: 1.75 # GB
mem-energy: 0.38 # kwh/GB
sci-m:
te: 1216.62 # kgCO2eq
Expand All @@ -139,6 +139,6 @@ graph:
series:
timestamp: 2023-08-06T00:00
duration: 1
cpu_util: 14
memory_util: 65
cpu-util: 14
mem-util: 65

56 changes: 39 additions & 17 deletions impls/msft-eshoppen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,49 +6,67 @@ tags:
category: cloud
initialize:
models:
- name: teads-cpu
kind: builtin
path: ''
verbose: false
- name: e-mem-tdp # calculates e due to memory util ((mem-util * mem-allocated * mem-energy)/1000 = e-mem)
kind: builtin
path: false
verbose: false
- name: sci-e # sums e-cpu and e-mem
kind: builtin
path: ''
verbose: false
- name: sci-m # a model that calculates m from te, tir, el, rr and rtor
kind: builtin
path: ''
- name: sci-c # a model that given e, i and m calculates a carbon value (e * i) + m
verbose: false
- name: sci-o # takes in total e and outputs operational emissions
kind: builtin
path: ''
- name: teads-cpu # a model that returns energy based on the generalised teads power curve and tdp
kind: builtin
path: ''
- name: sci # sums SCI components and converts to f.unit
kind: builtin
path: ''
graph:
front-end:
pipeline:
- teads-cpu # tdp & cpu -> energy
- e-mem-tdp # n-hour * n-chip * tdp-mem * tdp-coeff
- sci-m # duration & config -> embodied
- sci-c # energy & grid-carbon-intensity & embodied -> carbon
- sci #
- sci-e # energy & grid-carbon-intensity & embodied -> carbon
- sci-o # e -> c
- sci # -> f.unit
config:
e-mem-tdp:
n-hour: 1
n-chip: 1
tdp-mem: 12.16
tdp-coeff: 0.12
sci-m:
te: 350 # kgCO2eq
tir: "duration" # get this value from the duration field
el: 126144000 # 4 years in seconds
rr: 1
tor: 1
sci-c:
sci-o:
i: 951 # gCO2e/kWh
teads-curve:
teads-cpu:
processor: Intel® Core™ i7-1185G7
tdp: 28 # W
tdp-coeff: 0.12
sci:
time: hour # signal to convert /s -> /hr
factor: 500 # factor to convert per time to per f.unit ()
observations:
- timestamp: 2023-07-06T00:00 # [KEYWORD] [NO-SUBFIELDS] time when measurement occurred
duration: 3600 # Secs
cpu_util: 18.392
cpu-util: 0
app-server:
pipeline:
pipeline: # note: no e-mem calc applied here
- teads-cpu # tdp & cpu -> energy
- sci-m # duration & config -> embodied
- sci-c # energy & grid-carbon-intensity & embodied -> carbon
- sci-o # energy & grid-carbon-intensity & embodied -> carbon
config:
sci-m:
te: 1205.52 # kgCO2eq
Expand All @@ -58,21 +76,24 @@ graph:
tor: 26 # the original report has a typo, says 16 but actually has 26 cores.
sci-c:
i: 951 # gCO2e/kWh
teads-curve:
teads-cpu:
processor: Intel® Xeon® Platinum 8272CL
tdp: 205
tdp-coeff: 0.32
n-hour: 1
n-chip: 1
sci:
time: hour # signal to convert /s -> /hr
factor: 500 # factor to convert per time to per f.unit ()
observations:
- timestamp: 2023-07-06T00:00 # [KEYWORD] [NO-SUBFIELDS] time when measurement occurred
duration: 3600
cpu_util: 18.392
cpu-util: 18.392
db-server:
pipeline:
pipeline: # no e-mem calc applied here
- teads-cpu # tdp & cpu & duration-> energy
- sci-m # duration & config -> embodied
- sci-c # energy & grid-carbon-intensity & embodied -> carbon
- sci-o # energy & grid-carbon-intensity & embodied -> carbon
config:
sci-m:
te: 1433.12 # kgCO2eq
Expand All @@ -82,14 +103,15 @@ graph:
tor: 24 # total cores
sci-c:
i: 951
teads-curve:
teads-cpu:
processor: Intel® Xeon® Platinum 8160
tdp: 150 # W
tdp-coeff: 0.32
sci:
time: hour # signal to convert /s -> /hr
factor: 500 # factor to convert per time to per f.unit ()
observations:
- timestamp: 2023-07-06T00:00 # [KEYWORD] [NO-SUBFIELDS] time when measurement occurred
duration: 3600
cpu_util: 10
cpu-util: 10

0 comments on commit d246ff0

Please sign in to comment.