Slow performance over SSH on kernel 5.16.1

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

Slow performance over SSH on kernel 5.16.1

Postby Observ3r » Thu Jan 20, 2022 6:35 am

Ok, as the title says, my rpi4 box become very slow over ssh after upgrade to 5.16.1!

journalctl -b:
https://pastebin.com/qgfR8a1Z

journalctl -b --priority=0..4:
Code: Select all
Jan 19 15:02:53 rpi kernel: usb_phy_generic phy: supply vcc not found, using dummy regulator
Jan 19 15:02:53 rpi kernel: cacheinfo: Unable to detect cache hierarchy for CPU 0
Jan 19 15:02:53 rpi kernel: SPI driver max3421-hcd has no spi_device_id for maxim,max3421
Jan 19 15:02:53 rpi kernel: cpu cpu0: Cannot get clock for CPU0
Jan 19 15:02:53 rpi kernel: raspberrypi-cpufreq: probe of raspberrypi-cpufreq failed with error -2
Jan 19 15:02:53 rpi kernel: dwc2 fe980000.usb: supply vusb_d not found, using dummy regulator
Jan 19 15:02:53 rpi kernel: dwc2 fe980000.usb: supply vusb_a not found, using dummy regulator
Jan 19 15:02:54 rpi systemd-journald[285]: File /var/log/journal/00746c3cb4154fe29357f51f5c0dd2f3/system.journal corrupted or uncleanly shut down, renaming and replacing.
Jan 19 15:02:54 rpi kernel: kauditd_printk_skb: 34 callbacks suppressed
Jan 19 15:02:54 rpi kernel: snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
Jan 19 15:02:54 rpi kernel: of_clk_hw_onecell_get: invalid index 4
Jan 19 15:02:54 rpi kernel: vc4_hvs fe400000.hvs: Couldn't get core clock
Jan 19 15:02:54 rpi kernel: vc4-drm gpu: failed to bind fe400000.hvs (ops vc4_hvs_ops [vc4]): -2
Jan 19 15:02:54 rpi kernel: vc4-drm: probe of gpu failed with error -2
Jan 19 15:02:54 rpi kernel: bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
Jan 19 15:02:54 rpi kernel: bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
Jan 19 15:02:54 rpi kernel: brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.bin failed with error -2
Jan 19 15:02:55 rpi kernel: hci_uart_bcm serial0-0: supply vbat not found, using dummy regulator
Jan 19 15:02:55 rpi kernel: hci_uart_bcm serial0-0: supply vddio not found, using dummy regulator
Jan 19 15:02:55 rpi systemd-udevd[338]: cfg80211: Process '/usr/bin/set-wireless-regdom' failed with exit code 1.
Jan 19 15:02:55 rpi kernel: FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Jan 20 06:51:16 rpi kernel: Bluetooth: hci0: Failed to read codec capabilities (-56)
Jan 20 06:51:16 rpi kernel: Bluetooth: hci0: Failed to read codec capabilities (-56)
Jan 20 06:51:16 rpi kernel: Bluetooth: hci0: Failed to read codec capabilities (-56)
Jan 20 06:51:16 rpi kernel: Bluetooth: hci0: Failed to read codec capabilities (-56)
Jan 20 06:51:16 rpi kernel: Bluetooth: hci0: Failed to read codec capabilities (-56)
Jan 20 06:51:16 rpi kernel: Bluetooth: hci0: Failed to read codec capabilities (-56)
Jan 20 06:51:19 rpi NetworkManager[380]: <warn>  [1642657879.9571] dns-sd-resolved[cff5c8f9ddf2fc86]: send-updates SetLinkDomains@2 failed: GDBus.Error:org.freedesktop.resolve1.LinkBusy: Link eth0 is managed.
Jan 20 06:51:39 rpi kernel: kauditd_printk_skb: 19 callbacks suppressed
Jan 20 06:51:39 rpi kernel: [UFW BLOCK] IN=eth0 OUT= MAC= SRC=fe80:0000:0000:0000:e58b:8b50:92c5:c2f7 DST=ff02:0000:0000:0000:0000:0000:0001:0003 LEN=69 TC=0 HOPLIMIT=255 FLOWLBL=572269 PROTO=UDP SPT=5355 DPT=5355 LEN=29
Jan 20 06:51:40 rpi kernel: [UFW BLOCK] IN=eth0 OUT= MAC= SRC=fe80:0000:0000:0000:e58b:8b50:92c5:c2f7 DST=ff02:0000:0000:0000:0000:0000:0001:0003 LEN=69 TC=0 HOPLIMIT=255 FLOWLBL=572269 PROTO=UDP SPT=5355 DPT=5355 LEN=29
Jan 20 06:51:40 rpi kernel: [UFW BLOCK] IN=eth0 OUT= MAC= SRC=fe80:0000:0000:0000:e58b:8b50:92c5:c2f7 DST=ff02:0000:0000:0000:0000:0000:0001:0003 LEN=69 TC=0 HOPLIMIT=255 FLOWLBL=572269 PROTO=UDP SPT=5355 DPT=5355 LEN=29


Neofetch cant properly detect cpu!

Code: Select all
observer@rpi
---------
OS: Arch Linux ARM aarch64
Host: Raspberry Pi 4 Model B
Kernel: 5.16.1-1-aarch64-ARCH
Uptime: 19 mins
Packages: 221 (pacman)
Shell: bash 5.1.16
Terminal: /dev/pts/0
CPU: (4)
Memory: 61MiB / 1833MiB
Disk: 4.0G / 107G


I'm running minimal installation with nodejs.

Any suggestions?!
Observ3r
 
Posts: 1
Joined: Thu Jan 20, 2022 6:06 am

Re: Slow performance over SSH on kernel 5.16.1

Postby plerner » Fri Feb 04, 2022 8:51 pm

Hi,

I have the same issue here.

Code: Select all
# cat /proc/device-tree/model
Raspberry Pi 4 Model B


Code: Select all
# uname -a
Linux openhab3 5.16.3-1-aarch64-ARCH #1 SMP Thu Jan 27 16:41:47 UTC 2022 aarch64 GNU/Linux


Code: Select all
# pacman -Syu
:: Paketdatenbanken werden synchronisiert …
 core.db konnte nicht heruntergeladen werden
Fehler: Konnte Datei 'core.db' nicht von mirror.archlinuxarm.org übertragen : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
Fehler: Keine Datenbank konnte synchronisiert werden (Fehler in der Bibliothek für Downloads)


Very s l o w terminal over ssh.
"top" shows 99% idle.

After reboot everything is ok again.

Seems not to be a network issue.
Have seen this behaviour 2-3 times last month.

PLE
plerner
 
Posts: 4
Joined: Tue Mar 02, 2021 10:17 pm


Return to ARMv8

Who is online

Users browsing this forum: No registered users and 7 guests