Jump to content
Калькуляторы

две сетевые на 82576, параметры igb передаются только в одну

Имеем две четырехпортовые сетевухи на Intel 82576, шестиядерный проц, Linux c ванильным пересобранным ядром 3.4.15

 

cat /etc/modprobe.d/options.conf

 

 

 

# Enable double-buffering so gstreamer et. al. work

options quickcam compatible=2

 

# Default hostap to managed mode

options hostap_pci iw_mode=2

options hostap_cs iw_mode=2

 

alias eth0 igb

alias eth1 igb

alias eth2 igb

alias eth3 igb

alias eth4 igb

alias eth5 igb

alias eth6 igb

alias eth7 igb

 

options igb InterruptThrottleRate=3,3,3,3 IntMode=2,2,2,2 RSS=6,6,6,6 QueuePairs=1,1,1,1

 

 

 

cat /proc/interrupts | grep -i eth

 

 

94: 0 0 2 0 0 0 PCI-MSI-edge eth0

95: 0 0 3258 0 142565860 0 PCI-MSI-edge eth0-TxRx-0

96: 0 0 2950 144213338 0 0 PCI-MSI-edge eth0-TxRx-1

97: 0 0 134433660 0 0 0 PCI-MSI-edge eth0-TxRx-2

98: 0 137247913 0 2835 0 0 PCI-MSI-edge eth0-TxRx-3

99: 132418454 0 0 2936 0 0 PCI-MSI-edge eth0-TxRx-4

100: 0 0 0 2792 0 133852088 PCI-MSI-edge eth0-TxRx-5

101: 0 0 0 0 2 0 PCI-MSI-edge eth1

102: 0 0 0 118068204 2406 0 PCI-MSI-edge eth1-TxRx-0

103: 0 0 110915371 0 1429 0 PCI-MSI-edge eth1-TxRx-1

104: 0 102971596 0 0 0 3230 PCI-MSI-edge eth1-TxRx-2

105: 115127362 0 0 0 0 1465 PCI-MSI-edge eth1-TxRx-3

106: 0 0 0 0 0 106460017 PCI-MSI-edge eth1-TxRx-4

107: 0 0 0 0 110727852 1095 PCI-MSI-edge eth1-TxRx-5

108: 2 0 0 0 0 0 PCI-MSI-edge eth2

109: 0 4087 144335012 0 0 0 PCI-MSI-edge eth2-TxRx-0

110: 0 141697370 0 0 0 0 PCI-MSI-edge eth2-TxRx-1

111: 137854448 0 4422 0 0 0 PCI-MSI-edge eth2-TxRx-2

112: 0 0 4729 0 0 140646637 PCI-MSI-edge eth2-TxRx-3

113: 0 0 4510 0 135800835 0 PCI-MSI-edge eth2-TxRx-4

114: 0 0 4141 139612291 0 0 PCI-MSI-edge eth2-TxRx-5

115: 0 0 0 2 0 0 PCI-MSI-edge eth3

116: 0 163657600 0 16 0 0 PCI-MSI-edge eth3-TxRx-0

117: 166818487 0 0 15 0 0 PCI-MSI-edge eth3-TxRx-1

118: 0 0 0 0 18 162079554 PCI-MSI-edge eth3-TxRx-2

119: 0 0 0 0 163477382 0 PCI-MSI-edge eth3-TxRx-3

120: 0 0 0 156178339 16 0 PCI-MSI-edge eth3-TxRx-4

121: 0 0 158751191 0 15 0 PCI-MSI-edge eth3-TxRx-5

122: 0 0 0 0 0 0 PCI-MSI-edge eth4

123: 13145 0 0 0 0 14 PCI-MSI-edge eth4-TxRx-0

124: 1 0 0 0 0 0 PCI-MSI-edge eth5

125: 0 564 0 0 727949 0 PCI-MSI-edge eth5-TxRx-0

 

 

 

dmesg | grep igb

 

 

[ 4.436853] igb: 0000:03:00.0: igb_check_options: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode

[ 4.436854] igb: 0000:03:00.0: igb_validate_option: Interrupt Mode set to 2

[ 4.436856] igb: 0000:03:00.0: igb_validate_option: RSS - RSS multiqueue receive count set to 6

[ 4.436857] igb: 0000:03:00.0: igb_validate_option: QueuePairs - Tx/Rx queue pairs for interrupt handling Enabled

[ 4.436901] igb 0000:03:00.0: irq 94 for MSI/MSI-X

[ 4.436904] igb 0000:03:00.0: irq 95 for MSI/MSI-X

[ 4.436907] igb 0000:03:00.0: irq 96 for MSI/MSI-X

[ 4.436910] igb 0000:03:00.0: irq 97 for MSI/MSI-X

[ 4.436913] igb 0000:03:00.0: irq 98 for MSI/MSI-X

[ 4.436915] igb 0000:03:00.0: irq 99 for MSI/MSI-X

