Comments (6)
Hi Andrea,
If I understand your request correctly the core functionality should be there already, i.e.:
prmon_plot.py --input ... --xvar wtime --yvar rx_bytes
would create the usual time evolution of rx_bytes
like:
while
prmon_plot.py --input ... --xvar wtime --yvar rx_bytes --diff
would compute and plot delta(yvar)/delta(xvar) as:
I think we can improve the labeling etc. but is this what you're after?
Best,
Serhan
from prmon.
Exactly! The only degree of freedom is the delta_t used to estimate the derivative. It should be a multiple of the sampling interval; some degree of smoothing may be desirable (maybe a sensible default and a configurable parameter? Up to you!).
Cheers,
Andrea
from prmon.
I was thinking again, and maybe it's not just a matter of plots, but we should consider IO rates as "real" metrics, which means having their values written already in prmon.txt, such that prmon.json will contain max and avg of them, too... Clearly it's more work because they should be calculated in prmon itself.
Andrea
from prmon.
Hi @sciaba - I am not so sure about that. From the accumulating values it's easy to calculate the derivative and we could easily adopt a few strategies to do that (various sliding window shapes and widths). If you take the derivative inside prmon and then only give rates it's not so easy to go backwards.
Technically it's not that hard to do, but I what we do now is more useful and reflects the underlying metric better, so it's easier to relate to other measurements.
from prmon.
You convinced me!
from prmon.
The plotting aspect of this issue is addressed in #66. I think the consensus is not to make any changes to the core code for this. Therefore, I'm closing this issue. Please feel free to re-open if need be.
from prmon.
Related Issues (20)
- Count number of active CPUs for monitored processes HOT 2
- Rename master branch to main HOT 3
- spdlog vs boost.log for prmon logging HOT 7
- Fix compilation issues under gcc11 HOT 1
- Network monitor not properly initialised
- Cleanup CI HOT 3
- Improve Python to be more Python3 native HOT 1
- error on make -j8
- Submodule missing from source tarball HOT 2
- prmon v3.0.0 compilation problem with clang10/13
- Improve logging output handling
- Update spdlog
- Should we try to support prmon on OS X? HOT 1
- Add support for smaps_rollup HOT 3
- Add CITATION.cff file
- Need to update CMake policy
- Review gtest version HOT 1
- prmon doesn't seem to handle SIGUSR1 correctly in the ATLAS grid jobs HOT 2
- PrMon in conda-forge? HOT 3
- Add AL9 as a CI platform
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prmon.