Skip to content

Conversation

sthaha
Copy link
Collaborator

@sthaha sthaha commented Aug 5, 2025

Addresses #2078
kepler_platform_watts{bmc="hpe-bmc-01", chassis_id="1U", instance="host.docker.internal:28282", job="host", node_name="master", source="redfish"}

image

@github-actions github-actions bot added feat A new feature or enhancement docs Documentation changes labels Aug 5, 2025
Copy link
Contributor

github-actions bot commented Aug 5, 2025

⚠️ Config changes detected in this PR
Please make sure that the config changes are updated in the following places as part of this PR:

  • docs/configuration/configuration.md
  • compose/dev/kepler-dev/etc/kepler/config.yaml
  • hack/config.yaml
  • manifests/k8s/configmap.yaml
  • manifests/helm/kepler/values.yaml

@sthaha sthaha force-pushed the feat-redfish-impl branch from 886593a to ea25c20 Compare August 5, 2025 03:16
Copy link
Contributor

github-actions bot commented Aug 5, 2025

⚠️ Config changes detected in this PR
Please make sure that the config changes are updated in the following places as part of this PR:

  • docs/configuration/configuration.md
  • compose/dev/kepler-dev/etc/kepler/config.yaml
  • hack/config.yaml
  • manifests/k8s/configmap.yaml
  • manifests/helm/kepler/values.yaml

Copy link

codecov bot commented Aug 5, 2025

Codecov Report

❌ Patch coverage is 86.93234% with 141 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.17%. Comparing base (f67206a) to head (e17ba2c).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...xporter/prometheus/collector/platform_collector.go 0.00% 44 Missing ⚠️
internal/platform/redfish/power_reader.go 63.63% 23 Missing and 9 partials ⚠️
internal/platform/redfish/mock/server.go 91.93% 20 Missing and 5 partials ⚠️
config/config.go 51.51% 12 Missing and 4 partials ⚠️
internal/platform/redfish/service.go 94.66% 7 Missing and 1 partial ⚠️
internal/exporter/prometheus/prometheus.go 22.22% 6 Missing and 1 partial ⚠️
internal/platform/redfish/config.go 86.04% 4 Missing and 2 partials ⚠️
internal/platform/redfish/mock/scenarios.go 98.43% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2263      +/-   ##
==========================================
- Coverage   92.37%   91.17%   -1.21%     
==========================================
  Files          39       47       +8     
  Lines        4142     5221    +1079     
==========================================
+ Hits         3826     4760     +934     
- Misses        254      375     +121     
- Partials       62       86      +24     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sthaha sthaha force-pushed the feat-redfish-impl branch from ea25c20 to c7bc4aa Compare August 28, 2025 07:29
@github-actions github-actions bot removed the docs Documentation changes label Aug 28, 2025
Copy link
Contributor

⚠️ Config changes detected in this PR
Please make sure that the config changes are updated in the following places as part of this PR:

  • docs/configuration/configuration.md
    EOF

Copy link
Contributor

📊 Profiling reports are ready to be viewed

⚠️ Variability in pprof CPU and Memory profiles
When comparing pprof profiles of Kepler versions, expect variability in CPU and memory. Focus only on significant, consistent differences.

💻 CPU Comparison with base Kepler
File: kepler
Type: cpu
Time: 2025-08-28 07:33:59 UTC
Duration: 120s, Total samples = 470ms ( 0.39%)
Active filters:
   show=github.com/sustainable-computing-io
Showing nodes accounting for -70ms, 14.89% of 470ms total
      flat  flat%   sum%        cum   cum%
         0     0%     0%      -60ms 12.77%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculatePower
         0     0%     0%      -60ms 12.77%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).refreshSnapshot
         0     0%     0%      -60ms 12.77%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh
         0     0%     0%      -60ms 12.77%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh.func1
         0     0%     0%      -50ms 10.64%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).scheduleNextCollection.func1
         0     0%     0%      -40ms  8.51%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).Refresh
         0     0%     0%      -40ms  8.51%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).refreshProcesses
         0     0%     0%      -40ms  8.51%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).updateProcessCache
         0     0%     0%      -40ms  8.51%  github.com/sustainable-computing-io/kepler/internal/resource.populateProcessFields
     -30ms  6.38%  6.38%      -30ms  6.38%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).CPUTime
         0     0%  6.38%      -20ms  4.26%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculateProcessPower
      10ms  2.13%  4.26%       10ms  2.13%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).collectProcessMetrics
     -10ms  2.13%  6.38%      -10ms  2.13%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*cpuInfoCollector).Collect
         0     0%  6.38%      -10ms  2.13%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).Snapshot
      10ms  2.13%  4.26%       10ms  2.13%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculateNodePower
     -10ms  2.13%  6.38%      -10ms  2.13%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculateVMPower
         0     0%  6.38%      -10ms  2.13%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).ensureFreshData
     -10ms  2.13%  8.51%      -10ms  2.13%  github.com/sustainable-computing-io/kepler/internal/monitor.(*TerminatedResourceTracker[go.shape.*uint8]).Add
     -10ms  2.13% 10.64%      -10ms  2.13%  github.com/sustainable-computing-io/kepler/internal/monitor.newProcess (inline)
     -10ms  2.13% 12.77%      -10ms  2.13%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).CmdLine
     -10ms  2.13% 14.89%      -10ms  2.13%  github.com/sustainable-computing-io/kepler/internal/resource.computeTypeInfoFromProc
         0     0% 14.89%      -10ms  2.13%  github.com/sustainable-computing-io/kepler/internal/resource.computeTypeInfoFromProc.func2
         0     0% 14.89%      -10ms  2.13%  github.com/sustainable-computing-io/kepler/internal/resource.newProcess
         0     0% 14.89%      -10ms  2.13%  github.com/sustainable-computing-io/kepler/internal/resource.vmInfoFromProc
💾 Memory Comparison with base Kepler (Inuse)
File: kepler
Type: inuse_space
Time: 2025-08-28 07:35:59 UTC
Duration: 120.01s, Total samples = 6532.63kB 
Active filters:
   show=github.com/sustainable-computing-io
Showing nodes accounting for -0.03kB, 0.00048% of 6532.63kB total
      flat  flat%   sum%        cum   cum%
         0     0%     0%  -512.05kB  7.84%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).Collect
         0     0%     0%  -512.05kB  7.84%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).Snapshot
 -512.05kB  7.84%  7.84%  -512.05kB  7.84%  github.com/sustainable-computing-io/kepler/internal/monitor.(*Process).Clone (inline)
         0     0%  7.84%  -512.05kB  7.84%  github.com/sustainable-computing-io/kepler/internal/monitor.(*Snapshot).Clone
         0     0%  7.84%   512.02kB  7.84%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculatePower
         0     0%  7.84%   512.02kB  7.84%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculateProcessPower
         0     0%  7.84%   512.02kB  7.84%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).refreshSnapshot
         0     0%  7.84%   512.02kB  7.84%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).scheduleNextCollection.func1
         0     0%  7.84%   512.02kB  7.84%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh
         0     0%  7.84%   512.02kB  7.84%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh.func1
  512.02kB  7.84% 0.00048%   512.02kB  7.84%  github.com/sustainable-computing-io/kepler/internal/monitor.newProcess (inline)
💾 Memory Comparison with base Kepler (Alloc)
File: kepler
Type: alloc_space
Time: 2025-08-28 07:35:59 UTC
Duration: 120.01s, Total samples = 52.27MB 
Active filters:
   show=github.com/sustainable-computing-io
