plugwash
Forum Moderator
Forum Moderator
Posts: 3456
Joined: Wed Dec 28, 2011 11:45 pm

Problems with OTG Ethernet between two Pi zeros.

Sat Mar 23, 2019 3:24 pm

Someone I work with was planning to use USB OTG to interconnect a number of Pi zeros but he was running into low performance and sometimes crashes with various configurations.

I decided to try testing using the ethernet gadget with iperf, running the iperf server on the host pi 0 and the iperf client on the gadget pi 0. The performance reported was abysmal and I frequently got kernel panics from the host pi zero. I tried upgrading the host pi zero first to the latest packaged kernel/firmware and then to the rpi-update kernel/firmware. That seemed to reduce the incidence of kernel panics but not eliminate them.

Anyone else seen anything like this?

Aydan
Posts: 693
Joined: Fri Apr 13, 2012 11:48 am
Location: Germany, near Lake Constance

Re: Problems with OTG Ethernet between two Pi zeros.

Wed May 08, 2019 9:51 am

Is this problem limited to zeros as host or could this also happen with a Pi3 as host?
I'm in the process of setting up a pi cluster with a clusterHat on a Pi3B+ and (for now) three zeros and I'll keep my eyes open for this.

Regards
Aydan

User avatar
B.Goode
Posts: 8589
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Problems with OTG Ethernet between two Pi zeros.

Wed May 08, 2019 9:58 am

At least one user thought it worked well enough to produce a hardware solution to support its deployment:

https://clusterhat.com

Aydan
Posts: 693
Joined: Fri Apr 13, 2012 11:48 am
Location: Germany, near Lake Constance

Re: Problems with OTG Ethernet between two Pi zeros.

Wed May 08, 2019 11:06 am

That's the one I'm using

Return to “Linux Kernel”