USB activity causes network error

  • mariusl
  • mariusl's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
27 Oct 2025 18:16 #337301 by mariusl
USB activity causes network error was created by mariusl
Hi,
I have seen the following issue occur on three machines that Range from 2.9.3 to 2.9.6. 
The hardware is all cases are Lenovo i5 mini PC's running MX Linux 23.x Bookworm. The WiFi dongle is a USB type

What seems to happen is that when there is USB activity the network to the Mesa 7i96S will get a read error. It means that the network message could not be compete in one cycle. It typically happens when the USB stick is removed or inserted, especially if the machine is busy executing a program. It will also happen if the WiFi is active like when a file is uploaded to the nc_files directory from a laptop on the network.

Is there anyone else that has maybe seen this or know of a solution?
 

Regards
Marius


www.bluearccnc.com

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
27 Oct 2025 19:23 #337310 by tommylight
Replied by tommylight on topic USB activity causes network error
How is the network for Mesa card set up, using network manager or by editing the /etc/network/interfaces file?

Please Log in or Create an account to join the conversation.

More
27 Oct 2025 19:46 - 27 Oct 2025 19:49 #337312 by PCW
Replied by PCW on topic USB activity causes network error
Also what USB dongle?

I have a rtl8192cu based USB WIFI dongle on this test machine
and it seem to have no effect on latency when plugged/unplugged

Have you done the usual optimizations?

DKMS driver for RealTek Ethernet chips

Turn off IRQ coalescing on Intel Ethernet chips

in grub file isolcpus = last processor

pin Ethernet IRQ to last processor


 It means that the network message could not be compete in one cycle.

Actually it's worse than that, with default settings, it means 5 read requests in a row timed out
so usually means multi-ms latency...
 
Last edit: 27 Oct 2025 19:49 by PCW.

Please Log in or Create an account to join the conversation.

Moderators: snowgoer540
Time to create page: 0.059 seconds
Powered by Kunena Forum