Why do we see very high number of work queue threads by 'be2iscsi' module.

Solution Unverified - Updated -

Issue

  • 3072 beiscsi processes seen running in ps aux command
$ grep beiscsi ps |grep wq 
root       6594  0.0  0.0      0     0 ?        S    Feb01   0:00 [beiscsi_08_wq/0]
root       6595  0.0  0.0      0     0 ?        S    Feb01   0:00 [beiscsi_08_wq/1]
root       6596  0.0  0.0      0     0 ?        S    Feb01   0:00 [beiscsi_08_wq/2]
root       6597  0.0  0.0      0     0 ?        S    Feb01   0:00 [beiscsi_08_wq/3]
root       6598  0.0  0.0      0     0 ?        S    Feb01   0:00 [beiscsi_08_wq/4]
root       6599  0.0  0.0      0     0 ?        S    Feb01   0:00 [beiscsi_08_wq/5]
root       6600  0.0  0.0      0     0 ?        S    Feb01   0:00 [beiscsi_08_wq/6]
root       6601  0.0  0.0      0     0 ?        S    Feb01   0:00 [beiscsi_08_wq/7]
root       6602  0.0  0.0      0     0 ?        S    Feb01   0:00 [beiscsi_08_wq/8]
root       6603  0.0  0.0      0     0 ?        S    Feb01   0:00 [beiscsi_08_wq/9]
[..... ]

beiscsi processes are created by be2iscsi module which is a driver for the Emulex Corporation OneConnect iSCSI Initiator (Skyhawk).

Total work queue threads.

$ grep beiscsi ps |grep wq |wc -l
3072

Available HBAs

$ grep -i iscsi lspci 
01:00.2 Mass storage controller: Emulex Corporation OneConnect iSCSI Initiator (Skyhawk) (rev 10)
01:00.3 Mass storage controller: Emulex Corporation OneConnect iSCSI Initiator (Skyhawk) (rev 10)
11:00.2 Mass storage controller: Emulex Corporation OneConnect iSCSI Initiator (Skyhawk) (rev 10)
11:00.3 Mass storage controller: Emulex Corporation OneConnect iSCSI Initiator (Skyhawk) (rev 10)
21:00.2 Mass storage controller: Emulex Corporation OneConnect iSCSI Initiator (Skyhawk) (rev 10)
21:00.3 Mass storage controller: Emulex Corporation OneConnect iSCSI Initiator (Skyhawk) (rev 10)
31:00.2 Mass storage controller: Emulex Corporation OneConnect iSCSI Initiator (Skyhawk) (rev 10)
31:00.3 Mass storage controller: Emulex Corporation OneConnect iSCSI Initiator (Skyhawk) (rev 10)
41:00.2 Mass storage controller: Emulex Corporation OneConnect iSCSI Initiator (Skyhawk) (rev 10)
41:00.3 Mass storage controller: Emulex Corporation OneConnect iSCSI Initiator (Skyhawk) (rev 10)
51:00.2 Mass storage controller: Emulex Corporation OneConnect iSCSI Initiator (Skyhawk) (rev 10)
51:00.3 Mass storage controller: Emulex Corporation OneConnect iSCSI Initiator (Skyhawk) (rev 10)
61:00.2 Mass storage controller: Emulex Corporation OneConnect iSCSI Initiator (Skyhawk) (rev 10)
61:00.3 Mass storage controller: Emulex Corporation OneConnect iSCSI Initiator (Skyhawk) (rev 10)
71:00.2 Mass storage controller: Emulex Corporation OneConnect iSCSI Initiator (Skyhawk) (rev 10)
71:00.3 Mass storage controller: Emulex Corporation OneConnect iSCSI Initiator (Skyhawk) (rev 10)

Total CPUs

$ cat proc/cpuinfo |grep processor |wc -l
192

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
    -Hardware : HP Superdome2 16s x86 OR any hardware with high number of CPUs and relevant HBA cards

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In