Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Load updated Intel IX module to get 10Gbps

    Scheduled Pinned Locked Moved Hardware
    72 Posts 4 Posters 16.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tman222
      last edited by

      I ran a Xeon D-1518 based pfSense system up until recently and the best performance I saw, if I recall correctly, was around ~6-7Gbit/s routing traffic between two different internal network segments (no NAT, no IDS/IPS) via an iperf3 test (single stream). I imagine with NAT in the picture, performance through WAN would have been a bit lower than that.

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        With the included ix NICs I assume? That's about what I'd expect. Which is why the reports of 25Gbps with Mellanox NICs are so surprising.

        T 1 Reply Last reply Reply Quote 1
        • O
          ogghi @stephenw10
          last edited by

          @stephenw10
          hi there, I got the card.
          How would I go to install it actually?
          Install the card, change LAN setting to one of the new ports, apply, switch over cables?
          Then do the same for WAN?

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Yes, pretty much exactly that. Just switch the interface assignments to the new NICs.

            O 1 Reply Last reply Reply Quote 1
            • O
              ogghi @stephenw10
              last edited by

              @stephenw10
              Hi there!
              I was not successful here this morning, had to revert and restore backup. Seems the routes were not updating, same for firewall rules.
              All back running. What I saw as warning output above in the webUI made me think the issue with the limitation might be something else:

              Filter Reload
              There were error(s) loading the rules: pfctl: interface ix0 bandwidth limited to 4294967295 bps because selected scheduler is 32-bit limited - The line in question reads [0]: @ 2024-03-07 07:38:45
              

              So I tried disabling traffic shaper completely.
              No change though.

              But most important, what did go wrong with interface change? I tried in UI to re-assign, also from cmd locally...

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by stephenw10

                Ah, looks like you have some limiters set on that and the link speed is above what it can handle. Which itself is interesting.

                What traffic shaping do you have enabled there?

                Do you have an interface with the bandwidth set as a percentage?

                O 1 Reply Last reply Reply Quote 0
                • O
                  ogghi @stephenw10
                  last edited by

                  @stephenw10
                  I disabled all traffic shaper queues this morning to test after I saw that output.
                  No change so far, but I haven't rebooted since, is it required?

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    No you should not need to reboot.

                    If you reload the ruleset in Status > Filter Reload does it regenerate the error?

                    If so that value must still be in the config somewhere.

                    O 1 Reply Last reply Reply Quote 0
                    • T
                      tman222 @stephenw10
                      last edited by

                      @stephenw10 said in Load updated Intel IX module to get 10Gbps:

                      With the included ix NICs I assume? That's about what I'd expect. Which is why the reports of 25Gbps with Mellanox NICs are so surprising.

                      Actually, this was mostly tested between two interfaces on a Chelsio T540-SO-CR expansion card. I do recall testing between the Chelsio interfaces and onboard ix interfaces at a time or two as well and seeing similar speeds (i.e. no major increases or decreases).

                      1 Reply Last reply Reply Quote 2
                      • O
                        ogghi @stephenw10
                        last edited by

                        @stephenw10
                        I tried to do the reload while tail -f on /var/log/system.log
                        I only saw:
                        Mar 11 14:40:29 vm12 check_reload_status[331]: Reloading filter

                        That's where it had logged the error before I bet?

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          Yes it would show in the system log. It would also show on the filter reload page if the error was regenerated.

                          O 1 Reply Last reply Reply Quote 1
                          • O
                            ogghi @stephenw10
                            last edited by

                            @stephenw10 So no errors here :)
                            But problem not solved either.

                            https://hastebin.com/share/visalixawa.bash

                            I am confused why it still generates ALTQ queues?
                            3d594a12-f8ce-4b47-9675-57bd9a7aa8cb-image.png

                            Anyway, because of a power outage the firewall might reboot tonight (unless UPS holds up long enough)

                            1 Reply Last reply Reply Quote 0
                            • stephenw10S
                              stephenw10 Netgate Administrator
                              last edited by

                              It doesn't. The script is simply logging that it has reached that section where it would be creating queues if they were configured.

                              O 1 Reply Last reply Reply Quote 1
                              • O
                                ogghi @stephenw10
                                last edited by

                                @stephenw10
                                Good!

                                The question remains on how to change NICs while maintaining the NAT and firewall rules etc?

                                Did I not use the right procedure?

                                1 Reply Last reply Reply Quote 0
                                • stephenw10S
                                  stephenw10 Netgate Administrator
                                  last edited by

                                  I don't know. It should be trivial since all the interface config is abstracted from the NIC. You just assign WAN to the new ix NIC and all the settings follow it.

                                  The traffic shaping is potentially an issue because it tries to detest the NIC link speed and obviously that can/will change.

                                  O 1 Reply Last reply Reply Quote 0
                                  • O
                                    ogghi @stephenw10
                                    last edited by

                                    @stephenw10 As I disabled traffic shaping that should not be an issue anymore.
                                    The new interface has a different name, mce0 and mce1 but that shouldn't matter?

                                    I'll try again at an appropriate time where down-time is possible!

                                    Thanks for the quick replies!

                                    1 Reply Last reply Reply Quote 0
                                    • stephenw10S
                                      stephenw10 Netgate Administrator
                                      last edited by

                                      Nope the name shouldn't matter, that's the point of abstracting it. You can import a config into completely different hardware and just reassign the interfaces to the existing NICs.

                                      O 1 Reply Last reply Reply Quote 0
                                      • O
                                        ogghi @stephenw10
                                        last edited by

                                        @stephenw10 That's what I thought.
                                        The question is (as I asked above) the proper order:
                                        Right now ix0 is WAN, ix1 is LAN
                                        I would probably want to assign LAN to mce1 and apply. Then physically connect the fiber to mce1.
                                        Then ix0 to mc0 can be done once webUI can be accessed again...

                                        1 Reply Last reply Reply Quote 0
                                        • stephenw10S
                                          stephenw10 Netgate Administrator
                                          last edited by

                                          Yes that should work. You should also be able to do both at the same time.

                                          I would want to be sure I had some out of band access whilst making that change. That could be via the console or assigning an interface for management access.

                                          O 1 Reply Last reply Reply Quote 1
                                          • O
                                            ogghi @stephenw10
                                            last edited by

                                            @stephenw10 That's kind of what I tried, but it wouldn't work, as I mentioned above it would not apply fw rules, NAT etc.
                                            So I restored from backup...
                                            When doing such things I always have a monitor + keyboard ready in the rack for local console access ;)

                                            O 1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.