Skip to content

Conversation

@davidkopp
Copy link
Contributor

Corresponding changes in documentation repo: green-coding-solutions/documentation#117

Related to discussion in issue #1267

New metric providers in config.yml were tested successfully together with PR #1270, with one exception: the cgroup system network provider has an issue (I will create a new PR for that).

@davidkopp
Copy link
Contributor Author

I successfully tested it with the following config:

      cpu.utilization.cgroup.system.provider.CpuUtilizationCgroupSystemProvider:
        sampling_rate: 99
        cgroups:
            "system.slice/docker-ed6a88af6ec0cff911260c1aa2bb486cc10ec6bdf71f95631fa01b312e209aaa.scope":
                name: "Stress"
      memory.used.cgroup.system.provider.MemoryUsedCgroupSystemProvider:
        sampling_rate: 99
        cgroups:
            "system.slice/docker-ed6a88af6ec0cff911260c1aa2bb486cc10ec6bdf71f95631fa01b312e209aaa.scope":
                name: "Stress"
      disk.io.cgroup.system.provider.DiskIoCgroupSystemProvider:
        sampling_rate: 99
        cgroups:
            "system.slice/docker-ed6a88af6ec0cff911260c1aa2bb486cc10ec6bdf71f95631fa01b312e209aaa.scope":
                name: "Stress"
      network.io.cgroup.system.provider.NetworkIoCgroupSystemProvider:
        sampling_rate: 99
        cgroups:
            "system.slice/docker-ed6a88af6ec0cff911260c1aa2bb486cc10ec6bdf71f95631fa01b312e209aaa.scope":
                name: "Stress"

Result:

image

Used stress command:

stress-ng --cpu 1 --sockpair 1 --hdd 1 --mmap 1

@davidkopp davidkopp requested a review from ArneTR August 5, 2025 16:38
@github-actions
Copy link

github-actions bot commented Aug 5, 2025

Eco CI Output [RUN-ID: 16755676692]:

🌳 CO2 Data:
City: Boydton, Lat: 36.6694, Lon: -78.3877
IP: 20.109.38.228
CO₂ from energy is: 1.639889240 g
CO₂ from manufacturing (embodied carbon) is: 0.278583255 g
Carbon Intensity for this location: 418 gCO₂eq/kWh
SCI: 1.918472 gCO₂eq / pipeline run emitted


Total cost of whole PR so far:

Label🖥 avg. CPU utilization [%]🔋 Total Energy [Joules]🔌 avg. Power [Watts]Duration [Seconds]
Measurement #125.57943923.184.02976.41
Total Run25.583923.184.02976.41
Additional overhead from Eco CIN/A10.804.152.60

@ArneTR
Copy link
Member

ArneTR commented Aug 6, 2025

👍❤️

@ArneTR ArneTR merged commit 33993f2 into main Aug 6, 2025
1 check passed
@ArneTR ArneTR deleted the documentation-of-cgroup-system-metric-provider branch August 6, 2025 05:16
ArneTR added a commit that referenced this pull request Aug 12, 2025
* main:
  Bump actions/create-github-app-token in /.github/workflows (#1284)
  Bump pylint from 3.3.7 to 3.3.8 (#1285)
  Updated echarts vor v.6.0 (#1282)
  Bump python from 3.13.5-slim-bookworm to 3.13.6-slim-bookworm in /docker (#1286)
  Bump deepdiff from 8.5.0 to 8.6.0 (#1283)
  Log parsing on full data (#1276)
  Bump redis from 6.3.0 to 6.4.0 (#1281)
  Added Gemini PR Review
  measurement_flow_process_duration is set in any case. Supplying a timeout of None will lead to no timeout
  Detect systemd cgroup path using cgroup name (instead of container id) (#1270)
  Bump redis from 6.2.0 to 6.3.0 (#1275)
  Removing sampling_rate for XGboost also from codespaces
  lsmod now uses sort
  Added kernel modules to listing
  (fix): Warnings error should not show on HTTP 204 - case is expected
  Fix NetworkIoCgroupSystemProvider doesn't create a value column (#1274)
  Clarifying comment for design decision
  Document the usage of cgroup system metric providers (#1273)
  Suspend check (#1269)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants