Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Dfly's CPU counting frequency #1140

Merged
merged 2 commits into from
Nov 21, 2018

Conversation

iori-yja
Copy link
Contributor

@iori-yja iori-yja commented Nov 2, 2018

I have confirmed this simple unit change works fine with following step:

  1. Run cat /dev/urandom | gzip -c > /dev/null as many as the number of cores (it was 4 here)
  2. Confirm (sum(irate(node_cpu_seconds_total{}[5m])) - sum(irate(node_cpu_seconds_total{mode="idle"}[5m]))) reports similar number as above (was completely same to 4 in grafana dashborad)
  3. Kill one of those processes and confirm it decrease around 1
  4. Do 3 until no 2's processes alive

Fixes: #1129

@iori-yja iori-yja changed the title Change Dfly's CPU counting frequency, see: #1129 Change Dfly's CPU counting frequency Nov 2, 2018
@discordianfish
Copy link
Member

@stuartnelson3 Could you confirm whether this still works on your system? In that case I'd merge this.

Copy link
Member

@discordianfish discordianfish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, pending @stuartnelson3 confirmation.

@stuartnelson3
Copy link
Contributor

@stuartnelson3 Could you confirm whether this still works on your system? In that case I'd merge this.

😅 I would but that machine has been turned into a linux machine

Signed-off-by: iori-yja <fivo.11235813@gmail.com>
Signed-off-by: iori-yja <fivo.11235813@gmail.com>
@iori-yja iori-yja force-pushed the fix-cpu-counterfreq-dfly branch from 216fedb to 460e845 Compare November 16, 2018 06:14
@iori-yja
Copy link
Contributor Author

fixed for DCO check

@discordianfish
Copy link
Member

@SuperQ ping

@discordianfish discordianfish mentioned this pull request Nov 21, 2018
@SuperQ SuperQ merged commit ea8e137 into prometheus:master Nov 21, 2018
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.

4 participants