[ 4.436918] igb 0000:03:00.0: irq 100 for MSI/MSI-X

[ 4.661998] igb 0000:03:00.0: Intel® Gigabit Ethernet Network Connection

[ 4.662000] igb 0000:03:00.0: eth0: (PCIe:2.5GT/s:Width x4)

[ 4.662001] igb 0000:03:00.0: eth0: MAC: 90:e2:ba:10:af:7c

[ 4.662081] igb 0000:03:00.0: eth0: PBA No: E91609-005

[ 4.662082] igb 0000:03:00.0: LRO is disabled

[ 4.662083] igb 0000:03:00.0: Using MSI-X interrupts. 6 rx queue(s), 6 tx queue(s)

[ 4.662429] igb: 0000:03:00.1: igb_check_options: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode

[ 4.662431] igb: 0000:03:00.1: igb_validate_option: Interrupt Mode set to 2

[ 4.662432] igb: 0000:03:00.1: igb_validate_option: RSS - RSS multiqueue receive count set to 6

[ 4.662433] igb: 0000:03:00.1: igb_validate_option: QueuePairs - Tx/Rx queue pairs for interrupt handling Enabled

[ 4.662475] igb 0000:03:00.1: irq 101 for MSI/MSI-X

[ 4.662478] igb 0000:03:00.1: irq 102 for MSI/MSI-X

[ 4.662480] igb 0000:03:00.1: irq 103 for MSI/MSI-X

[ 4.662483] igb 0000:03:00.1: irq 104 for MSI/MSI-X

[ 4.662486] igb 0000:03:00.1: irq 105 for MSI/MSI-X

[ 4.662488] igb 0000:03:00.1: irq 106 for MSI/MSI-X

[ 4.662491] igb 0000:03:00.1: irq 107 for MSI/MSI-X

[ 4.885428] igb 0000:03:00.1: Intel® Gigabit Ethernet Network Connection

[ 4.885430] igb 0000:03:00.1: eth1: (PCIe:2.5GT/s:Width x4)

[ 4.885431] igb 0000:03:00.1: eth1: MAC: 90:e2:ba:10:af:7d

[ 4.885511] igb 0000:03:00.1: eth1: PBA No: E91609-005

[ 4.885512] igb 0000:03:00.1: LRO is disabled

[ 4.885513] igb 0000:03:00.1: Using MSI-X interrupts. 6 rx queue(s), 6 tx queue(s)

[ 4.885839] igb: 0000:04:00.0: igb_check_options: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode

[ 4.885841] igb: 0000:04:00.0: igb_validate_option: Interrupt Mode set to 2

[ 4.885842] igb: 0000:04:00.0: igb_validate_option: RSS - RSS multiqueue receive count set to 6

[ 4.885843] igb: 0000:04:00.0: igb_validate_option: QueuePairs - Tx/Rx queue pairs for interrupt handling Enabled

[ 4.885886] igb 0000:04:00.0: irq 108 for MSI/MSI-X

[ 4.885889] igb 0000:04:00.0: irq 109 for MSI/MSI-X

[ 4.885892] igb 0000:04:00.0: irq 110 for MSI/MSI-X

[ 4.885895] igb 0000:04:00.0: irq 111 for MSI/MSI-X

[ 4.885897] igb 0000:04:00.0: irq 112 for MSI/MSI-X

[ 4.885900] igb 0000:04:00.0: irq 113 for MSI/MSI-X

[ 4.885903] igb 0000:04:00.0: irq 114 for MSI/MSI-X

[ 5.108862] igb 0000:04:00.0: Intel® Gigabit Ethernet Network Connection

[ 5.108864] igb 0000:04:00.0: eth2: (PCIe:2.5GT/s:Width x4)

[ 5.108865] igb 0000:04:00.0: eth2: MAC: 90:e2:ba:10:af:7e

[ 5.108945] igb 0000:04:00.0: eth2: PBA No: E91609-005

[ 5.108946] igb 0000:04:00.0: LRO is disabled

[ 5.108947] igb 0000:04:00.0: Using MSI-X interrupts. 6 rx queue(s), 6 tx queue(s)

[ 5.109271] igb: 0000:04:00.1: igb_check_options: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode

[ 5.109272] igb: 0000:04:00.1: igb_validate_option: Interrupt Mode set to 2

[ 5.109274] igb: 0000:04:00.1: igb_validate_option: RSS - RSS multiqueue receive count set to 6

[ 5.109275] igb: 0000:04:00.1: igb_validate_option: QueuePairs - Tx/Rx queue pairs for interrupt handling Enabled

[ 5.109316] igb 0000:04:00.1: irq 115 for MSI/MSI-X

[ 5.109319] igb 0000:04:00.1: irq 116 for MSI/MSI-X

[ 5.109321] igb 0000:04:00.1: irq 117 for MSI/MSI-X