Showing nodes accounting for -3.54MB, 6.77% of 52.27MB total
Dropped 3 nodes (cum <= 0.26MB)
      flat  flat%   sum%        cum   cum%
         0     0%     0%    -4.49MB  8.59%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).Collect
         0     0%     0%     4.01MB  7.68%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculatePower
         0     0%     0%     4.01MB  7.68%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).refreshSnapshot
         0     0%     0%     4.01MB  7.68%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh
         0     0%     0%     4.01MB  7.68%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh.func1
      -4MB  7.65%  7.65%       -4MB  7.65%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).collectProcessMetrics
         0     0%  7.65%        3MB  5.74%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).scheduleNextCollection.func1
    1.01MB  1.93%  5.73%     2.01MB  3.84%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculateProcessPower
         0     0%  5.73%     2.01MB  3.84%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).Refresh
         0     0%  5.73%     2.01MB  3.84%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).refreshProcesses
   -0.50MB  0.96%  6.68%       -2MB  3.83%  github.com/sustainable-computing-io/kepler/internal/monitor.(*Process).Clone (inline)
         0     0%  6.68%       -2MB  3.83%  github.com/sustainable-computing-io/kepler/internal/monitor.(*Snapshot).Clone
   -1.50MB  2.87%  9.55%    -1.50MB  2.87%  maps.Copy[go.shape.map[github.com/sustainable-computing-io/kepler/internal/device.EnergyZone]github.com/sustainable-computing-io/kepler/internal/monitor.Usage,go.shape.map[github.com/sustainable-computing-io/kepler/internal/device.EnergyZone]github.com/sustainable-computing-io/kepler/internal/monitor.Usage,go.shape.interface { Energy ; Index int; MaxEnergy github.com/sustainable-computing-io/kepler/internal/device.Energy; Name string; Path string },go.shape.struct { EnergyTotal github.com/sustainable-computing-io/kepler/internal/device.Energy; Power github.com/sustainable-computing-io/kepler/internal/device.Power }] (inline)
         0     0%  9.55%    -1.03MB  1.97%  github.com/sustainable-computing-io/kepler/internal/resource.computeTypeInfoFromProc.func2
   -1.03MB  1.97% 11.53%    -1.03MB  1.97%  github.com/sustainable-computing-io/kepler/internal/resource.vmInfoFromCmdLine
         0     0% 11.53%    -1.03MB  1.97%  github.com/sustainable-computing-io/kepler/internal/resource.vmInfoFromProc
         0     0% 11.53%     1.01MB  1.94%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).ensureFreshData
    1.01MB  1.92%  9.60%     1.01MB  1.92%  github.com/sustainable-computing-io/kepler/internal/resource.(*procFSReader).AllProcs
       1MB  1.91%  7.69%        1MB  1.91%  github.com/sustainable-computing-io/kepler/internal/monitor.newProcess (inline)
         0     0%  7.69%        1MB  1.91%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).updateProcessCache
         0     0%  7.69%        1MB  1.91%  github.com/sustainable-computing-io/kepler/internal/resource.populateProcessFields
         0     0%  7.69%    -0.99MB  1.89%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).Snapshot
         0     0%  7.69%    -0.52MB  0.99%  github.com/sustainable-computing-io/kepler/internal/resource.computeTypeInfoFromProc.func1
   -0.52MB  0.99%  8.68%    -0.52MB  0.99%  github.com/sustainable-computing-io/kepler/internal/resource.containerInfoFromCgroupPaths
         0     0%  8.68%    -0.52MB  0.99%  github.com/sustainable-computing-io/kepler/internal/resource.containerInfoFromProc
         0     0%  8.68%    -0.50MB  0.96%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*cpuInfoCollector).Collect
   -0.50MB  0.96%  9.64%    -0.50MB  0.96%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*realProcFS).CPUInfo
    0.50MB  0.96%  8.68%     0.50MB  0.96%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).Comm
    0.50MB  0.96%  7.72%     0.50MB  0.96%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).collectContainerMetrics
    0.50MB  0.96%  6.77%     0.50MB  0.96%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).CPUTime

⬇️ Download the Profiling artifacts from the Actions Summary page

📦 Artifact name: profile-artifacts-2263

🔧 Or use GitHub CLI to download artifacts:

gh run download 17288978755 -n profile-artifacts-2263

@sthaha sthaha force-pushed the feat-redfish-impl branch from c7bc4aa to 08900d2 Compare August 28, 2025 07:37
Copy link
Contributor

⚠️ Config changes detected in this PR
Please make sure that the config changes are updated in the following places as part of this PR:

  • docs/configuration/configuration.md
    EOF

Copy link
Contributor

📊 Profiling reports are ready to be viewed

⚠️ Variability in pprof CPU and Memory profiles
When comparing pprof profiles of Kepler versions, expect variability in CPU and memory. Focus only on significant, consistent differences.

💻 CPU Comparison with base Kepler
File: kepler
Type: cpu
Time: 2025-08-28 07:40:36 UTC
Duration: 120s, Total samples = 540ms ( 0.45%)
Active filters:
   show=github.com/sustainable-computing-io
Showing nodes accounting for 0, 0% of 540ms total
Dropped 1 node (cum <= 2.70ms)
      flat  flat%   sum%        cum   cum%
         0     0%     0%      -60ms 11.11%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).ensureFreshData
         0     0%     0%      -50ms  9.26%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).Snapshot
         0     0%     0%      -40ms  7.41%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).Collect
         0     0%     0%      -40ms  7.41%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).refreshSnapshot
         0     0%     0%      -40ms  7.41%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh
         0     0%     0%      -40ms  7.41%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh.func1
         0     0%     0%      -30ms  5.56%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculatePower
     -30ms  5.56%  5.56%      -30ms  5.56%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).CPUTime
         0     0%  5.56%      -30ms  5.56%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).Refresh
         0     0%  5.56%      -30ms  5.56%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).refreshProcesses
         0     0%  5.56%      -30ms  5.56%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).updateProcessCache
         0     0%  5.56%      -30ms  5.56%  github.com/sustainable-computing-io/kepler/internal/resource.populateProcessFields
         0     0%  5.56%       20ms  3.70%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).scheduleNextCollection.func1
      10ms  1.85%  3.70%       10ms  1.85%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).collectProcessMetrics
         0     0%  3.70%      -10ms  1.85%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*cpuInfoCollector).Collect
     -10ms  1.85%  5.56%      -10ms  1.85%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*realProcFS).CPUInfo
     -10ms  1.85%  7.41%      -10ms  1.85%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).signalNewData
         0     0%  7.41%       10ms  1.85%  github.com/sustainable-computing-io/kepler/internal/monitor.(*Process).Clone (inline)
         0     0%  7.41%       10ms  1.85%  github.com/sustainable-computing-io/kepler/internal/monitor.(*Snapshot).Clone
      10ms  1.85%  5.56%       10ms  1.85%  github.com/sustainable-computing-io/kepler/internal/monitor.newProcess (inline)
      10ms  1.85%  3.70%       10ms  1.85%  github.com/sustainable-computing-io/kepler/internal/resource.(*procFSReader).CPUUsageRatio
      10ms  1.85%  1.85%       10ms  1.85%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).Cgroups
         0     0%  1.85%       10ms  1.85%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).Refresh.func3
         0     0%  1.85%       10ms  1.85%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).refreshNode
         0     0%  1.85%       10ms  1.85%  github.com/sustainable-computing-io/kepler/internal/resource.computeTypeInfoFromProc.func1
         0     0%  1.85%       10ms  1.85%  github.com/sustainable-computing-io/kepler/internal/resource.containerInfoFromProc
      10ms  1.85%     0%       10ms  1.85%  maps.Copy[go.shape.map[github.com/sustainable-computing-io/kepler/internal/device.EnergyZone]github.com/sustainable-computing-io/kepler/internal/monitor.Usage,go.shape.map[github.com/sustainable-computing-io/kepler/internal/device.EnergyZone]github.com/sustainable-computing-io/kepler/internal/monitor.Usage,go.shape.interface { Energy ; Index int; MaxEnergy github.com/sustainable-computing-io/kepler/internal/device.Energy; Name string; Path string },go.shape.struct { EnergyTotal github.com/sustainable-computing-io/kepler/internal/device.Energy; Power github.com/sustainable-computing-io/kepler/internal/device.Power }] (inline)
💾 Memory Comparison with base Kepler (Inuse)
File: kepler
Type: inuse_space
Time: 2025-08-28 07:42:36 UTC
Duration: 120.01s, Total samples = 8529.23kB 
Active filters:
   show=github.com/sustainable-computing-io
