[Question] report ghes_estatus_pool consume too much memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello James,

   Sorry to bother you. It's just that we have come across a problem that
ghes_estatus_pool consume too much meory.
   I upgrade the linux kernel of a AMD machine from 4.18 to 5.10. The free
memory decreased about 1GB. I found out it is because ghes_estatus_pool consumed
about 900MB.
root:~ # cat /proc/vmallocinfo | grep ghes
0xffffb3eb06aed000-0xffffb3eb06caf000 1843200 ghes_estatus_pool_init+0x3e/0xa0
pages=449 vmalloc N0=449
0xffffb3eb30001000-0xffffb3eb680d3000 940384256 ghes_estatus_pool_init+0x3e/0xa0
pages=229585 vmalloc vpages N0=229585

It is because the following commit alloc 64K for each ghes.
   ACPI / APEI: Make estatus pool allocation a static size

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v6.8-rc7&id=fb7be08f1a091ec243780bfdad4bf0c492057808

But the AMD machine have 14350 ghes, only 8 of them are nofified through NMI.
64K for each ghes. So it will consume about 900M
[wxf@localhost ~]$ cat HEST.dsl | grep "Notify Type : 04 \[NMI\]" | wc -l
8
[wxf@localhost ~]$ cat HEST.dsl | grep "Notify Type :" | wc -l
14350

So I'm wondering whether we can revert this commit. I am not sure if there
exists any retriction. Thanks a lot!

Thanks,
Xiongfeng





[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]
  Powered by Linux