Socket writes on the pi 5

15 views
Skip to first unread message

Bill E

unread,
Jun 13, 2026, 7:04:12 PMJun 13
to [PiDP-1]
I've found socket writes on the pi5 to be terribly slow, the write buffer fills quickly when sending to a remote host. This problem doesn't exist on Ubuntu on an Intel box, so it seems specific to the pi. It is using a wireless connection, but it's 5g and the pi claims high signal strength. Anyone have any ideas? I guess I should try a hardwired connection.
Bill

Bill E

unread,
Jun 13, 2026, 8:04:22 PMJun 13
to [PiDP-1]
And I've answered my own question by doing, duh, some research. Its a known problem with the rpi5 and trixie when using 5g wifi, which I do. It is especially severe if you have a modern wifi  routerthat does mesh, 6g, etc. The Broadcom wifi chip can't deal with such things given the current trixie driver. Trixie is definitely not ready for prime time. Add in the Wayland/labwc issues, really?

What's happening is that the wifi driver ends up choking when it sees some of the broadcast the router uses for its mesh management and node switching. It then stalls for a significant time.

Anyway there are some workarounds. One involves editing your wifi config on the pi to force a specific 5g mode. The other depends upon your wifi router, but basically you need to tell it to pin the pi to one node, no fast roaming, etc.  Trixie apparently doesn't even like beam-forming.

Oh, and 2.5g isn't that great either because of the antenna placement on the pi5 board, it tends to get overwhelmed with noise from usb cables.

Bill
Reply all
Reply to author
Forward
0 new messages