Open austonpramodh opened 4 months ago
Update: Got access to another router with OpenWRT. It gets the same 200mbps speed. I am assuming this could be a driver issue.
But speeds are not going above 240mbps.
Hi @austonpramodh
Sorry for the delay. Been busy.
A quick look and the first thing that comes to mind is that the USB port(s) are running in USB2 mode. Recommend you go to the OpenWRT command line and run:
lsusb -t
Things that I noticed:
You should check the MT1300 CPU usuage. I don't think MT7621 support HWNAT for USB Device. So most likely CPU bottlenecked.
Hi @morrownr,
Sorry for the delayed response. I did have disconnected this setup.
I have connected it again, Here:
It looks like it's running at 5000M
You are right, I was too close to the router. The one on which I got 600mbps+ was also at same distance. But I have fixed it now, kept them far away from eachother.
Hello @wgetge
Its possible, I will test out soon and get back to you.
@wgetge
I tested it out, It could be the issue. Here
I have the same problem, did you find a solution? I tried about 5 openwrt usb3.0 supported routers, the speed does not exceed 200mbps
@kissmorning
Remember that OpenWRT has to be able to support routers with very limited resources so drivers need to be installed if they are needed.
In other words, you may have required drivers installed for USB2 but do you have the drivers installed for USB3?
https://openwrt.org/toh/xiaomi/mir3g I am using this device, I have 1gb internet, I get internet in client mode with the internal wifi to avoid loss, I distribute internet in master mode with mt7612's usb wifi, but I cannot exceed 200mbps speed, could this be due to processor bottleneck?
@kissmorning
I guess you did not understand my question:
...you may have required drivers installed for USB2 but do you have the drivers installed for USB3?
That question relates to OpenWRT. How do you install the drivers in OpenWRT? ssh or Luci?
What I am trying to get at is whether you installed the USB3 drivers and have you checked to see if the adapter is in USB3 mode. The USB port on your router may be a USB3 capable port but if only USB2 drivers are installed, it will operate in USB2 mode.
Thank you for your quick response. USB 3.0 drivers are enabled, I get high speeds when I connect an SSD to the USB output.@austonpramodh I have a similar problem with
@kissmorning I am not 100% sure if mine was more of a CPU bottleneck problem. Technically when USB2 is used, I should get around 30-40 MBps(megabytes), I was getting may be around 20MBps(megabytes)
Have you checked the CPU load when read/writing heavily?
But yeah this USB 3.0 driver seems to be a new thing for me, ill have to check.
[update] I was able to achieve 300mbps with a good power source, CPU definitely seems to be maxing out. I tested this on GL-MT1300 with stock firmware.
Checklist
uname
Linux OpenWrt 5.15.150 #0 SMP Fri Mar 22 22:09:42 2024 mips GNU/Linux
lsusb
Bus 002 Device 003: ID 0e8d:7961 MediaTek Inc. Wireless_Device
rfkill
rfkill: not found
dkms
iw
What happened?
I am using Fenvi AX1800(MT7921AU). It seems like its running slow on OpenWRT router, but runs fast on my PC(Ubuntu-24.04).
I tested the USB port if that was the issue, but it's not. Tested with USB3 SSD, got around 103MBps
Edit: Forgot to mention, The router I am using GL.INet MT1300