Comment 10 for bug 1832647

Revision history for this message
Bin Yang (byangintel) wrote :

it is highlighted that "order zero" (4KB) allocation causes OOM. It looks unreasonable that 4KB allocation was failed.

Here we have two problems:
1. Why 4KB memory allocation causes the OOM
2. Why system has no enough memory

For #1, please refer to my comment in another bug: https://bugs.launchpad.net/starlingx/+bug/1827258/comments/15

For #2, I see some unreasonable hugepages info when oom is triggered:
Node 0 hugepages_total=14104 hugepages_free=14104 hugepages_surp=0 hugepages_size=2048kB
Node 1 hugepages_total=14381 hugepages_free=14381 hugepages_surp=0 hugepages_size=2048kB

It looks hugepages occupy most of system memory and they are not used at all.

I will continue to look into it.