Skip to content

Conversation

@vprashar2929
Copy link
Collaborator

No description provided.

@github-actions github-actions bot added the ci Changes to the CI pipeline label Dec 11, 2025
@github-actions
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
Build ID: 404d2a63a936ad3ed0c633321da1039752be1f66
Type: cpu
Time: 2025-12-11 09:45:49 UTC
Duration: 120s, Total samples = 4.12s ( 3.43%)
Active filters:
   show=github.com/sustainable-computing-io
Showing nodes accounting for 0.07s, 1.70% of 4.12s total
Dropped 2 nodes (cum <= 0.02s)
      flat  flat%   sum%        cum   cum%
    -0.04s  0.97%  0.97%     -0.04s  0.97%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).CPUTime
         0     0%  0.97%      0.03s  0.73%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PlatformCollector).Collect
         0     0%  0.97%     -0.03s  0.73%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculateProcessPower
         0     0%  0.97%      0.03s  0.73%  github.com/sustainable-computing-io/kepler/internal/platform/redfish.(*PowerReader).ReadAll
     0.03s  0.73%  0.24%      0.03s  0.73%  github.com/sustainable-computing-io/kepler/internal/platform/redfish.(*PowerReader).readPowerSubsystem
         0     0%  0.24%      0.03s  0.73%  github.com/sustainable-computing-io/kepler/internal/platform/redfish.(*Service).Power
     0.02s  0.49%  0.24%      0.03s  0.73%  github.com/sustainable-computing-io/kepler/internal/resource.(*procFSReader).AllProcs
     0.03s  0.73%  0.97%      0.03s  0.73%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).Comm
     0.01s  0.24%  1.21%      0.03s  0.73%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).Refresh
    -0.02s  0.49%  0.73%     -0.02s  0.49%  github.com/sustainable-computing-io/kepler/internal/device.Energy.String
         0     0%  0.73%      0.02s  0.49%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).Collect
     0.02s  0.49%  1.21%      0.02s  0.49%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).collectProcessMetrics
         0     0%  1.21%     -0.02s  0.49%  github.com/sustainable-computing-io/kepler/internal/monitor.(*TerminatedResourceTracker[go.shape.*uint8]).Add
    -0.02s  0.49%  0.73%      0.02s  0.49%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).refreshProcesses
     0.01s  0.24%  0.97%      0.01s  0.24%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*realProcFS).CPUInfo
     0.01s  0.24%  1.21%      0.01s  0.24%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).refreshSnapshot
         0     0%  1.21%      0.01s  0.24%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).scheduleNextCollection.func1
         0     0%  1.21%      0.01s  0.24%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh
         0     0%  1.21%      0.01s  0.24%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh.func1
     0.01s  0.24%  1.46%      0.01s  0.24%  github.com/sustainable-computing-io/kepler/internal/monitor.(*Process).Clone (inline)
    -0.01s  0.24%  1.21%     -0.01s  0.24%  github.com/sustainable-computing-io/kepler/internal/monitor.(*Process).StringID (inline)
    -0.01s  0.24%  0.97%     -0.01s  0.24%  github.com/sustainable-computing-io/kepler/internal/resource.(*procFSReader).CPUUsageRatio
         0     0%  0.97%     -0.01s  0.24%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).Refresh.func3
         0     0%  0.97%     -0.01s  0.24%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).refreshNode
     0.02s  0.49%  1.46%      0.01s  0.24%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).updateProcessCache
     0.01s  0.24%  1.70%      0.01s  0.24%  github.com/sustainable-computing-io/kepler/internal/resource.WrapProc (inline)
         0     0%  1.70%     -0.01s  0.24%  github.com/sustainable-computing-io/kepler/internal/resource.populateProcessFields
💾 Memory Comparison with base Kepler (Inuse)
File: kepler
Build ID: 404d2a63a936ad3ed0c633321da1039752be1f66
Type: inuse_space
Time: 2025-12-11 09:47:49 UTC
Duration: 120.02s, Total samples = 7.20MB 
Active filters:
   show=github.com/sustainable-computing-io
Showing nodes accounting for 0.53MB, 7.42% of 7.20MB total
      flat  flat%   sum%        cum   cum%
    1.01MB 14.06% 14.06%     1.01MB 14.06%  github.com/sustainable-computing-io/kepler/internal/resource.(*procFSReader).CPUUsageRatio
         0     0% 14.06%     1.01MB 14.06%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).Refresh.func3
         0     0% 14.06%     1.01MB 14.06%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).refreshNode
      -1MB 13.89%  0.17%       -1MB 13.89%  github.com/sustainable-computing-io/kepler/internal/monitor.newProcess (inline)
         0     0%  0.17%     0.52MB  7.25%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).Collect
         0     0%  0.17%     0.52MB  7.25%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).Snapshot
         0     0%  0.17%     0.52MB  7.25%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).ensureFreshData
         0     0%  0.17%     0.51MB  7.07%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).Refresh
    0.51MB  7.07%  7.24%     0.51MB  7.07%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).refreshProcesses
         0     0%  7.24%    -0.50MB  6.95%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).scheduleNextCollection.func1
   -0.50MB  6.95%  0.29%    -0.50MB  6.95%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*cpuInfoCollector).Collect
    0.51MB  7.13%  7.42%    -0.49MB  6.77%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculateProcessPower
         0     0%  7.42%     0.02MB   0.3%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculatePower
         0     0%  7.42%     0.02MB   0.3%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).refreshSnapshot
         0     0%  7.42%     0.02MB   0.3%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh
         0     0%  7.42%     0.02MB   0.3%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh.func1
