/srv/irclogs.ubuntu.com/2022/05/01/#ubuntu-kernel.txt

jafaseeing a possible problem with virtual memory reporting when using huge tlb pages17:17
jafaapp allocates 97 x 1GB huge tlb pages (locked) using mmap64 so the app is using 97GB plus normal memory allocation17:18
jafaproc/n/status reports VmLck as 0kB and VmRSS as 3GB17:19
jafaall the common utils (top, htop, ps, etc) report 3GB of usage17:20
jafaproc/n/status: https://pastebin.com/JqiCMbs317:20
jafathis app also mmap's 1TB of NVMe space which is why the VmSize value is >1TB17:22
jafait is a problem for administrators who run top and see 3GB of memory usage when the app is actually using 97+3=100GB of ram17:23
jafashould the kernel be reporting the 97GB of locked hugetlb pages in VmLck and VmRSS?17:33
mouaiHi19:13

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!