HUGETLBFS is disabled
Bug #1933627 reported by
Juerg Haefliger
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-raspi (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Hirsute |
Fix Released
|
Undecided
|
Unassigned | ||
Impish |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Huge pages can't be managed via hugeadm which requires hugetlbfs.
[Test Case]
$ hugeadm --pool-list
hugeadm:ERROR: kernel does not support huge pages
With fix:
$ hugeadm --pool-list
Size Minimum Current Maximum Default
65536 0 0 0
2097152 0 0 0 *
33554432 0 0 0
1073741824 0 0 0
[Fix]
Enable CONFIG_HUGETLBFS
[Regression Potential]
This config enables code that is disabled by default. However, there is minimal stub code running at boot so problems would most likely show up as splats during boot or later on when hugetlbfs is explicitly mounted by systemd.
no longer affects: | linux-raspi (Ubuntu Impish) |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in linux-raspi (Ubuntu Impish): | |
status: | New → Fix Committed |
no longer affects: | linux-raspi (Ubuntu Impish) |
no longer affects: | linux-raspi-unstable (Ubuntu Hirsute) |
Changed in linux-raspi-unstable (Ubuntu Impish): | |
status: | New → Fix Committed |
Changed in linux-raspi (Ubuntu Hirsute): | |
status: | New → Fix Committed |
no longer affects: | linux-raspi-unstable (Ubuntu) |
no longer affects: | linux-raspi-unstable (Ubuntu Impish) |
Changed in linux-raspi (Ubuntu Impish): | |
status: | New → Fix Released |
Changed in linux-raspi (Ubuntu Focal): | |
status: | New → Confirmed |
no longer affects: | linux-raspi (Ubuntu Focal) |
To post a comment you must log in.
With CONFIG_HUGETLBFS:
$ sudo dmesg | grep -i huge
[ 0.140447] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.140496] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.140522] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.140546] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 10.532665] systemd[1]: Mounting Huge Pages File System...
[ 10.801024] systemd[1]: Mounted Huge Pages File System.