FreeBSD 11.2-RELEASE
2x10G Intel
sysctl.conf
loader.conf
ix driver <Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 3.2.12-k>, i also tryed last 3.2.18 driver.
Through the server passes a large UPD traffic, about 700 Mb/s, received through ix0 and sent through ix1. When there is a problem with the connection on ix1, or I manually do ifconfig ix1 down/up, UPD traffic stops leaving ix0, after restarting the software (tried two different software on perl and lua) UPD leaves, but with big losses and I see an error "No buffer space available".
I tried to pass the same traffic through em0, did ifconfig em0 down/up, and on em0 there are no such problems.
What it can be, what is missing and why it happens just after problems with connecting to ix, then after rebooting the server everything works fine and without losses?
In advance, I'm sorry for my English, I use G.T.
2x10G Intel
Code:
ix0@pci0:2:0:0: class=0x020000 card=0x061115d9 chip=0x10fb8086 rev=0x01 hdr=0x00
vendor = 'Intel Corporation'
device = '82599ES 10-Gigabit SFI/SFP+ Network Connection'
class = network
subclass = ethernet
bar [10] = type Prefetchable Memory, range 64, base 0xde080000, size 524288, enabled
bar [18] = type I/O Port, range 32, base 0xe020, size 32, enabled
bar [20] = type Prefetchable Memory, range 64, base 0xde504000, size 16384, enabled
ix1@pci0:2:0:1: class=0x020000 card=0x061115d9 chip=0x10fb8086 rev=0x01 hdr=0x00
vendor = 'Intel Corporation'
device = '82599ES 10-Gigabit SFI/SFP+ Network Connection'
class = network
subclass = ethernet
bar [10] = type Prefetchable Memory, range 64, base 0xde000000, size 524288, enabled
bar [18] = type I/O Port, range 32, base 0xe000, size 32, enabled
bar [20] = type Prefetchable Memory, range 64, base 0xde500000, size 16384, enabled
sysctl.conf
Code:
net.inet.ip.fastforwarding=1
net.inet.icmp.icmplim=1000
net.inet.tcp.blackhole=2
net.inet.udp.blackhole=1
kern.ipc.nmbclusters=262144
kern.ipc.somaxconn=65535
net.inet.udp.maxdgram=57344
net.inet.udp.recvspace=131072
net.raw.recvspace=65535
net.inet.raw.maxdgram=1179648
net.inet.raw.recvspace=1179648
kern.ipc.maxsockbuf=33554432
net.local.stream.sendspace=16776960
net.raw.sendspace=16776960
dev.ix.0.fc=0
dev.ix.1.fc=0
loader.conf
Code:
kern.maxusers="1024"
if_em_load="YES"
hw.igb.max_interrupt_rate=32000
net.inet.tcp.tcbhashsize=32000
kern.ipc.nmbclusters=524288
kern.ipc.maxsockbuf=1048576
ix driver <Intel(R) PRO/10GbE PCI-Express Network Driver, Version - 3.2.12-k>, i also tryed last 3.2.18 driver.
Through the server passes a large UPD traffic, about 700 Mb/s, received through ix0 and sent through ix1. When there is a problem with the connection on ix1, or I manually do ifconfig ix1 down/up, UPD traffic stops leaving ix0, after restarting the software (tried two different software on perl and lua) UPD leaves, but with big losses and I see an error "No buffer space available".
I tried to pass the same traffic through em0, did ifconfig em0 down/up, and on em0 there are no such problems.
What it can be, what is missing and why it happens just after problems with connecting to ix, then after rebooting the server everything works fine and without losses?
In advance, I'm sorry for my English, I use G.T.