Go to file
Tao Liu 48a3c500ba Fix the host unlock rejection caused by memory check
Historically, the node total memory is calculated based on
total of allocated hugepages, and usable Linux memory.
NODE_TOTAL_MiB = HTOT + (AVAIL + PSS)

This bottom-up calculation introduced variability and complexity.
In some cases, the previously allocated memory exceeds the current
total memory when AVAIL and PSS changed.

This update changes NODE_TOTAL_MiB to MemTotal (the node's total
usable ram), therefore Possible Huge Pages Memory = MemTotal -
Platform Reserved.

This update also adds a constraint, which only allows 90% of the
Possible Huge Pages Memory to be allocated.

Closes-Bug: 1837749

Change-Id: I2fa1d82f70263bb2a1b93df2a405a979b42ed83a
Signed-off-by: Tao Liu <tao.liu@windriver.com>
2019-08-12 13:18:52 -04:00
2019-07-03 12:49:04 +00:00
2019-08-01 11:23:22 +08:00
2019-08-06 10:09:32 -05:00
2018-05-31 07:35:52 -07:00

stx-config

StarlingX Configuration Management

Description
StarlingX System Configuration Management
Readme 106 MiB
Languages
Python 98%
Shell 1.6%
CSS 0.2%