Bug 662932
| Summary: | failed to allocate new chunk when set lots of vlan in RHEL6 32 bit guest | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Joy Pu <ypu> | ||||
| Component: | kernel | Assignee: | Herbert Xu <herbert.xu> | ||||
| Status: | CLOSED CANTFIX | QA Contact: | Red Hat Kernel QE team <kernel-qe> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 5.6 | CC: | akong, mkenneth, riel, tburke, virt-maint | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2010-12-16 19:25:15 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 580948 | ||||||
| Attachments: |
|
||||||
|
Description
Joy Pu
2010-12-14 08:37:53 UTC
Created attachment 468561 [details]
Whole serial log of guest
Looks like a 6.0 guest bug in networking core so far. Would appreciate it if someone looks at this from the networking core perspective. Looks like a problem with percpu allocations to me. The network side requires a 2K allocation per IPv6 device, which does not seem to be too demanding to me. As the guest has plenty of memory, I would say that this is a VM problem. The amount of space for per cpu allocations is limited. The reporter allocates 3120 kB of per-cpu data, by allocating 1560 vlans inside the guest. After that, the per-cpu space is exhausted and further allocations fail. Setting up that many vlans on a 32 bit guest is unreasonable, considering the limited amount of kernel address space and the constraints that places on the amount of address space available for per-cpu variables. With a maximum 32 CPUs on 32 bit, 4MB maximum per-CPU memory completely exhausts the 128MB vmalloc memory. Arguably that makes our per-cpu memory limit on 32 bits too high... Based on comment #7, closing this. If you disagree please reopen. |