Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Version-Release number of selected component (if applicable):
- bnx2x included with Red Hat 6.0 RC
How reproducible:
Load the bnx2x driver on a server with 12+ cores running Red Hat 6.0 x86
Steps to Reproduce:
more /proc/meminfo | grep Low
LowTotal: 827980 kB
LowFree: 11740 kB
[root@CFG19 Desktop]# rmmod bnx2x
[root@CFG19 Desktop]# more /proc/meminfo | grep Low
LowTotal: 827980 kB
LowFree: 652140 kB
[root@CFG19 Desktop]# modprobe bnx2x
[root@CFG19 Desktop]# more /proc/meminfo | grep Low
LowTotal: 827980 kB
LowFree: 10340 kB
Actual results:
As you can see, the LowFree goes down to 10MB when you load the bnx2x driver which causes many OOM errors on the system.
Expected results:
I would not expect one device driver to use up all LowMemory.
Additional info:
It is my understanding that the system allocates the number of queues to use for bnx2x to the number of cores the system has installed. We can also see that one queue is using about 54M of Low memory so at 12 of them, that would be 648 which is over half of the Low Memory available on a 32-bit linux system.
A work around is to change the number of queues used by bnx2x by creating /etc/modprobe.d/bnx2x.conf with the following text:
options bnx2x num_queues=X where X is the number of queues you want to use.
I feel that the bnx2x driver shouldn't be using 54M of low memory for each queue.