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
Add Linux page cache metrics to eBPF #10693
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is ebpf_modules[1]
in L1676. Please use a macro instead of the number.
@@ -19,11 +19,13 @@ | |||
# | |||
# The eBPF collector enables and runs the following eBPF programs by default: | |||
# | |||
# `cachestat`: Make charts for kernel functions related to page cache. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you use the cachestat
word? I think we don't need to add the stat
suffix. We can simply use cache
or pagecache
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are using cachestat
to keep compatibility with the names used by IOvisor
, this was defined together our Product team (@manos-saratsis).
This is a problem with the original algorithm and it is more visible when we take a look direct for application. This is an expected behavior, considering that we are sending data for Netdata only when ratio is different of zero. We took this decision to force a more smooth chart. |
I agree, I was trying to keep the same algorithm for |
@thiagoftsm sorry have been away for few days. Will start reviewing immediately. First comment: the PR name is misleading (this is important because it goes to change log of netdata release): |
Add new eBPF thread to display page cache utilization.
Summary
When I finish the documentation I will give more details.
Component Name
Test Plan
Additional Information