contrail-vrouter-dpdk cannot use 1G hugepages on linux kernel 4.13+
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenContrail |
New
|
Undecided
|
Unassigned |
Bug Description
Starting from Linux kernel 4.13-rc1 format reporting hugetlbfs page size is changed:
OLD: Hugetlbfs-kvm /mnt/hugepages_1G hugetlbfs mode=775,
NEW: Hugetlbfs-kvm /mnt/hugepages_1G hugetlbfs rw,relatime,
(commit: https:/
OpenContrail checks available page sizes by comparing mounted huge page options to "1G":
if (strstr(options, "pagesize=1G")) {
https:/
Since pagesize is now displayed as "1024M", OpenContrail fails to recognize that 1G hugepages are available, and does not try to allocate memory. If only 1G hugepages are available on a system, contrail-
The issues affects all supported versions, including master branch