Showing nodes accounting for 1552.13kB, 18.20% of 8529.23kB total
Dropped 1 node (cum <= 42.65kB)
      flat  flat%   sum%        cum   cum%
 1024.05kB 12.01% 12.01%  1024.05kB 12.01%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).collectProcessMetrics
         0     0% 12.01%  1023.96kB 12.01%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).Collect
         0     0% 12.01%   528.17kB  6.19%  github.com/sustainable-computing-io/kepler/internal/resource.computeTypeInfoFromProc.func1
  528.17kB  6.19% 18.20%   528.17kB  6.19%  github.com/sustainable-computing-io/kepler/internal/resource.containerInfoFromCgroupPaths
         0     0% 18.20%   528.17kB  6.19%  github.com/sustainable-computing-io/kepler/internal/resource.containerInfoFromProc
         0     0% 18.20%  -512.14kB  6.00%  github.com/sustainable-computing-io/kepler/internal/monitor.(*Process).Clone (inline)
         0     0% 18.20%  -512.14kB  6.00%  github.com/sustainable-computing-io/kepler/internal/monitor.(*Snapshot).Clone
 -512.14kB  6.00% 12.19%  -512.14kB  6.00%  maps.Copy[go.shape.map[github.com/sustainable-computing-io/kepler/internal/device.EnergyZone]github.com/sustainable-computing-io/kepler/internal/monitor.Usage,go.shape.map[github.com/sustainable-computing-io/kepler/internal/device.EnergyZone]github.com/sustainable-computing-io/kepler/internal/monitor.Usage,go.shape.interface { Energy ; Index int; MaxEnergy github.com/sustainable-computing-io/kepler/internal/device.Energy; Name string; Path string },go.shape.struct { EnergyTotal github.com/sustainable-computing-io/kepler/internal/device.Energy; Power github.com/sustainable-computing-io/kepler/internal/device.Power }] (inline)
         0     0% 12.19%   512.05kB  6.00%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculatePower
         0     0% 12.19%   512.05kB  6.00%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculateProcessPower
         0     0% 12.19%   512.05kB  6.00%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).ensureFreshData
         0     0% 12.19%   512.05kB  6.00%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).refreshSnapshot
         0     0% 12.19%   512.05kB  6.00%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh
         0     0% 12.19%   512.05kB  6.00%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh.func1
  512.05kB  6.00% 18.20%   512.05kB  6.00%  github.com/sustainable-computing-io/kepler/internal/monitor.newProcess (inline)
💾 Memory Comparison with base Kepler (Alloc)
File: kepler
Type: alloc_space
Time: 2025-08-28 07:42:36 UTC
Duration: 120.01s, Total samples = 60.82MB 
Active filters:
   show=github.com/sustainable-computing-io
Showing nodes accounting for -7.51MB, 12.34% of 60.82MB total
Dropped 2 nodes (cum <= 0.30MB)
      flat  flat%   sum%        cum   cum%
         0     0%     0%    -5.01MB  8.24%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).Collect
         0     0%     0%    -4.51MB  7.42%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).Refresh
         0     0%     0%    -4.51MB  7.42%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).refreshProcesses
         0     0%     0%    -4.50MB  7.40%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).updateProcessCache
         0     0%     0%    -4.50MB  7.40%  github.com/sustainable-computing-io/kepler/internal/resource.populateProcessFields
   -4.50MB  7.40%  7.40%    -4.50MB  7.40%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).collectProcessMetrics
         0     0%  7.40%    -3.51MB  5.77%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculatePower
         0     0%  7.40%    -3.51MB  5.77%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).refreshSnapshot
         0     0%  7.40%    -3.51MB  5.77%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh
         0     0%  7.40%    -3.51MB  5.77%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh.func1
   -3.50MB  5.76% 13.16%    -3.50MB  5.76%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).CPUTime
         0     0% 13.16%       -3MB  4.94%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).scheduleNextCollection.func1
         0     0% 13.16%     1.50MB  2.47%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculateProcessPower
    1.50MB  2.47% 10.69%     1.50MB  2.47%  github.com/sustainable-computing-io/kepler/internal/monitor.newProcess (inline)
         0     0% 10.69%    -0.51MB  0.84%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).Snapshot
         0     0% 10.69%    -0.51MB  0.83%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).ensureFreshData
   -0.50MB  0.83% 11.52%    -0.50MB  0.83%  github.com/sustainable-computing-io/kepler/internal/resource.(*procFSReader).CPUUsageRatio
         0     0% 11.52%    -0.50MB  0.83%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).Refresh.func3
         0     0% 11.52%    -0.50MB  0.83%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).refreshNode
         0     0% 11.52%     0.50MB  0.82%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*cpuInfoCollector).Collect
    0.50MB  0.82% 10.70%     0.50MB  0.82%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*realProcFS).CPUInfo
   -0.50MB  0.82% 11.52%    -0.50MB  0.82%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).Comm
         0     0% 11.52%     0.50MB  0.82%  github.com/sustainable-computing-io/kepler/internal/monitor.(*Process).Clone (inline)
    0.50MB  0.82% 10.70%     0.50MB  0.82%  maps.Copy[go.shape.map[github.com/sustainable-computing-io/kepler/internal/device.EnergyZone]github.com/sustainable-computing-io/kepler/internal/monitor.Usage,go.shape.map[github.com/sustainable-computing-io/kepler/internal/device.EnergyZone]github.com/sustainable-computing-io/kepler/internal/monitor.Usage,go.shape.interface { Energy ; Index int; MaxEnergy github.com/sustainable-computing-io/kepler/internal/device.Energy; Name string; Path string },go.shape.struct { EnergyTotal github.com/sustainable-computing-io/kepler/internal/device.Energy; Power github.com/sustainable-computing-io/kepler/internal/device.Power }] (inline)
   -0.50MB  0.82% 11.52%    -0.50MB  0.82%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculateNodePower
   -0.50MB  0.82% 12.34%    -0.50MB  0.82%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).Executable

⬇️ Download the Profiling artifacts from the Actions Summary page

📦 Artifact name: profile-artifacts-2263

🔧 Or use GitHub CLI to download artifacts:

gh run download 17289162090 -n profile-artifacts-2263

@sthaha sthaha force-pushed the feat-redfish-impl branch from 08900d2 to 14c6156 Compare August 28, 2025 07:49
Copy link
Contributor

⚠️ Config changes detected in this PR
Please make sure that the config changes are updated in the following places as part of this PR:

  • docs/configuration/configuration.md
    EOF

Copy link
Contributor

📊 Profiling reports are ready to be viewed

⚠️ Variability in pprof CPU and Memory profiles
When comparing pprof profiles of Kepler versions, expect variability in CPU and memory. Focus only on significant, consistent differences.

💻 CPU Comparison with base Kepler
File: kepler
Type: cpu
Time: 2025-08-28 08:00:45 UTC
Duration: 120s, Total samples = 530ms ( 0.44%)
Active filters:
   show=github.com/sustainable-computing-io
Showing nodes accounting for 10ms, 1.89% of 530ms total
      flat  flat%   sum%        cum   cum%
     -30ms  5.66%  5.66%      -20ms  3.77%  github.com/sustainable-computing-io/kepler/internal/resource.(*procFSReader).AllProcs
         0     0%  5.66%       20ms  3.77%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).updateProcessCache
         0     0%  5.66%       20ms  3.77%  github.com/sustainable-computing-io/kepler/internal/resource.populateProcessFields
         0     0%  5.66%      -10ms  1.89%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).Collect
         0     0%  5.66%       10ms  1.89%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*cpuInfoCollector).Collect
      10ms  1.89%  3.77%       10ms  1.89%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*realProcFS).CPUInfo
         0     0%  3.77%      -10ms  1.89%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).Snapshot
      10ms  1.89%  1.89%       10ms  1.89%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculateContainerPower
         0     0%  1.89%      -10ms  1.89%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculateProcessPower
         0     0%  1.89%      -10ms  1.89%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).ensureFreshData
         0     0%  1.89%       10ms  1.89%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).scheduleNextCollection.func1
     -10ms  1.89%  3.77%      -10ms  1.89%  github.com/sustainable-computing-io/kepler/internal/monitor.(*Process).StringID (inline)
      10ms  1.89%  1.89%       10ms  1.89%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).CPUTime
      10ms  1.89%     0%       10ms  1.89%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).Comm
      10ms  1.89%  1.89%       10ms  1.89%  github.com/sustainable-computing-io/kepler/internal/resource.WrapProc (inline)
         0     0%  1.89%       10ms  1.89%  github.com/sustainable-computing-io/kepler/internal/resource.newProcess
💾 Memory Comparison with base Kepler (Inuse)
File: kepler
Type: inuse_space
Time: 2025-08-28 08:02:45 UTC
Duration: 120.01s, Total samples = 6984.98kB 
Active filters:
   show=github.com/sustainable-computing-io