💾 Memory Comparison with base Kepler (Alloc)
File: kepler
Build ID: 404d2a63a936ad3ed0c633321da1039752be1f66
Type: alloc_space
Time: 2025-12-11 09:47:49 UTC
Duration: 120.02s, Total samples = 195705875B 
Active filters:
   show=github.com/sustainable-computing-io
Showing nodes accounting for 8928938B, 4.56% of 195705875B total
Dropped 2 nodes (cum <= 978529B)
      flat  flat%   sum%        cum   cum%
         0     0%     0%  12066175B  6.17%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).Collect
  9971372B  5.10%  5.10%   9971372B  5.10%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*PowerCollector).collectProcessMetrics
         0     0%  5.10%  -6297807B  3.22%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).scheduleNextCollection.func1
 -5777569B  2.95%  2.14%  -5777569B  2.95%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).CPUTime
         0     0%  2.14%  -5777569B  2.95%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).updateProcessCache
         0     0%  2.14%  -5777569B  2.95%  github.com/sustainable-computing-io/kepler/internal/resource.populateProcessFields
         0     0%  2.14%  -4727348B  2.42%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculatePower
         0     0%  2.14%  -4727348B  2.42%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).refreshSnapshot
         0     0%  2.14%  -4727348B  2.42%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh
         0     0%  2.14%  -4727348B  2.42%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).synchronizedPowerRefresh.func1
  2660256B  1.36%  3.50%   3708864B  1.90%  github.com/sustainable-computing-io/kepler/internal/resource.(*procFSReader).AllProcs
  2684479B  1.37%  4.87%   2684479B  1.37%  github.com/sustainable-computing-io/kepler/internal/resource.(*procFSReader).CPUUsageRatio
         0     0%  4.87%   2684479B  1.37%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).Refresh.func3
         0     0%  4.87%   2684479B  1.37%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).refreshNode
 -2143152B  1.10%  3.78%  -2667792B  1.36%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculateProcessPower
         0     0%  3.78%   2094803B  1.07%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).Snapshot
         0     0%  3.78%   1570459B   0.8%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).ensureFreshData
   533557B  0.27%  4.05%  -1535148B  0.78%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).refreshProcesses
         0     0%  4.05%  -1053446B  0.54%  github.com/sustainable-computing-io/kepler/internal/device.(*AggregatedZone).Energy
 -1053446B  0.54%  3.51%  -1053446B  0.54%  github.com/sustainable-computing-io/kepler/internal/device.sysfsRaplZone.Energy
         0     0%  3.51%  -1053446B  0.54%  github.com/sustainable-computing-io/kepler/internal/monitor.(*PowerMonitor).calculateNodePower
  1048608B  0.54%  4.05%   1048608B  0.54%  github.com/sustainable-computing-io/kepler/internal/resource.WrapProc (inline)
   529038B  0.27%  4.32%  -1006110B  0.51%  github.com/sustainable-computing-io/kepler/internal/resource.(*resourceInformer).Refresh
   986138B   0.5%  4.82%    986138B   0.5%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*realProcFS).CPUInfo
       -8B 4.1e-06%  4.82%    986130B   0.5%  github.com/sustainable-computing-io/kepler/internal/exporter/prometheus/collector.(*cpuInfoCollector).Collect
   540843B  0.28%  5.10%    540843B  0.28%  github.com/sustainable-computing-io/kepler/internal/resource.vmInfoFromCmdLine
         0     0%  5.10%   -529038B  0.27%  github.com/sustainable-computing-io/kepler/internal/resource.newProcess
         0     0%  5.10%   -526338B  0.27%  github.com/sustainable-computing-io/kepler/internal/resource.computeTypeInfoFromProc.func1
  -526338B  0.27%  4.83%   -526338B  0.27%  github.com/sustainable-computing-io/kepler/internal/resource.containerInfoFromCgroupPaths
         0     0%  4.83%   -526338B  0.27%  github.com/sustainable-computing-io/kepler/internal/resource.containerInfoFromProc
  -524640B  0.27%  4.56%   -524640B  0.27%  github.com/sustainable-computing-io/kepler/internal/monitor.newProcess (inline)
  -524544B  0.27%  4.29%   -524544B  0.27%  github.com/sustainable-computing-io/kepler/internal/resource.(*procWrapper).CmdLine
   524344B  0.27%  4.56%    524344B  0.27%  github.com/sustainable-computing-io/kepler/internal/monitor.(*Process).Clone (inline)
         0     0%  4.56%    524344B  0.27%  github.com/sustainable-computing-io/kepler/internal/monitor.(*Snapshot).Clone

⬇️ Download the Profiling artifacts from the Actions Summary page

📦 Artifact name: profile-artifacts-2368

🔧 Or use GitHub CLI to download artifacts:

gh run download 20128746827 -n profile-artifacts-2368

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Changes to the CI pipeline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant