ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    ZeroTier File Transfer Speed

    IT Discussion
    zerotier
    7
    49
    6.4k
    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.
    • scottalanmillerS
      scottalanmiller
      last edited by

      Are you testing the full speed, or the speed only inside of the tunnel?

      VPNs by their very nature have to add performance overhead. First you add latency by encrypting the traffic, then the resulting payload has to be larger than the original data, then once received it has to be decrypted again which adds more latency. The added latency makes it slower for data transfers because normal transfer methods wait for responses from the other end and the added latency causes it to wait and not utilize the full bandwidth. Some streaming transfers can overcome this, but normal protocols count on the low latency.

      NashBrydgesN 1 Reply Last reply Reply Quote 0
      • NashBrydgesN
        NashBrydges @scottalanmiller
        last edited by

        @scottalanmiller said in ZeroTier File Transfer Speed:

        How fast do you get without ZeroTier?

        One of the PCs is at a remote location so no way to test on the same network. I've not setup any other VPN between the 2.

        scottalanmillerS 2 Replies Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller @NashBrydges
          last edited by

          @NashBrydges said in ZeroTier File Transfer Speed:

          One of the PCs is at a remote location so no way to test on the same network.

          That wouldn't test the speed. You can only test the expected full speed by doing a non-VPN transfer between the two machines as they are using the same data path. Your current test is that each machine gets roughly 500Mb/s to a local server without going any distance on the Internet, that's useful when testing if your ISP gives you what you ask for, it's not useful in knowing the full data path performance between two Internet end points.

          1 Reply Last reply Reply Quote 0
          • NashBrydgesN
            NashBrydges @scottalanmiller
            last edited by

            @scottalanmiller said in ZeroTier File Transfer Speed:

            Are you testing the full speed, or the speed only inside of the tunnel?

            VPNs by their very nature have to add performance overhead. First you add latency by encrypting the traffic, then the resulting payload has to be larger than the original data, then once received it has to be decrypted again which adds more latency. The added latency makes it slower for data transfers because normal transfer methods wait for responses from the other end and the added latency causes it to wait and not utilize the full bandwidth. Some streaming transfers can overcome this, but normal protocols count on the low latency.

            I wanted to test how fast I could transfer files between the 2 so the short answer to your question is, yes, I'm trying to see what the max speed is that I can get.

            I totally get that I'm going to face some overhead but I wasn't expecting this. And the encrypting/decrypting activity would translate to higher CPU usage but I'm definitely not seeing anything that tells me CPU is bogged down. CPU usage during file transfer is below 20%. Unless this activity is pegging a single thread meaning I wouldn't see a CPU bottleneck when looking at utilization, I'm not sure this is the issue.

            I'm seeing anywhere between 5ms and 12ms either direction when pinging.

            scottalanmillerS 3 Replies Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @NashBrydges
              last edited by

              @NashBrydges said in ZeroTier File Transfer Speed:

              I've not setup any other VPN between the 2.

              No other VPN would likely be useful as all VPNs will have the same general performance. ZeroTier is basically a managed SSL VPN. We can reasonable guess that another VPN will have the same issues. The test you want to do is without a VPN. Only then can you know how much the VPN is cutting down the overall performance. I guarantee that you will find that your direct transfer doesn't come close to 500Mb/s.

              Right now you are blaming the VPN for cutting down the performance, but as you don't know what the original performance is, it's impossible to know how much impact the VPN has.

              1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @NashBrydges
                last edited by

                @NashBrydges said in ZeroTier File Transfer Speed:

                I wanted to test how fast I could transfer files between the 2 so the short answer to your question is, yes, I'm trying to see what the max speed is that I can get.

                That test can only be done by a point to point, non-VPN test.

                1 Reply Last reply Reply Quote 0
                • DashrenderD
                  Dashrender
                  last edited by

                  There could be a router between your two locations on the internet that is the source of the bottleneck.

                  This is why Scott wants you to use a non-VPN connection to make a speed test.

                  scottalanmillerS 1 Reply Last reply Reply Quote 1
                  • scottalanmillerS
                    scottalanmiller @NashBrydges
                    last edited by

                    @NashBrydges said in ZeroTier File Transfer Speed:

                    I totally get that I'm going to face some overhead but I wasn't expecting this. And the encrypting/decrypting activity would translate to higher CPU usage but I'm definitely not seeing anything that tells me CPU is bogged down. CPU usage during file transfer is below 20%. Unless this activity is pegging a single thread meaning I wouldn't see a CPU bottleneck when looking at utilization, I'm not sure this is the issue.

                    I didn't say CPU bottleneck, I said added latency. Not the same thing. Latency is a guarantee, no amount of the CPU not being pegged over a period of time tells would suggest that there is no latency. Especially as CPU load is measured over a period of seconds. The VPN is absolutely pegging the CPU, all transactions do, the question is for how long. If the VPN did it for enough time to hit 100% for any reasonable measurement period, your speed would be in Kb/s, not Mb/s.

                    1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @NashBrydges
                      last edited by

                      @NashBrydges said in ZeroTier File Transfer Speed:

                      I'm seeing anywhere between 5ms and 12ms either direction when pinging.

                      What's the latency difference inside and outside of the tunnel? But keep in mind, the more data that you transfer, the larger the latency will be. A straight ping is slightly misleading.

                      1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @Dashrender
                        last edited by

                        @Dashrender said in ZeroTier File Transfer Speed:

                        There could be a router between your two locations on the internet that is the source of the bottleneck.

                        There are guaranteed to be many, in fact. All of them potential contribute bottlenecks to bandwidth, all have to add latency.

                        1 Reply Last reply Reply Quote 1
                        • 1
                          1337
                          last edited by 1337

                          200 Mbps is not bad. I'd be happy with that.
                          You'll probably find out that the speed will vary a lot from day to day and hour to hour.

                          Best performance will be when you use the same ISP and are physically close.
                          It's also possible that the ISP will throttle your connection automatically depending on what port/protocol it sees. If so then running on another port sometime gets around that.

                          scottalanmillerS 1 Reply Last reply Reply Quote 2
                          • scottalanmillerS
                            scottalanmiller @1337
                            last edited by

                            @Pete-S said in ZeroTier File Transfer Speed:

                            200 Mbps is not bad. I'd be happy with that.
                            You'll probably find out that the speed will vary a lot from day to day and hour to hour.

                            Best performance will be when you use the same ISP and are physically close.
                            It's also possible that the ISP will throttle your connection automatically depending on what port/protocol it sees. If so then running on another port sometime gets around that.

                            That's what I was thinking. Getting 200Mb/s on a VPN over the public Internet between points of any speed is pretty amazing.

                            1 Reply Last reply Reply Quote 1
                            • NashBrydgesN
                              NashBrydges
                              last edited by

                              Hmmm...maybe my expectations were too high. I transferred a 1GB test file from the remote PC to my Nextcloud install on Vultr and got around 200Mbps as well.

                              DashrenderD scottalanmillerS 2 Replies Last reply Reply Quote 0
                              • DashrenderD
                                Dashrender @NashBrydges
                                last edited by

                                @NashBrydges said in ZeroTier File Transfer Speed:

                                Hmmm...maybe my expectations were too high. I transferred a 1GB test file from the remote PC to my Nextcloud install on Vultr and got around 200Mbps as well.

                                Assuming you used an SSL cert, then you still have the VPN overhead in that situation. but yeah, likely you are reaching the limit of the connection via the internet.

                                1 Reply Last reply Reply Quote 1
                                • scottalanmillerS
                                  scottalanmiller @NashBrydges
                                  last edited by

                                  @NashBrydges said in ZeroTier File Transfer Speed:

                                  Hmmm...maybe my expectations were too high. I transferred a 1GB test file from the remote PC to my Nextcloud install on Vultr and got around 200Mbps as well.

                                  Nextcloud by default would use SSL, so a VPN connection for all intents and purposes, so a good comparison of another VPN situation.

                                  1 Reply Last reply Reply Quote 0
                                  • dafyreD
                                    dafyre
                                    last edited by

                                    Check it with SpeedTest.net and see what you get?

                                    scottalanmillerS 1 Reply Last reply Reply Quote -1
                                    • scottalanmillerS
                                      scottalanmiller @dafyre
                                      last edited by

                                      @dafyre said in ZeroTier File Transfer Speed:

                                      Check it with SpeedTest.net and see what you get?

                                      that's where he started, that is useless. That's what led him astray in the first place because it shows the speed of the WAN without showing the speed of the path.

                                      dafyreD 1 Reply Last reply Reply Quote 0
                                      • dafyreD
                                        dafyre @scottalanmiller
                                        last edited by

                                        @scottalanmiller said in ZeroTier File Transfer Speed:

                                        @dafyre said in ZeroTier File Transfer Speed:

                                        Check it with SpeedTest.net and see what you get?

                                        that's where he started, that is useless. That's what led him astray in the first place because it shows the speed of the WAN without showing the speed of the path.

                                        True, but that would also confirm his ISP is giving him what he's paying for.

                                        JaredBuschJ scottalanmillerS 2 Replies Last reply Reply Quote 0
                                        • JaredBuschJ
                                          JaredBusch @dafyre
                                          last edited by

                                          @dafyre said in ZeroTier File Transfer Speed:

                                          @scottalanmiller said in ZeroTier File Transfer Speed:

                                          @dafyre said in ZeroTier File Transfer Speed:

                                          Check it with SpeedTest.net and see what you get?

                                          that's where he started, that is useless. That's what led him astray in the first place because it shows the speed of the WAN without showing the speed of the path.

                                          True, but that would also confirm his ISP is giving him what he's paying for.

                                          That is not the question. No one cares about that.

                                          DashrenderD dafyreD 3 Replies Last reply Reply Quote 1
                                          • DashrenderD
                                            Dashrender @JaredBusch
                                            last edited by

                                            @JaredBusch said in ZeroTier File Transfer Speed:

                                            @dafyre said in ZeroTier File Transfer Speed:

                                            @scottalanmiller said in ZeroTier File Transfer Speed:

                                            @dafyre said in ZeroTier File Transfer Speed:

                                            Check it with SpeedTest.net and see what you get?

                                            that's where he started, that is useless. That's what led him astray in the first place because it shows the speed of the WAN without showing the speed of the path.

                                            True, but that would also confirm his ISP is giving him what he's paying for.

                                            That is not the question. No one cares about that.

                                            Plus I thought he already confirmed he's getting what he's paying for?

                                            1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post