add proc_meminfo charts info (#11541)
Co-authored-by: Vladimir Kobal <vlad@prokk.net>
Ilya Mashchenko committed
Sep 21, 2021 at 15:08 UTC
b86d6353f590a1ee8330fe569483774027108630
1 file changed
+11
-1
web/gui/dashboard_info.js
+11
-1
@@ -1185,7 +1185,13 @@ netdataDashboard.context = {
1185
},
1186
1187
'mem.kernel': {
1188
- info: 'The total amount of memory being used by the kernel. <b>Slab</b> is the amount of memory used by the kernel to cache data structures for its own use. <b>KernelStack</b> is the amount of memory allocated for each task done by the kernel. <b>PageTables</b> is the amount of memory dedicated to the lowest level of page tables (A page table is used to turn a virtual address into a physical memory address). <b>VmallocUsed</b> is the amount of memory being used as virtual address space.'
1188
+ info: 'The total amount of memory being used by the kernel. '+
1189
+ '<b>Slab</b> is the memory used by the kernel to cache data structures for its own use. '+
1190
+ '<b>KernelStack</b> is the memory allocated for each task done by the kernel. '+
1191
+ '<b>PageTables</b> is the memory dedicated to the lowest level of page tables (A page table is used to turn a virtual address into a physical memory address). '+
1192
+ '<b>VmallocUsed</b> is the memory being used as virtual address space. '+
1193
+ '<b>Percpu</b> is the memory allocated to the per-CPU allocator used to back per-CPU allocations (excludes the cost of metadata). '+
1194
+ 'When you create a per-CPU variable, each processor on the system gets its own copy of that variable.'
1195
},
1196
1197
'mem.slab': {
@@ -1200,6 +1206,10 @@ netdataDashboard.context = {
1206
info: 'Transparent HugePages (THP) is backing virtual memory with huge pages, supporting automatic promotion and demotion of page sizes. It works for all applications for anonymous memory mappings and tmpfs/shmem.'
1207
},
1208
1209
+ 'mem.hwcorrupt': {
1210
+ info: 'The amount of memory with physical corruption problems, identified by <a href="https://en.wikipedia.org/wiki/ECC_memory" target="_blank">ECC</a> and set aside by the kernel so it does not get used.'
1211
+ },
1212
+
1213
'mem.cachestat_ratio': {
1214
info: 'When the processor needs to read or write a location in main memory, it checks for a corresponding entry in the page cache. If the entry is there, a page cache hit has occurred and the read is from the cache. If the entry is not there, a page cache miss has occurred and the kernel allocates a new entry and copies in data from the disk. Netdata calculates the percentage of accessed files that are cached on memory. <a href="https://github.com/iovisor/bcc/blob/master/tools/cachestat.py#L126-L138" target="_blank">The ratio</a> is calculated counting the accessed cached pages (without counting dirty pages and pages added because of read misses) divided by total access without dirty pages.'
1215
},