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

    Traffic between 2 interfaces

    Scheduled Pinned Locked Moved General pfSense Questions
    31 Posts 4 Posters 10.1k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Always a good idea.
      Was that vmstat snap taken when you were hammering em0? I notice that irq16 doesn't even appear in the list, not interrupting at all.

      Moving WAN to em0 seems like a good plan also.

      Steve

      1 Reply Last reply Reply Quote 0
      • M
        maverick_slo
        last edited by

        WOW :)

        atom_net.PNG
        atom_net.PNG_thumb

        1 Reply Last reply Reply Quote 0
        • M
          maverick_slo
          last edited by

          Even better (just tiiiny bit) when I enabled device polling :)

          atom_net.PNG
          atom_net.PNG_thumb

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

            Wow better than expected or wow there still a big difference in send vs receive speed?  :P
            What did you do to achieve that?

            General advice is not to enable device polling unless you have a very good reason to do it. It will eat all your spare cpu cycles, sometime it slows the gui to a crawl.
            640Mbps from an Atom is good though.  :)

            Steve

            1 Reply Last reply Reply Quote 0
            • M
              maverick_slo
              last edited by

              I`ve swapped em0 and em2.
              em0 and em1 are onboard and em2 is on PCI slot.

              Now em0 = WAN and em1=LAN and em2=LAN2

              So traffic is "spread" across NICs on different BUSes :)

              I think that did the trick.

              Why in one direction is slower I dont know and I really dont know how to approch it :P

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

                em1 is PCIe and em2 is PCI?

                Anyway looks like problem solved.  :)

                Steve

                1 Reply Last reply Reply Quote 0
                • M
                  maverick_slo
                  last edited by

                  em0 and em1 are onboard NICs and on PCIe BUS.
                  em2 is good old PCI :)

                  I still have a bunch of errors (missed packets) but speeds are good, somewhere or somewhat is lacking resources, but hey, I have 112 MByte/s transfer speed on same LAN and 50 Mbyte/s between LANs so I think is good :)

                  1 Reply Last reply Reply Quote 0
                  • M
                    maverick_slo
                    last edited by

                    Ta ta da ta taaaaaa :)

                    Figured it out :)

                    This mobo has something called: PCIe ASPM (http://en.wikipedia.org/wiki/Active_State_Power_Management)
                    Disabled it, set PowerD to hiadaptive (not sure if influences on NIC) and results are below.

                    Now DL/UL are virtually the same as far as Windows file copy is concerned :)

                    gateway.JPG
                    gateway.JPG_thumb

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

                      Ah, nice! Good find and good to know for future problems. I bet there's loads of people suffering from that.  :)

                      Steve

                      1 Reply Last reply Reply Quote 0
                      • M
                        maverick_slo
                        last edited by

                        I will change back LAN and LAN2 to em0 and em1 (because of better NIC quality) and leave WAN to em2 again :)
                        Will see what will happen :)

                        1 Reply Last reply Reply Quote 0
                        • M
                          maverick_slo
                          last edited by

                          Errors are gone now, transfer speeds up to: 70 Mbytes/s.

                          PCIe ASPM was to blame, hope it helps some one :)

                          Thanks stephenw10, I really appreciate it!

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