Showing nodes accounting for -1024.16kB, 14.66% of 6984.98kB total
Dropped 1 node (cum <= 34.92kB)
      flat  flat%   sum%        cum   cum%
         0     0%     0% -1024.16kB 14.66%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).Snapshot
 -512.02kB  7.33%  7.33% -1024.16kB 14.66%  github.com/sustainable-computing-io/kepler/internal/monitor.(*Process).Clone (inline)
         0     0%  7.33% -1024.16kB 14.66%  github.com/sustainable-computing-io/kepler/internal/monitor.(*Snapshot).Clone
         0     0%  7.33% -1024.15kB 14.66%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).Collect
 -512.14kB  7.33% 14.66%  -512.14kB  7.33%  maps.Copy[go.shape.map[github.com/sustainable-computing-io/kepler/internal/device.EnergyZone]github.com/sustainable-computing-io/kepler/internal/monitor.Usage,go.shape.map[github.com/sustainable-computing-io/kepler/internal/device.EnergyZone]github.com/sustainable-computing-io/kepler/internal/monitor.Usage,go.shape.interface { Energy ; Index int; MaxEnergy github.com/sustainable-computing-io/kepler/internal/device.Energy; Name string; Path string },go.shape.struct { EnergyTotal github.com/sustainable-computing-io/kepler/internal/device.Energy; Power github.com/sustainable-computing-io/kepler/internal/device.Power }] (inline)
💾 Memory Comparison with base Kepler (Alloc)
File: kepler
Type: alloc_space
Time: 2025-08-28 08:02:45 UTC
Duration: 120.01s, Total samples = 70.60MB 
Active filters:
   show=github.com/sustainable-computing-io
Showing nodes accounting for -0.98MB, 1.39% of 70.60MB total
Dropped 8 nodes (cum <= 0.35MB)
      flat  flat%   sum%        cum   cum%
   -0.50MB  0.71%  0.71%       -2MB  2.83%  github.com/sustainable-computing-io/kepler/internal/monitor.(*Process).Clone (inline)
         0     0%  0.71%       -2MB  2.83%  github.com/sustainable-computing-io/kepler/internal/monitor.(*Snapshot).Clone
         0     0%  0.71%       -2MB  2.83%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).Collect
         0     0%  0.71%     1.51MB  2.13%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculatePower
         0     0%  0.71%     1.51MB  2.13%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).refreshSnapshot
         0     0%  0.71%     1.51MB  2.13%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh
         0     0%  0.71%     1.51MB  2.13%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh.func1
         0     0%  0.71%     1.50MB  2.13%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).Refresh
    0.50MB  0.71% 0.0036%     1.50MB  2.13%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).refreshProcesses
   -1.50MB  2.13%  2.12%    -1.50MB  2.13%  maps.Copy[go.shape.map[github.com/sustainable-computing-io/kepler/internal/device.EnergyZone]github.com/sustainable-computing-io/kepler/internal/monitor.Usage,go.shape.map[github.com/sustainable-computing-io/kepler/internal/device.EnergyZone]github.com/sustainable-computing-io/kepler/internal/monitor.Usage,go.shape.interface { Energy ; Index int; MaxEnergy github.com/sustainable-computing-io/kepler/internal/device.Energy; Name string; Path string },go.shape.struct { EnergyTotal github.com/sustainable-computing-io/kepler/internal/device.Energy; Power github.com/sustainable-computing-io/kepler/internal/device.Power }] (inline)
    1.50MB  2.12% 0.0034%     1.50MB  2.12%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).CPUTime
         0     0% 0.0034%    -1.50MB  2.12%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).Snapshot
    1.03MB  1.46%  1.46%     1.03MB  1.46%  github.com/sustainable-computing-io/kepler/internal/resource.containerInfoFromCgroupPaths
      -1MB  1.42% 0.043%       -1MB  1.42%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).Cgroups
         0     0% 0.043%        1MB  1.42%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).scheduleNextCollection.func1
         0     0% 0.043%        1MB  1.42%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).updateProcessCache
         0     0% 0.043%        1MB  1.42%  github.com/sustainable-computing-io/kepler/internal/resource.populateProcessFields
    0.50MB  0.71%  0.76%     0.50MB  0.71%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculateProcessPower
         0     0%  0.76%     0.50MB  0.71%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).ensureFreshData
   -0.50MB  0.71% 0.048%    -0.50MB  0.71%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).Comm
   -0.50MB  0.71%  0.66%    -0.50MB  0.71%  github.com/sustainable-computing-io/kepler/internal/logger.handlerForFormat.func1
         0     0%  0.66%    -0.50MB  0.71%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculatePodPower
   -0.50MB  0.71%  1.37%    -0.50MB  0.71%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).collectProcessMetrics
         0     0%  1.37%     0.03MB 0.039%  github.com/sustainable-computing-io/kepler/internal/resource.computeTypeInfoFromProc.func1
         0     0%  1.37%     0.03MB 0.039%  github.com/sustainable-computing-io/kepler/internal/resource.containerInfoFromProc
         0     0%  1.37%    -0.01MB  0.02%  github.com/sustainable-computing-io/kepler/internal/resource.computeTypeInfoFromProc.func2
   -0.01MB  0.02%  1.39%    -0.01MB  0.02%  github.com/sustainable-computing-io/kepler/internal/resource.vmInfoFromCmdLine
         0     0%  1.39%    -0.01MB  0.02%  github.com/sustainable-computing-io/kepler/internal/resource.vmInfoFromProc

⬇️ Download the Profiling artifacts from the Actions Summary page

📦 Artifact name: profile-artifacts-2263

🔧 Or use GitHub CLI to download artifacts:

gh run download 17289414762 -n profile-artifacts-2263

@sthaha sthaha force-pushed the feat-redfish-impl branch from 14c6156 to 976a3f4 Compare August 28, 2025 08:06
Copy link
Contributor

⚠️ Config changes detected in this PR
Please make sure that the config changes are updated in the following places as part of this PR:

  • docs/configuration/configuration.md
    EOF

Copy link
Contributor

📊 Profiling reports are ready to be viewed

⚠️ Variability in pprof CPU and Memory profiles
When comparing pprof profiles of Kepler versions, expect variability in CPU and memory. Focus only on significant, consistent differences.

💻 CPU Comparison with base Kepler
File: kepler
Type: cpu
Time: 2025-08-28 08:11:11 UTC
Duration: 120s, Total samples = 550ms ( 0.46%)
Active filters:
   show=github.com/sustainable-computing-io
Showing nodes accounting for 20ms, 3.64% of 550ms total
      flat  flat%   sum%        cum   cum%
         0     0%     0%       40ms  7.27%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).scheduleNextCollection.func1
         0     0%     0%      -30ms  5.45%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).Collect
         0     0%     0%      -30ms  5.45%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).Snapshot
         0     0%     0%      -30ms  5.45%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).ensureFreshData
      10ms  1.82%  1.82%       20ms  3.64%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculateProcessPower
     -20ms  3.64%  1.82%      -20ms  3.64%  github.com/sustainable-computing-io/kepler/internal/resource.(*procFSReader).AllProcs
      20ms  3.64%  1.82%       20ms  3.64%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).CPUTime
         0     0%  1.82%       10ms  1.82%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculatePower
         0     0%  1.82%       10ms  1.82%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).refreshSnapshot
         0     0%  1.82%       10ms  1.82%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh
         0     0%  1.82%       10ms  1.82%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh.func1
      10ms  1.82%  3.64%       10ms  1.82%  github.com/sustainable-computing-io/kepler/internal/monitor.newProcess (inline)
      10ms  1.82%  5.45%       10ms  1.82%  github.com/sustainable-computing-io/kepler/internal/resource.(*procFSReader).CPUUsageRatio
         0     0%  5.45%      -10ms  1.82%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).Refresh
         0     0%  5.45%       10ms  1.82%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).Refresh.func3
         0     0%  5.45%       10ms  1.82%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).refreshNode
         0     0%  5.45%      -10ms  1.82%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).refreshProcesses
         0     0%  5.45%       10ms  1.82%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).updateProcessCache
     -10ms  1.82%  3.64%       10ms  1.82%  github.com/sustainable-computing-io/kepler/internal/resource.populateProcessFields
💾 Memory Comparison with base Kepler (Inuse)
File: kepler
Type: inuse_space
Time: 2025-08-28 08:13:11 UTC
Duration: 120.01s, Total samples = 7591.96kB 
Active filters:
   show=github.com/sustainable-computing-io
