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

    10Gbe Tuning?

    Scheduled Pinned Locked Moved Hardware
    83 Posts 19 Posters 40.8k 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.
    • ?
      Guest
      last edited by

      Now that we're on FreeBSD-10, we have netmap (*).

      ipfw over netmap exists: https://code.google.com/p/netmap-ipfw/
      Quoting that page, "This version reaches 7-10 Mpps for filtering".

      A preview of same: http://lists.freebsd.org/pipermail/freebsd-ipfw/2012-July/005176.html
      "A quick test with a simple ruleset (4 rules, see below) shows a processing speed of 9-10Mpps on one core."

      Seems obvious (to me) that plumbing pf over netmap (so pf in userspace) is something we should attempt.  There is a pfSense hackathon mid-October, and we should know more coming out of that.

      10G Ethernet at 64 byte packets is 14.8Mpps.  If we can do 7Mpps with pf, then for an average packet size of just over 128 bytes, we will be able to filter at line rate.

      Moreover, that's not the end of it, it's just where we're starting.

      But getting this work into pfSense will be more than just implementing "pf over netmap".

      (*) OK, I"m talking about pfSense 2.2, which technically is still in beta, and yes, netmap was in 8.3 as well, let's not discuss how old 8.3 is.

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

        Promising stuff.  :)
        I look forward to any results (everyone loves a nice graph  ;))

        Steve

        1 Reply Last reply Reply Quote 0
        • Q
          q54e3w
          last edited by

          I just couldnt get past 6.5gbps on 2.1.4….but 2.2 flies :)

          this is as fast as my little fileserver can go....

          and iperf from laptop<–>FS (my laptop struggles to get > 9gbps due to using a thunderbolt to PCIe adapter which daisy chains a monitor which consumes some bandwidth)

          All the above at circa 60% utilisation on one core of a 8 core rangeley 2758 board.

          1 Reply Last reply Reply Quote 0
          • J
            jasonlitka
            last edited by

            @irj972:

            I just couldnt get past 6.5gbps on 2.1.4….but 2.2 flies :)

            this is as fast as my little fileserver can go....

            and iperf from laptop<-->FS (my laptop struggles to get > 9gbps due to using a thunderbolt to PCIe adapter which daisy chains a monitor which consumes some bandwidth)

            All the above at circa 60% utilisation on one core of a 8 core rangeley 2758 board.

            Very nice. Intel X520 adapter?

            I can break anything.

            1 Reply Last reply Reply Quote 0
            • ?
              Guest
              last edited by

              I've been saying for nearly a year that the c2000 SoC is a huge win for pfsense.

              Just wait to see what we do with it.

              1 Reply Last reply Reply Quote 0
              • Q
                q54e3w
                last edited by

                @Jason:

                Very nice. Intel X520 adapter?

                yup….I'm planning on building a little stripe of SSDs and seeing what bonded 10gig interfaces can do...
                I still want to get a test on one of the chinese knocks off to see what they can do too....too much fun stuff to try and not enough time.

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

                  @irj972:

                  ….too much fun stuff to try and not enough time.

                  Ha! First world problem if ever I saw it.  ;)
                  Thanks for sharing your results.

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • K
                    kenshirothefist
                    last edited by

                    Anybody has any experience with pfSense 2.1.x and Intel 10GbE network controller 82599ES? Supermicro AOC-STGN-i2S is based on this controller, therefore I would like to know weather 82599ES is supported under pfSense 2.1.x? Does it work out-of-the-box or does it require some manual drivers installation?

                    1 Reply Last reply Reply Quote 0
                    • J
                      jasonlitka
                      last edited by

                      The Intel X520 cards with the same chip work great so I would assume that SuperMicro's card also works, though I do not know for sure.

                      I can break anything.

                      1 Reply Last reply Reply Quote 0
                      • K
                        kenshirothefist
                        last edited by

                        @Jason:

                        The Intel X520 cards with the same chip work great so I would assume that SuperMicro's card also works, though I do not know for sure.

                        Intel x520 uses 82599 and 82599ES chips … are there any essential differences between those two chips?

                        1 Reply Last reply Reply Quote 0
                        • J
                          jasonlitka
                          last edited by

                          82599 is the family.  82599ES is the actual chip.

                          If you want a feature comparison between the chips in that family then take a look at the link below.

                          http://ark.intel.com/compare/66004,32207,41282

                          I can break anything.

                          1 Reply Last reply Reply Quote 0
                          • S
                            shms
                            last edited by

                            What fiber sfp+ modules are you guys using for the intel x520?

                            1 Reply Last reply Reply Quote 0
                            • J
                              jasonlitka
                              last edited by

                              @shms:

                              What fiber sfp+ modules are you guys using for the intel x520?

                              I use mostly Direct Attach cables, not optics, but when I do use fiber it's either genuine Intel modules or knockoffs from approvedoptics.com.

                              I can break anything.

                              1 Reply Last reply Reply Quote 0
                              • S
                                shms
                                last edited by

                                @Jason:

                                @shms:

                                What fiber sfp+ modules are you guys using for the intel x520?

                                I use mostly Direct Attach cables, not optics, but when I do use fiber it's either genuine Intel modules or knockoffs from approvedoptics.com.

                                Nice, regular 8431 cables like http://www.ebay.com/itm/Intel-XDACBL5M-Twinaxial-Netwrk-Cable-Twinaxial-Netwrk-16-40ft-SFF-8431-Male-/311114486894?pt=LH_DefaultDomain_0&hash=item486fde546e or? And this card is 2x10gbit full duplex? if so, possible lacp @ 2x10gbit?

                                1 Reply Last reply Reply Quote 0
                                • J
                                  jasonlitka
                                  last edited by

                                  @shms:

                                  @Jason:

                                  @shms:

                                  What fiber sfp+ modules are you guys using for the intel x520?

                                  I use mostly Direct Attach cables, not optics, but when I do use fiber it's either genuine Intel modules or knockoffs from approvedoptics.com.

                                  Nice, regular 8431 cables like http://www.ebay.com/itm/Intel-XDACBL5M-Twinaxial-Netwrk-Cable-Twinaxial-Netwrk-16-40ft-SFF-8431-Male-/311114486894?pt=LH_DefaultDomain_0&hash=item486fde546e or? And this card is 2x10gbit full duplex? if so, possible lacp @ 2x10gbit?

                                  Yes, cables like that.

                                  Theoretically, yes, you could put two links together for 2x10Gbit/s.

                                  I can break anything.

                                  1 Reply Last reply Reply Quote 0
                                  • ?
                                    Guest
                                    last edited by

                                    @Jason:

                                    @shms:

                                    @Jason:

                                    @shms:

                                    What fiber sfp+ modules are you guys using for the intel x520?

                                    I use mostly Direct Attach cables, not optics, but when I do use fiber it's either genuine Intel modules or knockoffs from approvedoptics.com.

                                    Nice, regular 8431 cables like http://www.ebay.com/itm/Intel-XDACBL5M-Twinaxial-Netwrk-Cable-Twinaxial-Netwrk-16-40ft-SFF-8431-Male-/311114486894?pt=LH_DefaultDomain_0&hash=item486fde546e or? And this card is 2x10gbit full duplex? if so, possible lacp @ 2x10gbit?

                                    Yes, cables like that.

                                    Theoretically, yes, you could put two links together for 2x10Gbit/s.

                                    Now do the math on 40Gbps NICs and a $99 break-out cable.  :-)

                                    1 Reply Last reply Reply Quote 0
                                    • N
                                      nikkon
                                      last edited by

                                      on my actual setup - J1900 + ssd + 8gb ram and 2xIntel i210T
                                      For PPPoE i got verry low speed. Around 346.96 Mbit/s. connection is 1000 Mbit/s.I'm not expecting to get 1000 but @least 50%
                                      dev.igb.0.%desc: Intel(R) PRO/1000 Network Connection version - 2.4.0

                                      pfsense 2.3.4 on Supermicro A1SRi-2758F + 8GB ECC + SSD

                                      Happy PfSense user :)

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

                                        What CPU usage are you seeing?

                                        Steve

                                        1 Reply Last reply Reply Quote 0
                                        • N
                                          nikkon
                                          last edited by

                                          @stephenw10:

                                          What CPU usage are you seeing?

                                          Steve

                                          not more than 60% and that's a spyke

                                          pfsense 2.3.4 on Supermicro A1SRi-2758F + 8GB ECC + SSD

                                          Happy PfSense user :)

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

                                            How does that divide across the cores? I imagine you have one core at 100%

                                            Steve

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