System Tunables to Improve Performance on a Fiber Connection - IX0 adapter

Started by theprez1980, October 31, 2024, 05:49:57 PM

Previous topic - Next topic
Hey All -

I'm not really sure if this is needed, but from searching and googling it seems that RSS is supported by my X550-T2 adapter (ifconfig shows it as an ix0 and ix1 card)

In the shell, this command returns the following:

root@fw1:~ # sysctl -a | grep rss

net.inet.rss.bucket_mapping: 0:0 1:1 2:2 3:3
net.inet.rss.enabled: 1
net.inet.rss.debug: 0
net.inet.rss.basecpu: 0
net.inet.rss.buckets: 4
net.inet.rss.maxcpus: 64
net.inet.rss.ncpus: 8
net.inet.rss.maxbits: 7
net.inet.rss.mask: 3
net.inet.rss.bits: 2
net.inet.rss.hashalgo: 2
hw.bxe.udp_rss: 0
hw.ix.enable_rss: 1


Does this look correct after playing around with the tunables?

The CPU is a Core i7-7700 @ 3.40Ghz so it's a 4 core CPU.

I've also turned off spectre/meltdown via their respective tunable.

Thanks

I have the same chip and I get 3Gbps MAX out of a 10Gb connection so it may just be the chip though its a fast chip...old.

Quote from: jclendineng on November 06, 2024, 11:49:24 PM
I have the same chip and I get 3Gbps MAX out of a 10Gb connection so it may just be the chip though its a fast chip...old.

I have a x710-da2 card and cap out at 3gbps on a single stream iperf. Interestingly enough if you run it in the reverse direction it hits 9Gbps. Is yours the same behavior? Multiple streams only yields about 7Gbps max for me.