Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/dev/usb



On 2019/01/30 21:26, Michael van Elst wrote:
On Wed, Jan 30, 2019 at 08:05:56PM +0900, Rin Okuyama wrote:

I tested a StarTech USB21000S2 adapter. It works both on RPI3B and
amd64 box with ehci(4) (ThinkPad X60). Revision is same as Z-TEK
ZE582; both have product ID of 0x7500 (LAN7500).

There may be problem with the host controller?

pinebook uses ehci too.

Hmm, puzzling...

Do multiple outstanding requests show an advantage on your LAN7500
devices?

Yes. There is significant improvement in receiving performance.

I tested it by using iperf3 with

Client:	RPI3B+ NetBSD/aarch64-current running at 1400MHz
	internal LAN7800 with all offloading enabled (enabled=7ff80)

Server: RPI3B+ NetBSD/aarch64-current running at 1400MHz
	LAN7500 with all offloading enabled (enabled=7ff80)

With multiple outstanding requests (for server), about 265Mbps for
receiving. Without multiple requests (for server), about 135Mbps.

For sending (-R), both about 265Mbps at best.

By the way, I find that the system hangs silently by
"ifconfig mueN down" or detaching LAN7500 from USB port when
multiple outstanding requests are enabled. This does not occur
when MUE_TX_LIST_CNT = MUE_RX_LIST_CNT = 1. Do you have any ideas
to fix it?

Thanks,
rin


Home | Main Index | Thread Index | Old Index