Showing nodes accounting for -995.75kB, 13.12% of 7591.96kB total
      flat  flat%   sum%        cum   cum%
         0     0%     0% -2564.22kB 33.78%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).Collect
         0     0%     0% -1540.21kB 20.29%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).Snapshot
 -516.01kB  6.80%  6.80% -1540.21kB 20.29%  github.com/sustainable-computing-io/kepler/internal/monitor.(*Snapshot).Clone
         0     0%  6.80%  1056.33kB 13.91%  github.com/sustainable-computing-io/kepler/internal/resource.computeTypeInfoFromProc.func2
 1056.33kB 13.91%  7.12%  1056.33kB 13.91%  github.com/sustainable-computing-io/kepler/internal/resource.vmInfoFromCmdLine
         0     0%  7.12%  1056.33kB 13.91%  github.com/sustainable-computing-io/kepler/internal/resource.vmInfoFromProc
 -512.05kB  6.74%  0.37% -1024.20kB 13.49%  github.com/sustainable-computing-io/kepler/internal/monitor.(*Process).Clone (inline)
-1024.02kB 13.49% 13.12% -1024.02kB 13.49%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).collectProcessMetrics
         0     0% 13.12%   512.14kB  6.75%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculatePower
         0     0% 13.12%   512.14kB  6.75%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculateProcessPower
         0     0% 13.12%   512.14kB  6.75%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).refreshSnapshot
         0     0% 13.12%   512.14kB  6.75%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).scheduleNextCollection.func1
         0     0% 13.12%   512.14kB  6.75%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh
         0     0% 13.12%   512.14kB  6.75%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh.func1
  512.14kB  6.75%  6.37%   512.14kB  6.75%  github.com/sustainable-computing-io/kepler/internal/monitor.newProcess (inline)
 -512.14kB  6.75% 13.12%  -512.14kB  6.75%  maps.Copy[go.shape.map[github.com/sustainable-computing-io/kepler/internal/device.EnergyZone]github.com/sustainable-computing-io/kepler/internal/monitor.Usage,go.shape.map[github.com/sustainable-computing-io/kepler/internal/device.EnergyZone]github.com/sustainable-computing-io/kepler/internal/monitor.Usage,go.shape.interface { Energy ; Index int; MaxEnergy github.com/sustainable-computing-io/kepler/internal/device.Energy; Name string; Path string },go.shape.struct { EnergyTotal github.com/sustainable-computing-io/kepler/internal/device.Energy; Power github.com/sustainable-computing-io/kepler/internal/device.Power }] (inline)
💾 Memory Comparison with base Kepler (Alloc)
File: kepler
Type: alloc_space
Time: 2025-08-28 08:13:11 UTC
Duration: 120.01s, Total samples = 61332.66kB 
Active filters:
   show=github.com/sustainable-computing-io
Showing nodes accounting for -2029.04kB, 3.31% of 61332.66kB total
Dropped 1 node (cum <= 306.66kB)
      flat  flat%   sum%        cum   cum%
         0     0%     0% -6145.63kB 10.02%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).Collect
-6144.12kB 10.02% 10.02% -6144.12kB 10.02%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).collectProcessMetrics
         0     0% 10.02%  3588.95kB  5.85%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculatePower
         0     0% 10.02%  3588.95kB  5.85%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).refreshSnapshot
         0     0% 10.02%  3588.95kB  5.85%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh
         0     0% 10.02%  3588.95kB  5.85%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh.func1
         0     0% 10.02%  3074.45kB  5.01%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).scheduleNextCollection.func1
 2561.14kB  4.18%  5.84%  2561.14kB  4.18%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).CPUTime
  516.01kB  0.84%  5.00%  2052.32kB  3.35%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculateProcessPower
         0     0%  5.00%  2048.89kB  3.34%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).updateProcessCache
         0     0%  5.00%  2048.89kB  3.34%  github.com/sustainable-computing-io/kepler/internal/resource.populateProcessFields
 1536.30kB  2.50%  2.50%  1536.30kB  2.50%  github.com/sustainable-computing-io/kepler/internal/monitor.newProcess (inline)
         0     0%  2.50%  1026.01kB  1.67%  github.com/sustainable-computing-io/kepler/internal/resource.computeTypeInfoFromProc.func1
         0     0%  2.50%  1026.01kB  1.67%  github.com/sustainable-computing-io/kepler/internal/resource.containerInfoFromProc
         0     0%  2.50%  1024.60kB  1.67%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).Refresh
 -514.63kB  0.84%  3.33%  1024.60kB  1.67%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).refreshProcesses
         0     0%  3.33%   528.17kB  0.86%  github.com/sustainable-computing-io/kepler/internal/resource.computeTypeInfoFromProc.func2
  528.17kB  0.86%  2.47%   528.17kB  0.86%  github.com/sustainable-computing-io/kepler/internal/resource.vmInfoFromCmdLine
         0     0%  2.47%   528.17kB  0.86%  github.com/sustainable-computing-io/kepler/internal/resource.vmInfoFromProc
 -516.01kB  0.84%  3.31%  -516.01kB  0.84%  github.com/sustainable-computing-io/kepler/internal/monitor.(*Snapshot).Clone
         0     0%  3.31%   514.50kB  0.84%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).ensureFreshData
     514kB  0.84%  2.48%      514kB  0.84%  github.com/sustainable-computing-io/kepler/internal/resource.containerInfoFromCgroupPaths
 -512.25kB  0.84%  3.31%  -512.25kB  0.84%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).Comm
  512.04kB  0.83%  2.48%   512.04kB  0.83%  github.com/sustainable-computing-io/kepler/internal/logger.handlerForFormat.func1
         0     0%  2.48%   512.04kB  0.83%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculatePodPower
 -512.04kB  0.83%  3.31%  -512.04kB  0.83%  github.com/sustainable-computing-io/kepler/internal/resource.(*procFSReader).CPUUsageRatio
         0     0%  3.31%  -512.04kB  0.83%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).Refresh.func3
         0     0%  3.31%  -512.04kB  0.83%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).refreshNode
 -512.02kB  0.83%  4.15%  -512.02kB  0.83%  github.com/sustainable-computing-io/kepler/internal/resource.WrapProc (inline)
  512.01kB  0.83%  3.31%   512.01kB  0.83%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).Cgroups
    2.35kB 0.0038%  3.31%  -509.66kB  0.83%  github.com/sustainable-computing-io/kepler/internal/resource.(*procFSReader).AllProcs

⬇️ Download the Profiling artifacts from the Actions Summary page

📦 Artifact name: profile-artifacts-2263

🔧 Or use GitHub CLI to download artifacts:

gh run download 17289789464 -n profile-artifacts-2263

@sthaha sthaha force-pushed the feat-redfish-impl branch from 976a3f4 to e17ba2c Compare August 28, 2025 08:44
Copy link
Contributor

⚠️ Config changes detected in this PR
Please make sure that the config changes are updated in the following places as part of this PR:

  • docs/configuration/configuration.md
    EOF

Copy link
Contributor

📊 Profiling reports are ready to be viewed

⚠️ Variability in pprof CPU and Memory profiles
When comparing pprof profiles of Kepler versions, expect variability in CPU and memory. Focus only on significant, consistent differences.

💻 CPU Comparison with base Kepler
File: kepler
Type: cpu
Time: 2025-08-28 08:47:07 UTC
Duration: 120s, Total samples = 490ms ( 0.41%)
Active filters:
   show=github.com/sustainable-computing-io
Showing nodes accounting for -30ms, 6.12% of 490ms total
Dropped 1 node (cum <= 2.45ms)
      flat  flat%   sum%        cum   cum%
         0     0%     0%      -20ms  4.08%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).Collect
     -10ms  2.04%  2.04%      -10ms  2.04%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).collectProcessMetrics
         0     0%  2.04%      -10ms  2.04%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).Snapshot
         0     0%  2.04%      -10ms  2.04%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculatePower
         0     0%  2.04%      -10ms  2.04%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).ensureFreshData
         0     0%  2.04%      -10ms  2.04%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).refreshSnapshot
         0     0%  2.04%      -10ms  2.04%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh
         0     0%  2.04%      -10ms  2.04%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh.func1
     -10ms  2.04%  4.08%      -10ms  2.04%  github.com/sustainable-computing-io/kepler/internal/monitor.newProcess (inline)
     -10ms  2.04%  6.12%      -10ms  2.04%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).CPUTime
         0     0%  6.12%      -10ms  2.04%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).Refresh
         0     0%  6.12%      -10ms  2.04%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).refreshProcesses
         0     0%  6.12%      -10ms  2.04%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).updateProcessCache
         0     0%  6.12%      -10ms  2.04%  github.com/sustainable-computing-io/kepler/internal/resource.populateProcessFields
