Announcement

Collapse
No announcement yet.

Realtek RTL8156 2.5G Chips + RTL8153 To Be Supported By Linux 5.13

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #11
    Finally, I will hopefully be able to put my laptop to sleep while connected to the ethernet and not killing my local network at the same time.

    Comment


    • #12
      Originally posted by ix900 View Post

      Is that same drive write speeds on both? Drive cache size also? No heat throttling? How about has trim been running?

      its easy to miss some other problem.
      Well, iperf doesn't write anything on disk.

      Comment


      • #13
        I'm more interested in Realtek getting their 802.11ac and 802.11ax drivers upstreamed than their ethernet drivers.

        The kernel only has two to three USB 802.11ac devices supported, and these are all from Mediatek.

        Not a single USB 802.11ac chipset driver from Realtek has ever made it into mainline, and 802.11ac is more than seven years old now.

        Comment


        • #14
          Originally posted by ahrs View Post
          Will this actually support 2.5gbit download? My motherboard has an onboard 2.5gbit Realtek adapter (05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller) and I can max it out when uploading to my file server but downloads are limited to ~1.70 Gbits/sec. Another machine with a 10gbit NIC can pull ~7 Gbits/sec from it so I know the problem isn't with the server. I also tested on Windows 10 and see the same issue there.
          The statement is moot. Network performance is subject to a gazillion things.
          Busses, switches, routers, cables, sizes, filters, drivers, servers, protocols etc, etc. Ad nauseam.

          Comment


          • #15
            Originally posted by ahrs View Post
            Will this actually support 2.5gbit download? My motherboard has an onboard 2.5gbit Realtek adapter (05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller) and I can max it out when uploading to my file server but downloads are limited to ~1.70 Gbits/sec. Another machine with a 10gbit NIC can pull ~7 Gbits/sec from it so I know the problem isn't with the server. I also tested on Windows 10 and see the same issue there.
            I have never seen any NIC ever reach its advertised download speeds on any operating system.

            Comment


            • #16
              Originally posted by Sonadow View Post
              I have never seen any NIC ever reach its advertised download speeds on any operating system.
              How do you define "advertised download speeds"? In case of 1GBit/s you'll get ~950MBit/s with 1500 MTU due to all the protocol overheads. I've never had any problems with my NICs in terms of achievable speed and I've used quite a few: 10/100/1000, 2.5/5/10GBit/s, 10Gbit/s in many physical layer flavours and recently 25GBit/s, which when given high enough MTU and proper switch configuration achieve this:

              Code:
              [ ID] Interval Transfer Bitrate Retr
              [ 5] 0.00-10.00 sec 28.7 GBytes 24.7 Gbits/sec 0 sender
              [ 5] 0.00-10.00 sec 28.7 GBytes 24.7 Gbits/sec receiver

              Comment


              • #17
                Originally posted by Sonadow View Post
                I have never seen any NIC ever reach its advertised download speeds on any operating system.
                You're the exception from everyone else.

                Comment


                • #18
                  Originally posted by brad0 View Post

                  You're the exception from everyone else.
                  The Realtek 8156 2.5Gbit USB adapter has worked using the generic USB NIC driver since they dropped support for their official driver.
                  The catch is it used to blast syslog with link up messages and you can't change the MTU or use VLANs.

                  cdc_ncm 2-2:2.0 enp0s20f0u2c2: 2500 mbit/s downlink 2500 mbit/s uplink

                  Connecting to host lcars, port 5201
                  [ 5] local 192.168.1.50 port 40812 connected to 192.168.1.253 port 5201
                  [ ID] Interval Transfer Bitrate Retr Cwnd
                  [ 5] 0.00-1.00 sec 279 MBytes 2.34 Gbits/sec 14 615 KBytes
                  [ 5] 1.00-2.00 sec 280 MBytes 2.35 Gbits/sec 3 891 KBytes
                  [ 5] 2.00-3.00 sec 281 MBytes 2.36 Gbits/sec 0 976 KBytes
                  [ 5] 3.00-4.00 sec 280 MBytes 2.35 Gbits/sec 0 1001 KBytes
                  [ 5] 4.00-5.00 sec 281 MBytes 2.36 Gbits/sec 4 1007 KBytes
                  [ 5] 5.00-6.00 sec 280 MBytes 2.35 Gbits/sec 0 1010 KBytes
                  [ 5] 6.00-7.00 sec 281 MBytes 2.36 Gbits/sec 0 1014 KBytes
                  [ 5] 7.00-8.00 sec 280 MBytes 2.35 Gbits/sec 0 1020 KBytes
                  [ 5] 8.00-9.00 sec 281 MBytes 2.36 Gbits/sec 0 1.01 MBytes
                  [ 5] 9.00-10.00 sec 280 MBytes 2.35 Gbits/sec 0 1.05 MBytes
                  - - - - - - - - - - - - - - - - - - - - - - - - -
                  [ ID] Interval Transfer Bitrate Retr
                  [ 5] 0.00-10.00 sec 2.74 GBytes 2.35 Gbits/sec 21 sender
                  [ 5] 0.00-10.01 sec 2.74 GBytes 2.35 Gbits/sec receiver


                  Reverse mode, remote host lcars is sending
                  [ 5] local 192.168.1.50 port 40742 connected to 192.168.1.253 port 5201
                  [ ID] Interval Transfer Bitrate
                  [ 5] 0.00-1.00 sec 279 MBytes 2.34 Gbits/sec
                  [ 5] 1.00-2.00 sec 281 MBytes 2.35 Gbits/sec
                  [ 5] 2.00-3.00 sec 281 MBytes 2.35 Gbits/sec
                  [ 5] 3.00-4.00 sec 280 MBytes 2.35 Gbits/sec
                  [ 5] 4.00-5.00 sec 281 MBytes 2.35 Gbits/sec
                  [ 5] 5.00-6.00 sec 281 MBytes 2.35 Gbits/sec
                  [ 5] 6.00-7.00 sec 281 MBytes 2.35 Gbits/sec
                  [ 5] 7.00-8.00 sec 281 MBytes 2.35 Gbits/sec
                  [ 5] 8.00-9.00 sec 281 MBytes 2.35 Gbits/sec
                  [ 5] 9.00-10.00 sec 281 MBytes 2.35 Gbits/sec
                  - - - - - - - - - - - - - - - - - - - - - - - - -
                  [ ID] Interval Transfer Bitrate Retr
                  [ 5] 0.00-10.00 sec 2.74 GBytes 2.36 Gbits/sec 0 sender
                  [ 5] 0.00-10.00 sec 2.74 GBytes 2.35 Gbits/sec receiver


                  Presumably this new driver will fix those issues.

                  Comment


                  • #19
                    Originally posted by Alex Atkin UK View Post

                    The Realtek 8156 2.5Gbit USB adapter has worked using the generic USB NIC driver since they dropped support for their official driver.
                    The catch is it used to blast syslog with link up messages and you can't change the MTU or use VLANs.

                    cdc_ncm 2-2:2.0 enp0s20f0u2c2: 2500 mbit/s downlink 2500 mbit/s uplink

                    [...]

                    Presumably this new driver will fix those issues.
                    If I understood you correctly you expect the iperf score to be equal to line rate of 2500 MBit/s? It will never do it due to what iperf is actually measuring. Unless you adjust the MTU, but even then it will be close, but not exactly the line rate.

                    Comment


                    • #20
                      Originally posted by numacross View Post

                      If I understood you correctly you expect the iperf score to be equal to line rate of 2500 MBit/s? It will never do it due to what iperf is actually measuring. Unless you adjust the MTU, but even then it will be close, but not exactly the line rate.
                      Iperf will never show the line rate because its measuring how much data you can transfer whereas protocol overheads have to fit into that line rate too.

                      To measure the actual line rate you can monitor the interface itself or if you have a managed switch monitor the traffic going across the port.

                      The MTU makes a marginal difference if both ends of the link have a fast CPU so can process the packets fast enough.

                      Comment

                      Working...
                      X