From d246ff0d1f8d0d238d87c151accda1b62077dcb3 Mon Sep 17 00:00:00 2001 From: jmc Date: Sat, 9 Sep 2023 20:31:15 +0100 Subject: [PATCH] + info on new models for dow and msft exmpls --- impls/dow_msft.yaml | 34 ++++++++++++------------ impls/msft-eshoppen.yaml | 56 ++++++++++++++++++++++++++++------------ 2 files changed, 56 insertions(+), 34 deletions(-) diff --git a/impls/dow_msft.yaml b/impls/dow_msft.yaml index 48edc5b24..c986abbb6 100644 --- a/impls/dow_msft.yaml +++ b/impls/dow_msft.yaml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/impls/msft-eshoppen.yaml b/impls/msft-eshoppen.yaml index 8a538f02f..057e00b7a 100644 --- a/impls/msft-eshoppen.yaml +++ b/impls/msft-eshoppen.yaml @@ -6,15 +6,25 @@ 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: '' @@ -22,33 +32,41 @@ 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 @@ -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 @@ -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