💾 Memory Comparison with base Kepler (Inuse)
File: kepler
Type: inuse_space
Time: 2025-08-28 08:49:07 UTC
Duration: 120.01s, Total samples = 9033.07kB 
Active filters:
   show=github.com/sustainable-computing-io
Showing nodes accounting for -512.05kB, 5.67% of 9033.07kB total
Dropped 2 nodes (cum <= 45.17kB)
      flat  flat%   sum%        cum   cum%
         0     0%     0%  -512.05kB  5.67%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculatePower
         0     0%     0%  -512.05kB  5.67%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculateProcessPower
         0     0%     0%  -512.05kB  5.67%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).refreshSnapshot
         0     0%     0%  -512.05kB  5.67%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).scheduleNextCollection.func1
         0     0%     0%  -512.05kB  5.67%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh
         0     0%     0%  -512.05kB  5.67%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh.func1
 -512.05kB  5.67%  5.67%  -512.05kB  5.67%  github.com/sustainable-computing-io/kepler/internal/monitor.newProcess (inline)
💾 Memory Comparison with base Kepler (Alloc)
File: kepler
Type: alloc_space
Time: 2025-08-28 08:49:07 UTC
Duration: 120.01s, Total samples = 70.67MB 
Active filters:
   show=github.com/sustainable-computing-io
Showing nodes accounting for -4.51MB, 6.38% of 70.67MB total
Dropped 3 nodes (cum <= 0.35MB)
      flat  flat%   sum%        cum   cum%
   -6.50MB  9.20%  9.20%    -6.50MB  9.20%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).collectProcessMetrics
         0     0%  9.20%       -4MB  5.65%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).Collect
    0.50MB  0.71%  8.49%     3.01MB  4.27%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).Refresh
         0     0%  8.49%     2.51MB  3.56%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).refreshProcesses
         0     0%  8.49%     2.50MB  3.54%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).Snapshot
         0     0%  8.49%     2.50MB  3.54%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).updateProcessCache
         0     0%  8.49%     2.50MB  3.54%  github.com/sustainable-computing-io/kepler/internal/resource.populateProcessFields
         0     0%  8.49%        2MB  2.84%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).ensureFreshData
       2MB  2.83%  5.66%        2MB  2.83%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).CPUTime
      -2MB  2.83%  8.49%       -2MB  2.83%  github.com/sustainable-computing-io/kepler/internal/monitor.newProcess (inline)
         0     0%  8.49%     1.52MB  2.15%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculatePower
         0     0%  8.49%     1.52MB  2.15%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).refreshSnapshot
         0     0%  8.49%     1.52MB  2.15%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh
         0     0%  8.49%     1.52MB  2.15%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh.func1
    0.50MB  0.71%  7.78%    -1.50MB  2.12%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculateProcessPower
         0     0%  7.78%    -0.52MB  0.73%  github.com/sustainable-computing-io/kepler/internal/resource.computeTypeInfoFromProc.func1
         0     0%  7.78%    -0.52MB  0.73%  github.com/sustainable-computing-io/kepler/internal/resource.containerInfoFromProc
   -0.52MB  0.73%  8.51%    -0.52MB  0.73%  github.com/sustainable-computing-io/kepler/internal/resource.containerInfoFromCgroupPaths
    0.50MB  0.71%  7.79%     0.50MB  0.71%  github.com/sustainable-computing-io/kepler/internal/resource.(*procFSReader).CPUUsageRatio
         0     0%  7.79%     0.50MB  0.71%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).Refresh.func3
         0     0%  7.79%     0.50MB  0.71%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).refreshNode
         0     0%  7.79%     0.50MB  0.71%  github.com/sustainable-computing-io/kepler/internal/monitor.(*Snapshot).Clone
         0     0%  7.79%     0.50MB  0.71%  github.com/sustainable-computing-io/kepler/internal/monitor.(*Node).Clone (inline)
    0.50MB  0.71%  7.09%     0.50MB  0.71%  maps.Copy[go.shape.map[github.com/sustainable-computing-io/kepler/internal/device.EnergyZone]github.com/sustainable-computing-io/kepler/internal/monitor.NodeUsage,go.shape.map[github.com/sustainable-computing-io/kepler/internal/device.EnergyZone]github.com/sustainable-computing-io/kepler/internal/monitor.NodeUsage,go.shape.interface { Energy ; Index int; MaxEnergy github.com/sustainable-computing-io/kepler/internal/device.Energy; Name string; Path string },go.shape.d3532c689e641e18ae228808e1a711679487c0500a069922ca65536b7e6d35f9] (inline)
    0.50MB  0.71%  6.38%     0.50MB  0.71%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).Comm
    0.50MB  0.71%  5.67%     0.50MB  0.71%  maps.Copy[go.shape.map[github.com/sustainable-computing-io/kepler/internal/device.EnergyZone]github.com/sustainable-computing-io/kepler/internal/monitor.Usage,go.shape.map[github.com/sustainable-computing-io/kepler/internal/device.EnergyZone]github.com/sustainable-computing-io/kepler/internal/monitor.Usage,go.shape.interface { Energy ; Index int; MaxEnergy github.com/sustainable-computing-io/kepler/internal/device.Energy; Name string; Path string },go.shape.struct { EnergyTotal github.com/sustainable-computing-io/kepler/internal/device.Energy; Power github.com/sustainable-computing-io/kepler/internal/device.Power }] (inline)
   -0.50MB  0.71%  6.38%    -0.50MB  0.71%  github.com/sustainable-computing-io/kepler/internal/resource.WrapProc (inline)
         0     0%  6.38%    -0.49MB  0.69%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).scheduleNextCollection.func1

⬇️ Download the Profiling artifacts from the Actions Summary page

📦 Artifact name: profile-artifacts-2263

🔧 Or use GitHub CLI to download artifacts:

gh run download 17290660107 -n profile-artifacts-2263

@sthaha sthaha force-pushed the feat-redfish-impl branch from e17ba2c to a341701 Compare August 28, 2025 10:03
@github-actions github-actions bot added the docs Documentation changes label Aug 28, 2025
Copy link
Contributor

⚠️ Config changes detected in this PR
Please make sure that the config changes are updated in the following places as part of this PR:

  • docs/configuration/configuration.md
    EOF

@sthaha sthaha force-pushed the feat-redfish-impl branch from a341701 to 0e61ed1 Compare August 28, 2025 10:05
Copy link
Contributor

⚠️ Config changes detected in this PR
Please make sure that the config changes are updated in the following places as part of this PR:

  • docs/configuration/configuration.md
    EOF

Copy link
Contributor

📊 Profiling reports are ready to be viewed

⚠️ Variability in pprof CPU and Memory profiles
When comparing pprof profiles of Kepler versions, expect variability in CPU and memory. Focus only on significant, consistent differences.

💻 CPU Comparison with base Kepler
File: kepler
Type: cpu
Time: 2025-08-28 10:09:49 UTC
Duration: 120s, Total samples = 510ms ( 0.42%)
Active filters:
   show=github.com/sustainable-computing-io
Showing nodes accounting for 0, 0% of 510ms total
      flat  flat%   sum%        cum   cum%
         0     0%     0%       50ms  9.80%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).Snapshot
         0     0%     0%       50ms  9.80%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).ensureFreshData
      10ms  1.96%  1.96%       50ms  9.80%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).Refresh
         0     0%  1.96%       40ms  7.84%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculatePower
         0     0%  1.96%       40ms  7.84%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).refreshSnapshot
         0     0%  1.96%       40ms  7.84%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh
         0     0%  1.96%       40ms  7.84%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh.func1
      10ms  1.96%  3.92%       40ms  7.84%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).refreshProcesses
         0     0%  3.92%       40ms  7.84%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).updateProcessCache
      10ms  1.96%  5.88%       40ms  7.84%  github.com/sustainable-computing-io/kepler/internal/resource.populateProcessFields
     -30ms  5.88%     0%      -30ms  5.88%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).collectProcessMetrics
      30ms  5.88%  5.88%       30ms  5.88%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).CPUTime
         0     0%  5.88%       20ms  3.92%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).Collect
     -10ms  1.96%  3.92%      -10ms  1.96%  github.com/sustainable-computing-io/kepler/internal/device.Energy.String
         0     0%  3.92%      -10ms  1.96%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculateProcessPower
         0     0%  3.92%      -10ms  1.96%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).scheduleNextCollection.func1
         0     0%  3.92%      -10ms  1.96%  github.com/sustainable-computing-io/kepler/internal/monitor.(*TerminatedResourceTracker[go.shape.*uint8]).Add
     -10ms  1.96%  1.96%      -10ms  1.96%  github.com/sustainable-computing-io/kepler/internal/resource.(*procFSReader).AllProcs
     -10ms  1.96%     0%      -10ms  1.96%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).CmdLine
         0     0%     0%      -10ms  1.96%  github.com/sustainable-computing-io/kepler/internal/resource.computeTypeInfoFromProc.func2
         0     0%     0%      -10ms  1.96%  github.com/sustainable-computing-io/kepler/internal/resource.vmInfoFromProc
