-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
cadvisor memory legend #638
Comments
"hot" refers to the working set, which is held in RAM, and "total" refers +1 to your suggestion of documenting it. AFAIK this isn't documented On Wed, Apr 8, 2015 at 1:45 PM, Sean Humbarger notifications@github.com
|
Hot is the working set - pages that has been recently touched as calculated I don't think the total on cadvisor page includes swap, but we should On Wed, Apr 8, 2015 at 3:17 PM, Vish Kannan notifications@github.com
|
We used to have a bug open for this, but we closed it with some API comments. We should document this in the UI as well. |
Thanks for the info! |
What I find confusing when using cAdvisor the first time is that it says 16Gib of a total of 24 Gib memory is used. Via |
Memory accounting is interesting because different parts of the kernel do it differently. I am not sure what |
@vishh : the memory usage aggregated by cadvisor is the total hot (working set) memory + cold pages + swap that's right? |
AFAIK it does not account for swap as of now. On Mon, Oct 26, 2015 at 4:08 AM, mboussaa notifications@github.com wrote:
|
Working set memory == RSS ? |
the hot or total memory is sent to backend storage like influxdb ? |
Working set & total are sent - see https://github.com/google/cadvisor/blob/master/storage/influxdb/influxdb.go#L119-L124 |
So let me try again. Details in https://www.kernel.org/doc/Documentation/cgroups/memory.txt. Total ( How's that? |
Is working set shared between containers? Because if I sum up all container's working sets it's well above the total memory. And all containers' working sets are exactly the same. |
working_set is not shared between containers. Are you running with swap On Wed, Feb 24, 2016 at 7:17 PM, John Yani notifications@github.com wrote:
|
Ah, it's probably heapster's bug then. I use memory/working_set_bytes_gauge which is the same, no matter which container I choose. |
It would be really nice if cadvisor didn't include cached memory as "used" in it's overview / summary graphs. This results in confusing / inconsistent display on most linux hosts, e.g. the "overview" will show 90% memory used while the table directly below will list no process in which memory use is high (since it is mostly in cache). |
Closing very old issue. |
When looking at the total memory usage of a running container, the legend shows "hot" and "total". Is there any documentation that explains the definition "hot" and "total" and how that is calculated?
The text was updated successfully, but these errors were encountered: