bb-qq / r8152

Synology DSM driver for Realtek RTL8152/RTL8153/RTL8156 based adapters
GNU General Public License v2.0
2.02k stars 184 forks source link

driver issues under sustained full duplex load on rtd1296 #48

Closed johndavisnz closed 1 year ago

johndavisnz commented 4 years ago

has anyone sucesfully used the rtd1296 driver - I'm seeing speed drop to zero (requiring if down/up to clear) testing it with full duplex loads (either 'real world' copying large files simultaneously in both directions, or synthetically testing using iperf3)

MKHB1981 commented 4 years ago

I tested it with a Synology DS418 and a CAC-1420. Unfortunately it's the same problem. The data rate drops to 0 after a few seconds. The Ethernet adapter still has a link, but is no longer displayed as an interface in the NAS.

When I use on a 1gbits switch it works for a couple of minutes. If I reduce the speed further with a USB2.0 extension cable, then data can be transmitted stably. I tried for about half an hour. Supporting the power supply with a Y-cable does not help. The behavior on both USB ports is also the same.

johndavisnz commented 4 years ago

I'm on a ds418 as well - I've tested with both a direct link to a matching cablecreations 2.5gb usb3 adaptor on a pc, and via a 1gbe switch

At both 2.5gbe and 1gbe iperf3 will test sustained fine with the ds418 only receiving traffic, at 2.5gbe (direct) any loading of transmit traffic brings the link down, at 1gbe I can test transmit only fine, but any combined loading of transmit and receive at the same time brings the link down after a couple of seconds.

Testing using a direct connection I tried manually forcing link speed down using eththool - at 100mbs fdx the link is stable loaded simultaneously in both directions, at 1000mbs fdx if I control test bandwidth using the --bandwidth option in iperf3 it's stable up to about 300mbs, beyond that again the link collapses

So looks to primarily be a transmit related issue

Limoges65 commented 3 years ago

The same happens to me using DS118. Link/Transfer collapses when under full speed, one single direction works. Latest 2.14.** RTD1296 used.

LuxKeiwoker commented 3 years ago

I'm having the same issue also with DSM 7 and a DS418j. Did anyone find a resolution for this?

bb-qq commented 3 years ago

I do not have ideas to resolve this situation. But I am interested in the result if the dongle connected via a self-powered USB hub with an AC adapter.

bb-qq commented 1 year ago

I decided to merge topics on rtd1296 into issue #275. If you notice anything new, please comment there.