💾 Memory Comparison with base Kepler (Inuse)
File: kepler
Type: inuse_space
Time: 2025-08-28 10:11:49 UTC
Duration: 120.01s, Total samples = 8502.19kB 
Active filters:
   show=github.com/sustainable-computing-io
Showing nodes accounting for 2544.12kB, 29.92% of 8502.19kB total
      flat  flat%   sum%        cum   cum%
         0     0%     0%  3072.29kB 36.14%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).Collect
 2560.15kB 30.11% 30.11%  2560.15kB 30.11%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).collectProcessMetrics
         0     0% 30.11%  -528.17kB  6.21%  github.com/sustainable-computing-io/kepler/internal/resource.computeTypeInfoFromProc.func1
 -528.17kB  6.21% 23.90%  -528.17kB  6.21%  github.com/sustainable-computing-io/kepler/internal/resource.containerInfoFromCgroupPaths
         0     0% 23.90%  -528.17kB  6.21%  github.com/sustainable-computing-io/kepler/internal/resource.containerInfoFromProc
         0     0% 23.90%   512.14kB  6.02%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).Snapshot
         0     0% 23.90%   512.14kB  6.02%  github.com/sustainable-computing-io/kepler/internal/monitor.(*Process).Clone (inline)
         0     0% 23.90%   512.14kB  6.02%  github.com/sustainable-computing-io/kepler/internal/monitor.(*Snapshot).Clone
  512.14kB  6.02% 29.92%   512.14kB  6.02%  maps.Copy[go.shape.map[github.com/sustainable-computing-io/kepler/internal/device.EnergyZone]github.com/sustainable-computing-io/kepler/internal/monitor.Usage,go.shape.map[github.com/sustainable-computing-io/kepler/internal/device.EnergyZone]github.com/sustainable-computing-io/kepler/internal/monitor.Usage,go.shape.interface { Energy ; Index int; MaxEnergy github.com/sustainable-computing-io/kepler/internal/device.Energy; Name string; Path string },go.shape.struct { EnergyTotal github.com/sustainable-computing-io/kepler/internal/device.Energy; Power github.com/sustainable-computing-io/kepler/internal/device.Power }] (inline)
💾 Memory Comparison with base Kepler (Alloc)
File: kepler
Type: alloc_space
Time: 2025-08-28 10:11:49 UTC
Duration: 120.01s, Total samples = 60.33MB 
Active filters:
   show=github.com/sustainable-computing-io
Showing nodes accounting for -2.05MB, 3.40% of 60.33MB total
Dropped 4 nodes (cum <= 0.30MB)
      flat  flat%   sum%        cum   cum%
         0     0%     0%        3MB  4.97%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).Collect
         0     0%     0%        2MB  3.32%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).Snapshot
         0     0%     0%        2MB  3.32%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).ensureFreshData
         0     0%     0%       -2MB  3.32%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*cpuInfoCollector).Collect
      -2MB  3.32%  3.32%       -2MB  3.32%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*realProcFS).CPUInfo
         0     0%  3.32%    -1.54MB  2.55%  github.com/sustainable-computing-io/kepler/internal/resource.computeTypeInfoFromProc.func1
         0     0%  3.32%    -1.54MB  2.55%  github.com/sustainable-computing-io/kepler/internal/resource.containerInfoFromProc
   -1.53MB  2.54%  5.86%    -1.53MB  2.54%  github.com/sustainable-computing-io/kepler/internal/resource.containerInfoFromCgroupPaths
    1.50MB  2.49%  3.37%     1.50MB  2.49%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).collectProcessMetrics
    0.50MB  0.83%  2.54%        1MB  1.66%  github.com/sustainable-computing-io/kepler/internal/resource.(*procFSReader).AllProcs
         0     0%  2.54%       -1MB  1.66%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).scheduleNextCollection.func1
         0     0%  2.54%        1MB  1.66%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculatePower
         0     0%  2.54%        1MB  1.66%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).refreshSnapshot
         0     0%  2.54%        1MB  1.66%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh
         0     0%  2.54%        1MB  1.66%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh.func1
         0     0%  2.54%    -0.52MB  0.85%  github.com/sustainable-computing-io/kepler/internal/resource.computeTypeInfoFromProc.func2
   -0.52MB  0.85%  3.40%    -0.52MB  0.85%  github.com/sustainable-computing-io/kepler/internal/resource.vmInfoFromCmdLine
         0     0%  3.40%    -0.52MB  0.85%  github.com/sustainable-computing-io/kepler/internal/resource.vmInfoFromProc
         0     0%  3.40%    -0.50MB  0.83%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).updateProcessCache
         0     0%  3.40%    -0.50MB  0.83%  github.com/sustainable-computing-io/kepler/internal/resource.populateProcessFields
         0     0%  3.40%     0.50MB  0.83%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).Refresh
         0     0%  3.40%     0.50MB  0.83%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).refreshProcesses
   -0.50MB  0.83%  4.23%    -0.50MB  0.83%  github.com/sustainable-computing-io/kepler/internal/resource.(*procFSReader).CPUUsageRatio
   -0.50MB  0.83%  5.05%    -0.50MB  0.83%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).Comm
         0     0%  5.05%    -0.50MB  0.83%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).Refresh.func3
         0     0%  5.05%    -0.50MB  0.83%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).refreshNode
    0.50MB  0.83%  4.23%     0.50MB  0.83%  maps.Copy[go.shape.map[github.com/sustainable-computing-io/kepler/internal/device.EnergyZone]github.com/sustainable-computing-io/kepler/internal/monitor.Usage,go.shape.map[github.com/sustainable-computing-io/kepler/internal/device.EnergyZone]github.com/sustainable-computing-io/kepler/internal/monitor.Usage,go.shape.interface { Energy ; Index int; MaxEnergy github.com/sustainable-computing-io/kepler/internal/device.Energy; Name string; Path string },go.shape.struct { EnergyTotal github.com/sustainable-computing-io/kepler/internal/device.Energy; Power github.com/sustainable-computing-io/kepler/internal/device.Power }] (inline)
         0     0%  4.23%     0.50MB  0.83%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculateProcessPower
    0.50MB  0.83%  3.40%     0.50MB  0.83%  github.com/sustainable-computing-io/kepler/internal/monitor.newProcess (inline)
   -0.50MB  0.83%  4.23%    -0.50MB  0.83%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).collectNodeMetrics
    0.50MB  0.83%  3.40%     0.50MB  0.83%  github.com/sustainable-computing-io/kepler/internal/resource.WrapProc (inline)

⬇️ Download the Profiling artifacts from the Actions Summary page

📦 Artifact name: profile-artifacts-2263

🔧 Or use GitHub CLI to download artifacts:

gh run download 17292587047 -n profile-artifacts-2263

Signed-off-by: Sunil Thaha <sthaha@redhat.com>
Signed-off-by: Sunil Thaha <sthaha@redhat.com>
@sthaha sthaha force-pushed the feat-redfish-impl branch from 0e61ed1 to 340bedf Compare August 28, 2025 11:06
Copy link
Contributor

⚠️ Config changes detected in this PR
Please make sure that the config changes are updated in the following places as part of this PR:

  • docs/configuration/configuration.md
    EOF

Copy link
Contributor

📊 Profiling reports are ready to be viewed

⚠️ Variability in pprof CPU and Memory profiles
When comparing pprof profiles of Kepler versions, expect variability in CPU and memory. Focus only on significant, consistent differences.

