kubectl top pod 得到的内存使用量,并不是cadvisor 中的container_memory_usage_bytes,而是container_memory_working_set_bytes,计算方式为: container_memory_usage_bytes == container_memory_rss + container_memory_cache + kernel mem
在阅读了一些文章之后,有两条建议:"container_memory_rss","container_memory_working_set_bytes“导读...
container_memory_working_set_bytes = container_memory_usage_bytes - total_inactive_anon - total_inactive_file rss = total_inactive_anon + total_active_anon cache = total_inactive_file + total_active_file kubelet比较container_memory_working_set_bytes和container_spec_memory_limit_bytes来决定oom cont...
memory.stat中包含有的内存信息 active_anon + inactive_anon = anonymous memory + file cache for tmpfs + swap cache = rss + file cache for tmpfs active_file + inactive_file = cache - size of tmpfs working set = usage - total_inactive(k8s根据workingset 来判断是否驱逐pod) 1. 2. 3. mstat...
问container_memory_working_set_bytes与process_resident_memory_bytes、total_rss的关系EN大数据与Hadoop/...
如此之大(几乎是10倍以上)container_memory_working_set_bytesprocess_resident_memory_bytes另外,和之间的关系在这里很奇怪,这是我没想到的,读完这里后container_memory_working_set_bytescontainer_memory_rss + file_mapped匿名和交换缓存内存的总量(它包括透明的大页面),它等于来自 memory.status 文件的total_rss值...
客户使用我们的产品,我们产品默认监控内存使用的container_memory_working_set_bytes相关,后来一个同事的建议下,客户改为container_memory_rss相关,最近...
container_memory_working_set_bytes用于OoM决策,因为它不包括在内存压力情况下可能被驱逐的缓存数据(...