Add support for static and transparent hugepages - #4864
Conversation
df10776 to
eb46523
Compare
105068c to
4acc986
Compare
|
Could you test failure to boot? Using |
a5417c7 to
99a8f2b
Compare
75a7559 to
4452a7c
Compare
|
@vigh-m - Testing related to that is covered here - bottlerocket-os/bottlerocket-core-kit#952. Some additional testing: the boot fails because 16Mi size passes static checks but fails runtime check (while setting the setting). The instance fails to boot. The syslog says the following: |
Signed-off-by: Piyush Jena <jepiyush@amazon.com>
4452a7c to
9850eb4
Compare
Signed-off-by: Piyush Jena <jepiyush@amazon.com>
9850eb4 to
4668436
Compare
|
As mentioned in this PR - #4459 metadata migration is not required. Added services migration. Booted older version and checked for upgrade. Also, as you can see the hugepage settings are not present. After reboot. The version is 1.64.0 and the hugepages settings work. I downgrade post that. After downgrade the settings aren't present. |
Closes #
Description of changes:
Testing done:
Set the following settings:
The hugepages are not allocated yet because we have set it up to allocate only at boot.
Post reboot:
200 hugepages of default size has been allocated. Hugetlb size = 2048200 + 10485762 = 2506752 kB
$ kubectl describe node --kubeconfig bottlerocket-cluster-134.kubeconfig[Output trimmed for brevity]
As we can see the hugepages show up as allocatable resources.
Terms of contribution:
By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.