💻 CPU Comparison with base Kepler
File: kepler
Type: cpu
Time: 2025-08-28 11:12:16 UTC
Duration: 120s, Total samples = 520ms ( 0.43%)
Active filters:
   show=github.com/sustainable-computing-io
Showing nodes accounting for -20ms, 3.85% of 520ms total
      flat  flat%   sum%        cum   cum%
         0     0%     0%       70ms 13.46%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).Snapshot
         0     0%     0%       70ms 13.46%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).ensureFreshData
         0     0%     0%      -60ms 11.54%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).scheduleNextCollection.func1
         0     0%     0%       50ms  9.62%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).Collect
     -20ms  3.85%  3.85%      -20ms  3.85%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).collectProcessMetrics
         0     0%  3.85%       20ms  3.85%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculatePower
         0     0%  3.85%       20ms  3.85%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).refreshSnapshot
         0     0%  3.85%       20ms  3.85%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh.func1
      20ms  3.85%     0%       20ms  3.85%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).CPUTime
         0     0%     0%       20ms  3.85%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).Refresh
         0     0%     0%       20ms  3.85%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).refreshProcesses
         0     0%     0%       20ms  3.85%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).updateProcessCache
         0     0%     0%       20ms  3.85%  github.com/sustainable-computing-io/kepler/internal/resource.populateProcessFields
     -10ms  1.92%  1.92%      -10ms  1.92%  github.com/sustainable-computing-io/kepler/internal/device.Energy.String
     -10ms  1.92%  3.85%      -10ms  1.92%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculateNodePower
      10ms  1.92%  1.92%       10ms  1.92%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculateProcessPower
     -10ms  1.92%  3.85%       10ms  1.92%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh
         0     0%  3.85%      -10ms  1.92%  github.com/sustainable-computing-io/kepler/internal/monitor.(*TerminatedResourceTracker[go.shape.*uint8]).Add
      10ms  1.92%  1.92%       10ms  1.92%  github.com/sustainable-computing-io/kepler/internal/monitor.newProcess (inline)
     -10ms  1.92%  3.85%      -10ms  1.92%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).CmdLine
         0     0%  3.85%      -10ms  1.92%  github.com/sustainable-computing-io/kepler/internal/resource.computeTypeInfoFromProc.func2
         0     0%  3.85%      -10ms  1.92%  github.com/sustainable-computing-io/kepler/internal/resource.newProcess
         0     0%  3.85%      -10ms  1.92%  github.com/sustainable-computing-io/kepler/internal/resource.vmInfoFromProc
💾 Memory Comparison with base Kepler (Inuse)
File: kepler
Type: inuse_space
Time: 2025-08-28 11:14:16 UTC
Duration: 120.01s, Total samples = 6485.04kB 
Active filters:
   show=github.com/sustainable-computing-io
Showing nodes accounting for 16.03kB, 0.25% of 6485.04kB total
Dropped 2 nodes (cum <= 32.42kB)
      flat  flat%   sum%        cum   cum%
         0     0%     0%   528.17kB  8.14%  github.com/sustainable-computing-io/kepler/internal/resource.computeTypeInfoFromProc.func1
  528.17kB  8.14%  8.14%   528.17kB  8.14%  github.com/sustainable-computing-io/kepler/internal/resource.containerInfoFromCgroupPaths
         0     0%  8.14%   528.17kB  8.14%  github.com/sustainable-computing-io/kepler/internal/resource.containerInfoFromProc
         0     0%  8.14%  -512.14kB  7.90%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculatePower
         0     0%  8.14%  -512.14kB  7.90%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculateProcessPower
         0     0%  8.14%  -512.14kB  7.90%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).refreshSnapshot
         0     0%  8.14%  -512.14kB  7.90%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).scheduleNextCollection.func1
         0     0%  8.14%  -512.14kB  7.90%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh
         0     0%  8.14%  -512.14kB  7.90%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh.func1
 -512.14kB  7.90%  0.25%  -512.14kB  7.90%  github.com/sustainable-computing-io/kepler/internal/monitor.newProcess (inline)
💾 Memory Comparison with base Kepler (Alloc)
File: kepler
Type: alloc_space
Time: 2025-08-28 11:14:16 UTC
Duration: 120.01s, Total samples = 61.13MB 
Active filters:
   show=github.com/sustainable-computing-io
Showing nodes accounting for -2.47MB, 4.05% of 61.13MB total
Dropped 5 nodes (cum <= 0.31MB)
      flat  flat%   sum%        cum   cum%
         0     0%     0%    -5.01MB  8.19%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).Refresh
   -0.50MB  0.82%  0.82%    -5.01MB  8.19%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).refreshProcesses
         0     0%  0.82%    -5.01MB  8.19%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculatePower
    0.50MB  0.82% 0.0042%    -4.51MB  7.37%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).refreshSnapshot
         0     0% 0.0042%    -4.51MB  7.37%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh
         0     0% 0.0042%    -4.51MB  7.37%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh.func1
         0     0% 0.0042%    -4.01MB  6.56%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).ensureFreshData
         0     0% 0.0042%    -3.51MB  5.74%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).Snapshot
         0     0% 0.0042%    -3.50MB  5.73%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).updateProcessCache
         0     0% 0.0042%    -3.50MB  5.73%  github.com/sustainable-computing-io/kepler/internal/resource.populateProcessFields
         0     0% 0.0042%    -3.01MB  4.92%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).Collect
      -3MB  4.91%  4.91%       -3MB  4.91%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).CPUTime
    1.50MB  2.46%  2.45%     1.50MB  2.46%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*realProcFS).CPUInfo
    1.03MB  1.69%  0.77%     1.03MB  1.69%  github.com/sustainable-computing-io/kepler/internal/resource.containerInfoFromCgroupPaths
      -1MB  1.64%  2.41%       -1MB  1.64%  github.com/sustainable-computing-io/kepler/internal/resource.(*procFSReader).AllProcs
   -0.50MB  0.82%  3.23%        1MB  1.64%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*cpuInfoCollector).Collect
         0     0%  3.23%     0.53MB  0.87%  github.com/sustainable-computing-io/kepler/internal/resource.computeTypeInfoFromProc.func1
         0     0%  3.23%     0.53MB  0.87%  github.com/sustainable-computing-io/kepler/internal/resource.containerInfoFromProc
   -0.50MB  0.82%  4.05%    -0.50MB  0.82%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).Cgroups
         0     0%  4.05%     0.50MB  0.82%  github.com/sustainable-computing-io/kepler/internal/monitor.(*Process).Clone (inline)
         0     0%  4.05%     0.50MB  0.82%  github.com/sustainable-computing-io/kepler/internal/monitor.(*Snapshot).Clone
    0.50MB  0.82%  3.23%     0.50MB  0.82%  maps.Copy[go.shape.map[github.com/sustainable-computing-io/kepler/internal/device.EnergyZone]github.com/sustainable-computing-io/kepler/internal/monitor.Usage,go.shape.map[github.com/sustainable-computing-io/kepler/internal/device.EnergyZone]github.com/sustainable-computing-io/kepler/internal/monitor.Usage,go.shape.interface { Energy ; Index int; MaxEnergy github.com/sustainable-computing-io/kepler/internal/device.Energy; Name string; Path string },go.shape.struct { EnergyTotal github.com/sustainable-computing-io/kepler/internal/device.Energy; Power github.com/sustainable-computing-io/kepler/internal/device.Power }] (inline)
    0.50MB  0.82%  2.41%     0.50MB  0.82%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).collectProcessMetrics
   -0.50MB  0.82%  3.23%    -0.50MB  0.82%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).Executable
   -0.50MB  0.82%  4.05%    -0.50MB  0.82%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).CmdLine
         0     0%  4.05%    -0.50MB  0.82%  github.com/sustainable-computing-io/kepler/internal/resource.computeTypeInfoFromProc.func2
         0     0%  4.05%    -0.50MB  0.82%  github.com/sustainable-computing-io/kepler/internal/resource.vmInfoFromProc
         0     0%  4.05%    -0.50MB  0.82%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).scheduleNextCollection.func1

⬇️ Download the Profiling artifacts from the Actions Summary page

📦 Artifact name: profile-artifacts-2263

🔧 Or use GitHub CLI to download artifacts:

gh run download 17293952395 -n profile-artifacts-2263

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation changes feat A new feature or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant