mirror of
https://github.com/morrownr/8812au-20210820.git
synced 2026-10-14 21:38:30 +00:00
[GH-ISSUE #48] Question: What is the theoretical file transfer speed? #44
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @holefrog on GitHub (Feb 2, 2025).
Original GitHub issue: https://github.com/morrownr/8812au-20210820/issues/48
Thank you for your time and effort in providing such a great driver.
I have a very simple yet confusing question: What is the theoretical file transfer speed?
My Setup is:
Router: ASUS RT-AC5300, 5GHz, Channel 153, width: 80M.
NAS: QNAP 453BMini.
PC 1: Thinkpad X230, Ubuntu 24.04.1 LTS, AX210 Mini PCIe WIFI card, SSD hard disk.
PC 2: Macbook Pro 2016 (A1708), Ubuntu 24.04.1 LTS, AC1200 USB WIFI card (8812AU) with two Antennas, SSD hard disk.
PC1 and PC2 both have a bit rate of 867 Mb/s.
PC1 can achieve a transfer speed of 30 MB/s from the NAS. Although this is not an ideal speed, the X230 is quite an old model. However, PC2 achieves less than 15 MB/s while transferring the same file from the NAS.
Are there any settings I can modify to get better speed?
Here is information of Thinkpad X230:
Here is information of Macbook Pro 2016:
@morrownr commented on GitHub (Feb 2, 2025):
Hi @holefrog
With an AC1200 adapter with a 867 Mbps link speed, you can see around 430 Mbps transfer speed.
This connection is good.
This connection is not so good so if all else is equal, you should see better transfer speed with the first system.
@holefrog commented on GitHub (Feb 2, 2025):
Yes, even 430Mbps is arond 30-40MB/s, my issue is 15MB/s, and I am within 5 meters to the router. Both PC1 and PC2 are at the same location.
Any reason can cause the Link Quality?
@morrownr commented on GitHub (Feb 3, 2025):
I can think of a few things that could cause this. How about you start with checking the USB mode:
$ lsusb -t
5000=USB3
480= USB2
@holefrog commented on GitHub (Feb 3, 2025):
You are quite right.
It is a USB2.0 interface, althhough it say AC-1200Mbps. Therefor, the copy speed should around 20-40MB/s.
@morrownr commented on GitHub (Feb 3, 2025):
This is the cause of the slower speed. What is the cause of the adapter being in USB2 mode? There could be various reasons.
@holefrog commented on GitHub (Feb 3, 2025):
I tried two methods to connect it to the Thunderbolt port. Both give me a USB 2.0 connection. Maybe this 8812AU is a USB 2.0 product?
@morrownr commented on GitHub (Feb 3, 2025):
Some usb adapters that also have bluetooth support are limited to USB2 but that is not the case with adapters based on rtl8812au chips as they are wifi-only chips. You adapter is capable of USB3.
Go into the driver directory and open a terminal. Run:
$ sudo edit-options.sh
That will open a file. Use your mouse and copy the line that starts with
options. Paste what you get. Ctrl + x will close the file.@holefrog commented on GitHub (Feb 4, 2025):
Only one line begins with options
@morrownr commented on GitHub (Feb 5, 2025):
That is the way it should be.
Hmmm...there is the problem. Change that parameter to:
rtw_switch_usb_mode=1
and save the file. If using nano, Ctrl + O, Ctrl + X
Reboot. Tell me what you see now.
@holefrog commented on GitHub (Feb 5, 2025):
Thank you for all the replies.
I installed Windows on my MBP and compared the speeds of the internal BCM4350 and the external 8812. The BCM reached 70MB/s, while the 8812 only reached 30MB/s. These results suggest that my 8812 card is using a USB 2.0 interface, even though its port is blue like a USB 3.0 port.
I then tried using only the BCM4350 on Ubuntu, but the connection was very slow and unstable. The maximum connection speed I achieved was 208Mbps, which rapidly decreased to 108, 54, 27... and sometimes only 4Mbps. That's why I tried using the 8812.
It seems that the only viable option is to use Windows on my MBP.
@morrownr commented on GitHub (Feb 5, 2025):
Does not matter what the color of the port is. I showed you how to check and it showed USB2. I then showed you what the problem is and how to fix it... but it appears that you did not fix it.
Your adapter will have a nice in-kernel driver starting with kernel 6.14.
@holefrog commented on GitHub (Feb 6, 2025):
I checked the info using USBView. I have no idea why the manufacturer put 0x200 in bcdUSB.