HoRNDIS icon indicating copy to clipboard operation
HoRNDIS copied to clipboard

Link speed capped at 480Mbps

Open hy1o opened this issue 4 years ago • 3 comments

Thanks for the driver! I appreciate your work.

I have an RNDIS cable that supports USB3 interface and thus it can support the speed up to 5Gbps. I'm using it to connect two computers. I'm aware of the fact that this is not the purpose of HoRNDIS but I could use your help.

On Windows side, the Ethernet(over USB) link speed is indeed 5Gbps. On macOS side, it is capped at 480Mbps (in Network Utility)

I found out that the max speed(480Mbps) is hard-coded in HoRNDIS source code. medium = IONetworkMedium::medium(kIOMediumEthernetAuto, 480 * 1000000); The maximum speed I could get by playing with this was 705.033 Mbps.

Is there any RNDIS or USB parameters to increase the link speed?

hy1o avatar Oct 28 '20 10:10 hy1o

What RNDIS USB-3 cable are you using?

Is your problem displayed speed or the actual measured transfer speed?

On Wed, Oct 28, 2020 at 3:23 AM Saehanseul Yi [email protected] wrote:

Thanks for the driver! I appreciate your work.

I have an RNDIS cable that supports USB3 interface and thus it can support the speed up to 5Gbps. I'm using it to connect two computers. I'm aware of the fact that this is not the purpose of HoRNDIS but I could use your help.

On Windows side, the Ethernet(over USB) link speed is indeed 5Gbps. On macOS side, it is capped at 480Mbps (in Network Utility)

I found out that the max speed(480Mbps) is hard-coded in HoRNDIS source code. medium = IONetworkMedium::medium(kIOMediumEthernetAuto, 480 * 1000000); The maximum speed I could get by playing with this was 705.033 Mbps.

Is there any RNDIS or USB parameters to increase the link speed?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jwise/HoRNDIS/issues/130, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALJH5GRVJAHDCYUCU2X3RTSM7WIRANCNFSM4TCDYE7Q .

-- Belcarra Embedded USB Software Stuart_Lynne [email protected] 604-461-7532 Alternates: 604-283-7475 and 604-518-1749(cell) http://usblan.belcarra.com http://www.belcarra.com

Belcarra avatar Oct 28 '20 18:10 Belcarra

I'm using Streaming Cable from LattePanda.. https://www.dfrobot.com/product-1851.html http://docs.lattepanda.com/content/streaming_cable/get_started/

Well, I felt some lagging in remote desktop but the actual file transfer speed was 50MB/s. I think that exceeds typical, real-life USB 2.0 speed which is, if I recall correctly, around 20MB/s. (Theoretically it's still under 480Mbps? 50MB*8=400Mbps) However, USB 3.0 speed in my experience was near 100MB/s so there's some room for improvement.

hy1o avatar Nov 01 '20 20:11 hy1o

I would also want to find a way for faster speed. Usb link speed: Up to 480Mb/s

Which seems are max speeds of USB 2.0

Maybe there is a way to get to speed of USB 3.0 ?

alekssze avatar Mar 16 '22 08:03 alekssze