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

Why iperf instead of iperf3?

General pfSense Questions
5
8
3.2k
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.
  • S
    scurrier
    last edited by Jan 21, 2017, 8:27 PM

    It seems that iperf3 is newer and has active development, while iperf development is dead.  Why does pfsense only display iperf in the webgui and not iperf3?

    I know I could install iperf3 with the pkg system, but the docs are pretty clear that messing with pkg can screw up pfsense's dependencies, so I want to avoid that and would prefer an official package that is installable through the pfsense webgui.

    Doc I'm referring to about pkg dependencies:
    https://doc.pfsense.org/index.php/Installing_FreeBSD_Packages

    Thank you.

    1 Reply Last reply Reply Quote 0
    • D
      doktornotor Banned
      last edited by Jan 21, 2017, 8:42 PM

      There are exactly zero dependency issues when installing from the pfSense repo.

      
      $ pkg search iperf3
      iperf3-3.1.4                   Improved tool to measure TCP and UDP bandwidth
      
      
      1 Reply Last reply Reply Quote 0
      • G
        GruensFroeschli
        last edited by Jan 23, 2017, 11:22 AM

        The last time i used iperf3 it wasn't really production ready.
        This was about 6 months ago.
        Not sure what the state is today.

        If you just want to test throughput for a few seconds, sure go for it.

        Problems i had with iperf3:

        • Not able to run longer than 86400 seconds
        • Bursty traffic when setting a specific bandwidth with UDP instead of evenly distributed traffic.
        • Multiple streams result in no measurement results.

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • J
          johnpoz LAYER 8 Global Moderator
          last edited by Jan 23, 2017, 12:00 PM

          in what scenario would you run iperf for anywhere close to  86400 seconds??  Your talking 24 hours..

          As to bursty traffic with udp.. That has not been my take at all.. We were using it to simulate voip traffic for a problem, and it worked great setting specific amount of bandwdith to use, etc..

          I use multiple streams with iperf3 all the time.. Works just fine..

          They should update the repo 3.1.5 been out for a week or so..

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.7.2, 24.11

          1 Reply Last reply Reply Quote 0
          • G
            GruensFroeschli
            last edited by Jan 23, 2017, 12:20 PM

            Longterm testing for the stability of wireless links.
            If you want to know how the channel changes over a week or longer dependent on weather you kind of want to leave it running ;)

            Regarding the burstiness:
            If you have a 100Mbit link and you send 1Mbit of udp traffic at 1kpps
            These 1k frames will be sent immediately at the beginning of the second.
            –> You have 100Mbit of traffic for 10ms.
            What we expected (and what iperf2 does) is 1 frame every 1ms.
            --> constant traffic of 1Mbit.

            The multiple streams was probably just a problem of displaying the results on stdout since i saw the different streams with wireshark.
            However i don't really want to leave wireshark running for a week or longer only then to have to analyze the results manually.

            We do what we must, because we can.

            Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

            1 Reply Last reply Reply Quote 0
            • J
              johnpoz LAYER 8 Global Moderator
              last edited by Jan 23, 2017, 1:17 PM

              I will have to look to the 1k frames at the beginning of the second thing..  As to multiple streams.

              Are you talking with udp or tcp?

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.7.2, 24.11

              1 Reply Last reply Reply Quote 0
              • H
                Harvy66
                last edited by Jan 23, 2017, 6:23 PM

                @johnpoz:

                As to bursty traffic with udp.. That has not been my take at all.. We were using it to simulate voip traffic for a problem, and it worked great setting specific amount of bandwdith to use, etc..

                In short, iPerf3 uses a 1 second timer. If you want to emulate 10Mb/s on a 10Gb/s link, it sends 10Gb/s for 1ms, then is idle for the other 999ms. The below git repo changed the resolution to 1ms, so it should only burst 10Gb/s for 0.001ms 1000 times per second. Much smoother.

                http://burntchrome.blogspot.com/2016/09/iperf3-and-microbursts.html
                https://github.com/woody77/iperf

                1 Reply Last reply Reply Quote 0
                • G
                  GruensFroeschli
                  last edited by Jan 24, 2017, 10:48 AM

                  @johnpoz:

                  I will have to look to the 1k frames at the beginning of the second thing..  As to multiple streams.

                  Are you talking with udp or tcp?

                  TCP. We run it with -i 1which is what i guess causes the problem. Running with -i 5 shows the output correctly.

                  We do what we must, because we can.

                  Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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