OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Hardware and Performance »
  • Weird speed issues with Mellanox ConnectX-3
« previous next »
  • Print
Pages: [1]

Author Topic: Weird speed issues with Mellanox ConnectX-3  (Read 3490 times)

cbb09

  • Newbie
  • *
  • Posts: 38
  • Karma: 2
    • View Profile
Weird speed issues with Mellanox ConnectX-3
« on: October 20, 2019, 11:12:44 pm »
Hi,

I installed a Mellanox ConnectX-3 10G nic today. The card was recognized after I prompted the system to load the module (I added mlx4en_load="YES" to /boot/loader.conf.local. So far so good.

However, when I ran iperf3 I noticed that I am only getting about 1.4GB/s on the interface. I've tried turning on/off all the hardware offloading settings, but to no avail. Speed doesn't exceed 1.4GB/s. To rule out other issues, I've booted a live CD image of Ubuntu 18.04.3 on the same system and ran iperf3 from there. I was getting about 9.85GB/s - which I expected.

Is there anything that I overlooked in OPNsense? Is it a module issue in FreeBSD?

Thanks!
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Weird speed issues with Mellanox ConnectX-3
« Reply #1 on: October 21, 2019, 05:24:52 am »
Did you use the local iperf Plugin? These values arent really stable.
Also note GB is ok, in your case it's Gb, correct?
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

cbb09

  • Newbie
  • *
  • Posts: 38
  • Karma: 2
    • View Profile
Re: Weird speed issues with Mellanox ConnectX-3
« Reply #2 on: October 22, 2019, 04:42:55 am »
Quote from: mimugmail on October 21, 2019, 05:24:52 am
Did you use the local iperf Plugin? These values arent really stable.
Also note GB is ok, in your case it's Gb, correct?

I used iperf in the command line. Indeed, it’s Gb, not GB - sorry about that! I’ve also timed a large file transfer between my OPNsense box and another server on my LAN to rule out iperf issues. However, same result... I wonder if there’s a driver/module issue.
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Weird speed issues with Mellanox ConnectX-3
« Reply #3 on: October 22, 2019, 05:31:25 am »
My last tests were with 19.1 and it was good. Maybe you build a Lab and test iperf in devices behind and infront
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Hardware and Performance »
  • Weird speed issues with Mellanox ConnectX-3
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2