Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Packetloss on OrangePi5

Featured Replies

Standard install - Armbian Bookworm, full 'firmware install'. I am getting some packet loss over the LAN. A raspberry pi, Synology NAS and Deban x86 install on the same LAN do not seem to exhibit the same loss. Anyone have experience or ideas? Oddly enough this never seems to occur on fresh installs. This is a docker host for pihole and home assistance, no other packages are really installed at all.

 

I've not really tried much, but since this is a standard install, apt-get update & upgrade are about the only modifications outside of docker install that has occurred.

 

1. This plugs directly in to a Ubiquiti switch

2. I have tried a few different ethernet cables.

3. dmesg does not really show disconnects on the regular

 

image.png.4740035a9ee8994a42cb2cccb9cecafe.png

image.thumb.png.b7ca661d2310a992b3dcbd4b7d4dbe32.pngimage.thumb.png.6084ca475d1771ba5a604105c259929f.png

Edited by obiwantoby

It could be about anything, but what did help for LinuxCNC was setting the smp affinity of the Ethernet adapter to another CPU

cat /proc/interrupts | grep eth

 

Then you'll see 2 IRQs then set these to other CPU(s). In HEX format. Convert from binary to HEX, the binary is reversed. So 00001111 is the first 4 and to HEX is F.

To set them to the 5th CPU (CPU4) for example: 0001 0000 -> 10

 

(change the IRQ numbers)

echo 10 | sudo tee /proc/irq/82/smp_affinity && echo 10 | sudo tee /proc/irq/81/smp_affinity

 

If that does help you could set it at boot in rc.local or crontab with 10 seconds delay.

 

  • Author

I played around with affinity, no change. It got so bad that via SSH I'd be kicked off or my commands would partially input. I did a restore from backup, and since I do use docker, back up and running perfectly again. I wish I knew what was tainting the system though. 

Could it be this or similar? https://community.home-assistant.io/t/home-assistant-in-docker-causes-network-packet-loss-on-host/520067 Unknown, as I am not running anything privileged. 

I am not sure *if* this is a hint as well. There has to be an explanation but as to what still at a loss. Especially since I can restore like I did, and everything is working perfectly. Perhaps I should just avoid apt-get upgrades ;)

 

image.thumb.png.70385657067b577b14ba58a410bc02db.png

Stop and disable Docker and you'll know.

Did you check the temperature while this happens? "armbianmonitor -m"

Tried another network cable, another place (interference), power supply, cpu governor "echo performance | sudo tee /sys/bus/cpu/devices/cpu[0-7]/cpufreq/scaling_governor".

Did you install another network manager?

Does dmesg show you something?

Other devices connected to the OPi 5?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.