| Summary: | RHEL6.1 mm: hugepages can cause negative commitlimit | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Russ Anderson <randerso> |
| Component: | kernel | Assignee: | Andrea Arcangeli <aarcange> |
| Status: | CLOSED ERRATA | QA Contact: | Petr Beňas <pbenas> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.3 | CC: | amit.shah, aquini, dwa, gbeshers, gcosta, kzhang, martinez, pbenas, peterm, prarit, pstehlik, randerso, rja, srao, tburke |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | kernel-2.6.32-169.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-06 13:31:13 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 580953, 688933 | ||
|
Description
Russ Anderson
2011-05-13 13:59:45 UTC
Turns out that when hugepages are allocated totalram_pages gets decremented so there is no need to subtract hugetlb_total_pages(). Sent a fix to the community. http://marc.info/?l=linux-mm&m=130573288915598&w=2 Rafael Aquini has proposed an alternative solution that works. http://marc.info/?l=linux-kernel&m=130706986010785&w=2 I thought the first solution was not ok, the second looks better. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. *** Bug 522574 has been marked as a duplicate of this bug. *** Patch(es) available on kernel-2.6.32-169.el6 Howdy Peter,
Seems that your attempt to setup gigantic hugepages is being 'rejected', as your hugepage size still reported as the ordinary 2MB:
> Hugepagesize: 2048 kB
Check if the processor you're using for your tests supports 1GB pages. If the CPU supports 1GB pages it has the PDPE1GB flag.
Cheers!
--aquini
Reprodiuced in 2.6.32-168.el6.x86_64 and verified in 2.6.32-169.el6.x86_64. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2011-1530.html |