Code Monkey home page Code Monkey logo

Comments (10)

steveschnepp avatar steveschnepp commented on June 9, 2024 1

This an inherent issue with the way the plugin was writen, as it measures while it runs.

So with a 200ms delay, it give it time to slow down from the initial burst.

from munin.

niclan avatar niclan commented on June 9, 2024 1

The maddening thing here is that some (many?) years ago there was a cpu governor related /proc (or /sys) file that counted time at each CPU speed level which would be the perfect data source for this, just let rrd track the change in the counter on each speed level.

And I wrote a plugin for it which I can't find.

But it might have been related to a specific version of speed governor and CPU.

from munin.

baranyaib90 avatar baranyaib90 commented on June 9, 2024

Yes. I'm not interested about the CPU frequency while munin update is running. I want to graph it in normal circumstances.

from munin.

steveschnepp avatar steveschnepp commented on June 9, 2024

Then you have to emit the average of the interval between 2 runs.

And that's rewriting the plugin to leverage state, as currently it isn't done.

This driver delivers only instant information about the CPU speed
(at the time of the munin data collection). This is not necessarily
representative for the real CPU speed history.

from munin.

steveschnepp avatar steveschnepp commented on June 9, 2024

I would suggest to look at https://github.com/munin-monitoring/contrib/blob/master/plugins/cpu/multicpu1sec or its C version to craft a cpuspeed1sec

from munin.

steveschnepp avatar steveschnepp commented on June 9, 2024

Having the kernel tracking it would be perfect indeed

from munin.

niclan avatar niclan commented on June 9, 2024

I've looked over everything I could think of on my intel laptop and this seems a pipe dream.

Taking performance metrics while munin-node is running the plugins is going to be a headache forever. And with the current information from /proc and /sys it seems we can only get the "instant" speed reading. I see the frequency changes very often. ... If only the cpu governor had a way to keep stats.

from munin.

baranyaib90 avatar baranyaib90 commented on June 9, 2024

Just to clarify: I don't want this graph to draw the average frequency of the last 5 minutes. I know that thats not feasible. I'm fine with the instant frequency value. I only wanted to took out the munin update procedure's CPU burst from the picture, because that made a huge noise in my case (ref: "Graph by default" image). My 200ms sleep is good enough to "let the CPU change back to the frequency the system is mostly running". I hope you got my point.

I would recommend to change the plugin according to point 1 and 3 described at "Expected behavior" to mitigate the situation, since there is no easy proper solution.
This plugin is enabled at almost every munin installation. It would be nice if the graph would be useful for users instead of being disabled by them.

Anyway: I'm fine with closing this ticket, I just wanted to let you know this. Thank you for checking it!

from munin.

steveschnepp avatar steveschnepp commented on June 9, 2024

Can you check #1618 ?

from munin.

baranyaib90 avatar baranyaib90 commented on June 9, 2024

Yes, I just did. Perfectly fine for me. Thank you very much!

from munin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.