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

    datatransfer rate not as high as it should be

    Scheduled Pinned Locked Moved Routing and Multi WAN
    27 Posts 5 Posters 1.3k 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.
    • P
      pleaseHELP @johnpoz
      last edited by pleaseHELP

      @johnpoz said in datatransfer rate not as high as it should be:

      @pleaseHELP what iperf did you run what was server where you ran -s and client when you ran -c ipofiperfserver

      I ran all tests with iperf3. In all of my tests I used the -R parameter to switch the roles of server and client.

      Couple of things that could be causing the issue in driver settings.. But really need to be sure if your windows PC is having problem sending the data, or when other devices are sending to it.

      I'm sorry if I haven't been clear enough: The issue on my PC only occurs, when it's client (f.e. in iperf3). I don't know whether the client in iperf sends data to the server or it receives. You'd have to answer me this before me can proceed with further Windows configuration settings so that I also get the grasp. When I switch the roles (PC as server) with the -R parameter, then everything is running on 1Gbit/s standarts.

      What settings does your interface present? Also I would double check your windows settings in netsh.

      netsh Interface tcp show global
      Querying active state...
      
      TCP Global Parameters
      ----------------------------------------------
      Receive-Side Scaling State          : enabled
      Receive Window Auto-Tuning Level    : normal
      Add-On Congestion Control Provider  : default
      ECN Capability                      : disabled
      RFC 1323 Timestamps                 : disabled
      Initial RTO                         : 1000
      Receive Segment Coalescing State    : enabled
      Non Sack Rtt Resiliency             : disabled
      Max SYN Retransmissions             : 4
      Fast Open                           : enabled
      Fast Open Fallback                  : enabled
      HyStart                             : enabled
      Proportional Rate Reduction         : enabled
      Pacing Profile                      : off
      

      Now I don't have a single clue what all these settings do, the only one that is different is:

      • ECN Capability disabled

      rather than enabled.

      I've now disabled "interrupt moderation":
      1d700433-1933-4055-9e20-996fa7f68ed7-image.png
      and also set "Speed & Duplex" from Auto Negotiation to 1.0 Gbps Full Duplex.
      It didn't help.

      johnpozJ G 2 Replies Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @pleaseHELP
        last edited by johnpoz

        @pleaseHELP wow that is one basic driver if that is all the settings you have for it.

        ECN would really not come into play.. The big one would be recieve-side scaling could lower performance if not on. And the autotuning.

        You have any security/antivirus software running - those have been know to take a hit on network performance.

        BTW - you should really never hard code gig - its not something you should do, if auto does not neg gig - then something is wrong.. And hard coding not really a fix for what is wrong.

        Which direction are you seeing the 600mbps vs 900.. Is that this pc sending to something, or the other something sending to the PC..

        Is that a usb nic or nic that came from maker of pc, one you added? My bet currently would be if its the pc trying to send data somewhere that you have some security/antivirus software causing you issues.

        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.8, 24.11

        P 1 Reply Last reply Reply Quote 1
        • G
          Gblenn @pleaseHELP
          last edited by Gblenn

          @pleaseHELP said in datatransfer rate not as high as it should be:

          When I write MB/s (or Mb/s) I mean Megabytes per second.

          Ok but if you want others to also understand what you mean, it's better to follow standards. B means Bytes and b means bits, so 1 MB/s = 8 Mb/s.

          I found the origin of this issue: It comes from my own PC (Windows configuration). Some OS configuration limits the incoming datatransfer rate.

          Everything you wrote and talked about earlier indicates it is when the PC is sending not receiving data that you have the 660 ish limitation. And you repeat that just now when you say:

          When I switch the roles (PC as server) with the -R parameter, then everything is running on 1Gbit/s standarts.

          Although, I can see how it can be confusing unless you are 100% certain which direction the traffic is actually flowing.
          When you run the iperf command with the -c parameter, it is the client, and as default it is the sender. When you add the -R parameter, it is still the client, but it is receiving.

          Anyway, it seems it was like I suggested, that it is your PC that is not working right. So at least you know where to "dig in"... I doubt that an AV program would be the limiting factor, especially as it's when sending. But also because it's too consistent at 660... Simple enough to test though, just turn it off when testing...

          But I think you need to look deeper into your NIC and the settings. What NIC is it that you have in your PC?
          And as @johnpoz was saying, the driver settings look very basic. Have you ever updated the driver, or checked that it is the correct/best one?

          P 1 Reply Last reply Reply Quote 0
          • P
            pleaseHELP @johnpoz
            last edited by

            @johnpoz said in datatransfer rate not as high as it should be:

            @pleaseHELP wow that is one basic driver if that is all the settings you have for it.

            At the time I bought the motherboard I went for the most basic one. I don't believe you have to pay a lot for a motherboard. Aside from that I just went with the drivers it already offered. I didn't change anything related to network settings. The motherboard's NIC is the same as the NIC of the server (Realtek RTL8111H).

            You have any security/antivirus software running - those have been know to take a hit on network performance.

            Just Windows Firewall and its Antivirus. Thats it. Nothing more. If this would be a Windows Firewall/Antivirus issue, then I'd have seen the same issue on the other Windows device. So I'm guessing this shouldn't be the cause?

            BTW - you should really never hard code gig - its not something you should do, if auto does not neg gig - then something is wrong.. And hard coding not really a fix for what is wrong.

            Alright, good to know. For me, it was worth a try, since I've also heard from cases where Auto Negotiation might screw you over. I've turned it back to Auto Negotiation as well as activated interrupt moderation, since both settings didn't really show any impact.

            Which direction are you seeing the 600mbps vs 900.. Is that this pc sending to something, or the other something sending to the PC..

            Well whenever I upload stuff to my TrueNAS, I face this issue. The same goes for when my PC is client on iperf, since the client sends data to the server as far as I understand it now. So my PC is clearly having issues sending data around. Receiving data works under 1Gbit/s standarts.

            Is that a usb nic or nic that came from maker of pc, one you added? My bet currently would be if its the pc trying to send data somewhere that you have some security/antivirus software causing you issues.

            As said, I only have Windows Firewall and Antivirus enabled. I've disabled the Firewall now for my local private network, since I don't need it either way (the firewall I've built on pfSense is way more efficient and up to my standarts either way). Unfortunately, turning off the Firewall is not fixing this. I still have a datatransfer rate of sending data under 80 MB/s

            1 Reply Last reply Reply Quote 0
            • P
              pleaseHELP @Gblenn
              last edited by pleaseHELP

              @Gblenn said in datatransfer rate not as high as it should be:

              @pleaseHELP said in datatransfer rate not as high as it should be:

              When I write MB/s (or Mb/s) I mean Megabytes per second.

              Ok but if you want others to also understand what you mean, it's better to follow standards. B means Bytes and b means bits, so 1 MB/s = 8 Mb/s.

              Thanks, now I know about this convention. I'm trying to adapt so that we don't have any miscommunication.

              Everything you wrote and talked about earlier indicates it is when the PC is sending not receiving data that you have the 660 ish limitation. And you repeat that just now when you say:

              When I switch the roles (PC as server) with the -R parameter, then everything is running on 1Gbit/s standarts.

              You're totally right. I'm very sorry, if I haven't been clear enough since I myself was confused about whether this is an issue about receiving or sending the data. But now its clear as you've correctly mentioned: My PC is making trouble about sending the data.

              Anyway, it seems it was like I suggested, that it is your PC that is not working right. So at least you know where to "dig in"... I doubt that an AV program would be the limiting factor, especially as it's when sending. But also because it's too consistent at 660... Simple enough to test though, just turn it off when testing...

              But I think you need to look deeper into your NIC and the settings. What NIC is it that you have in your PC?
              And as @johnpoz was saying, the driver settings look very basic. Have you ever updated the driver, or checked that it is the correct/best one?

              The NIC that is built within the mother is the Realtek RTL8111H. As said, I didn't change much, but I've checked on the driver. Its very old (latest update from 2015???), but still called the "latest".
              Should I try installing an other driver?

              47ae2247-fbd4-4d76-a12c-eebc8398b137-image.png

              EDIT: I looked on the motherboard website and found a LAN driver from 2022, which I manually installed. The issue is now resolved. Seems like that was some kind of a bad driver, which was automatically installed. I now also have all kinds of settings, as @johnpoz had in his driver settings. Since this issue is now resolved. I guess there is no need to fiddle with the settings. I cannot thank you guys enough, without you I wouldn't have found the cause of this bizarre issue.

              johnpozJ G 2 Replies Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator @pleaseHELP
                last edited by

                @pleaseHELP yeah if your seeing gig both ways - nothing to fiddle with really ;)

                Glad you got it sorted - so what file copy speeds you seeing now?

                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.8, 24.11

                P 1 Reply Last reply Reply Quote 0
                • G
                  Gblenn @pleaseHELP
                  last edited by

                  @pleaseHELP said in datatransfer rate not as high as it should be:

                  EDIT: I looked on the motherboard website and found a LAN driver from 2022, which I manually installed. The issue is now resolved.

                  Yes sometimes one has to help Windows along a bit and do some manual fixes... really great that you got it sorted!

                  1 Reply Last reply Reply Quote 0
                  • P
                    pleaseHELP @johnpoz
                    last edited by

                    @johnpoz now consistent > 900 Mbit/s:

                    [ ID] Interval           Transfer     Bandwidth
                    [  4]   0.00-1.00   sec   113 MBytes   946 Mbits/sec
                    [  4]   1.00-2.00   sec   112 MBytes   942 Mbits/sec
                    [  4]   2.00-3.00   sec   111 MBytes   932 Mbits/sec
                    [  4]   3.00-4.00   sec   112 MBytes   936 Mbits/sec
                    [  4]   4.00-5.00   sec   111 MBytes   929 Mbits/sec
                    [  4]   5.00-6.00   sec   111 MBytes   929 Mbits/sec
                    [  4]   6.00-7.00   sec   112 MBytes   938 Mbits/sec
                    [  4]   7.00-8.00   sec   112 MBytes   938 Mbits/sec
                    [  4]   8.00-9.00   sec   112 MBytes   937 Mbits/sec
                    [  4]   9.00-10.00  sec   112 MBytes   938 Mbits/sec
                    - - - - - - - - - - - - - - - - - - - - - - - - -
                    [ ID] Interval           Transfer     Bandwidth
                    [  4]   0.00-10.00  sec  1.09 GBytes   936 Mbits/sec                  sender
                    [  4]   0.00-10.00  sec  1.09 GBytes   936 Mbits/sec                  receiver
                    

                    I am satisified. Those results are good. Thanks again to all of you for the help!

                    johnpozJ 1 Reply Last reply Reply Quote 0
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator @pleaseHELP
                      last edited by johnpoz

                      @pleaseHELP So this was never about file copy speed, but only iperf tests? With gig you should max out at about 113MBps with a file copy. If your wire shows that your network is doing gig, and your file copy is still slow - ie not somewhere around that 113MBps then something else in the io path, the disk, etc.

                      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.8, 24.11

                      1 Reply Last reply Reply Quote 0
                      • G
                        Gblenn @pleaseHELP
                        last edited by

                        @johnpoz said in datatransfer rate not as high as it should be:

                        So this was never about file copy speed, but only iperf tests?

                        I think it was actually about file transfers as well...
                        Here's from one of the earler posts..

                        @pleaseHELP said in datatransfer rate not as high as it should be:

                        I've noticed that sending data to that TrueNAS is always capped at 80 Mb/s, but getting data from it runs on about 1Gbit/s, as it also should for upload. This isn't just a TrueNAS thing.

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