please add support for MAP_HUGETLB in eglibc for Lucid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Lucid Backports |
Fix Released
|
Wishlist
|
Unassigned | ||
eglibc (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Lucid |
Won't Fix
|
Low
|
Adam Conrad | ||
libhugetlbfs (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Lucid |
Invalid
|
High
|
Adam Conrad |
Bug Description
it looks like eglibc on 10.04 does not have MAP_HUGETLB headers or flags activated [1].
According to hugetlbpage.txt [2] they state that if the application is making use of only (shmget, shmat) calls you don't really
need a virtual filesystem. This behaviout *DOES NOT* happen on 10.04 using the released hugepages 10.04 packages but it DOES WORK when using precise packages.
[Impact]
Those wishing utilize hugepages on Lucid.
[Test Case]
Here are some steps to reproduce the issue.
1. Configure hugepages with filesystem support.
2. Test and validate that it works with 10.04 packages.
3. Umount the virtual filesystem
sudo umount /mnt/hugetlbfs
4. run:
LD_PRELOAD=
You will get the following error message:
libhugetlbfs: WARNING: Hugepage size 2097152 unavailable
abi-2.6.
5. Download hugepages packages from:
https:/
6. Try again. It should work without having to configure a virtual filesystem.
[1] - http://
[2] - http://
Leonardo Borda
[Regressioni Potential]
Huge page support is already in the kernel so this impact is merely making use of that functionality. There should be no changes needed in current applications since hugepages can be used through existing shmget,shmat routines.
Related branches
description: | updated |
Changed in eglibc (Ubuntu Lucid): | |
assignee: | nobody → Adam Stokes (adam-stokes) |
milestone: | none → lucid-updates |
importance: | Undecided → High |
status: | New → In Progress |
Changed in libhugetlbfs (Ubuntu): | |
status: | New → Invalid |
Changed in libhugetlbfs (Ubuntu Lucid): | |
status: | New → In Progress |
Changed in eglibc (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in eglibc (Ubuntu Lucid): | |
status: | In Progress → Confirmed |
Changed in libhugetlbfs (Ubuntu Lucid): | |
assignee: | nobody → Adam Conrad (adconrad) |
Changed in eglibc (Ubuntu Lucid): | |
assignee: | Adam Stokes (adam-stokes) → Adam Conrad (adconrad) |
importance: | High → Low |
Changed in libhugetlbfs (Ubuntu Lucid): | |
importance: | Undecided → High |
Status changed to 'Confirmed' because the bug affects multiple users.