[ 5.109324] igb 0000:04:00.1: irq 118 for MSI/MSI-X

[ 5.109327] igb 0000:04:00.1: irq 119 for MSI/MSI-X

[ 5.109330] igb 0000:04:00.1: irq 120 for MSI/MSI-X

[ 5.109333] igb 0000:04:00.1: irq 121 for MSI/MSI-X

[ 5.332288] igb 0000:04:00.1: Intel® Gigabit Ethernet Network Connection

[ 5.332290] igb 0000:04:00.1: eth3: (PCIe:2.5GT/s:Width x4)

[ 5.332291] igb 0000:04:00.1: eth3: MAC: 90:e2:ba:10:af:7f

[ 5.332372] igb 0000:04:00.1: eth3: PBA No: E91609-005

[ 5.332372] igb 0000:04:00.1: LRO is disabled

[ 5.332374] igb 0000:04:00.1: Using MSI-X interrupts. 6 rx queue(s), 6 tx queue(s)

[ 5.332656] igb 0000:07:00.0: irq 122 for MSI/MSI-X

[ 5.332659] igb 0000:07:00.0: irq 123 for MSI/MSI-X

[ 5.523788] igb 0000:07:00.0: Intel® Gigabit Ethernet Network Connection

[ 5.523789] igb 0000:07:00.0: eth4: (PCIe:2.5GT/s:Width x4)

[ 5.523801] igb 0000:07:00.0: eth4: MAC: 00:1b:21:6c:50:f0

[ 5.523881] igb 0000:07:00.0: eth4: PBA No: E64750-004

[ 5.523882] igb 0000:07:00.0: LRO is disabled

[ 5.523883] igb 0000:07:00.0: Using MSI-X interrupts. 1 rx queue(s), 1 tx queue(s)

[ 5.524208] igb 0000:07:00.1: irq 124 for MSI/MSI-X

[ 5.524211] igb 0000:07:00.1: irq 125 for MSI/MSI-X

[ 5.735255] igb 0000:07:00.1: Intel® Gigabit Ethernet Network Connection

[ 5.735257] igb 0000:07:00.1: eth5: (PCIe:2.5GT/s:Width x4)

[ 5.735258] igb 0000:07:00.1: eth5: MAC: 00:1b:21:6c:50:f1

[ 5.735349] igb 0000:07:00.1: eth5: PBA No: E64750-004

[ 5.735350] igb 0000:07:00.1: LRO is disabled

[ 5.735351] igb 0000:07:00.1: Using MSI-X interrupts. 1 rx queue(s), 1 tx queue(s)

[ 5.735671] igb 0000:08:00.0: irq 126 for MSI/MSI-X

[ 5.735674] igb 0000:08:00.0: irq 127 for MSI/MSI-X

[ 5.926771] igb 0000:08:00.0: Intel® Gigabit Ethernet Network Connection

[ 5.926773] igb 0000:08:00.0: eth6: (PCIe:2.5GT/s:Width x4)

[ 5.926774] igb 0000:08:00.0: eth6: MAC: 00:1b:21:6c:50:f2

[ 5.926850] igb 0000:08:00.0: eth6: PBA No: E64750-004

[ 5.926851] igb 0000:08:00.0: LRO is disabled

[ 5.926852] igb 0000:08:00.0: Using MSI-X interrupts. 1 rx queue(s), 1 tx queue(s)

[ 5.927207] igb 0000:08:00.1: irq 128 for MSI/MSI-X

[ 5.927210] igb 0000:08:00.1: irq 129 for MSI/MSI-X

[ 6.118291] igb 0000:08:00.1: Intel® Gigabit Ethernet Network Connection

[ 6.118293] igb 0000:08:00.1: eth7: (PCIe:2.5GT/s:Width x4)

[ 6.118294] igb 0000:08:00.1: eth7: MAC: 00:1b:21:6c:50:f3

[ 6.118375] igb 0000:08:00.1: eth7: PBA No: E64750-004

[ 6.118376] igb 0000:08:00.1: LRO is disabled

[ 6.118377] igb 0000:08:00.1: Using MSI-X interrupts. 1 rx queue(s), 1 tx queue(s)

[ 15.554847] igb: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX

[ 15.889997] igb: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None

[ 16.289016] igb: eth2 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX

[ 16.564299] igb: eth3 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX

[ 17.126902] igb: eth5 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX

[ 34.594976] igb: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None

[ 34.710716] igb: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX

[ 35.225402] igb: eth2 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX

[ 35.644328] igb: eth3 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX

 

 

 

куда копать?

Share this post


Link to post
Share on other sites

В сторону мануала.

options igb InterruptThrottleRate=3,3,3,3,3,3,3,3 IntMode=2,2,2,2,2,2,2,2 RSS=6,6,6,6,6,6,6,6 QueuePairs=1,1,1,1,1,1,1,1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this