Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AQC111 driver with QNAP QNA-UC5G1T USB 3.0 to 5Gbe Adapter always stops working after some time #124

Closed
salsafunatiker opened this issue Oct 16, 2023 · 4 comments

Comments

@salsafunatiker
Copy link

I have Synology DS720+.

Installation works fine for QNAP QNA-UC5G1T and with iperf3 I get throughput like 3.2 GBit.
After transferring lots of data, it then stops working. I need to stop AQC111 driver and start again.

In contrast to QNAP 5 Gbit adapter, the 2.5 Gbit adapter for R8152 always works fine and stable.

Who can help with my 5 Gbit issue? Does anyone experience the same?

@mattrpav
Copy link

Most likely, it is shutting down due to heat. This aqc111 driver supports setting priv flags to use less power, and disable the thermal throttling and works for the most part.

    ethtool --set-priv-flags eth2 "Thermal throttling" off
    ethtool --set-priv-flags eth2 "Low Power 5G" on

@bb-qq it'd be great if these features were merged into the mainline kernel. Seems like it'd make sense to have those without having to patch the system after every kernel update. Thoughts?

@salsafunatiker
Copy link
Author

Thank you for the answer!
Here is described how to do it:
#7

With this, the QNAP 5 Gbit adapter seems to work stable.

However, some general words, the 5 Gbit over USB has limitations:

  • it gets really hot
  • the data rate is not 5 Gbps!
  • Instead it does not reach more than 3.5 Gbps
  • Buying 2.5 Gbps gives you max 2.35 Gbps
  • Buying 5 Gbps gives you max 3.5 Gbps - in ideal condition

@bb-qq
Copy link
Owner

bb-qq commented Oct 29, 2023

it'd be great if these features were merged into the mainline kernel. Seems like it'd make sense to have those without having to patch the system after every kernel update. Thoughts?

The source code my driver is based on is provided by the vendor (Aquantia/Marvell), and the Linux kernel driver is committed by the vendor as well.
The code on the Linux kernel side seems to be still being updated, so there may be a reason why these flag settings are not supported.

@mattrpav
Copy link

@bb-qq thank you for that info. Where is the appropriate place to request the feature? Here or Linux kernel issue tracker?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants