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.

SSH sluggish

Featured Replies

# Orange Pi 4 Pro (Allwinner A733) – Severe SSH typing delays across multiple Armbian distributions

I'm experiencing a very unusual SSH responsiveness problem on three Orange Pi 4 Pro boards (Allwinner A733).

All three boards exhibit intermittent delays of several seconds when typing in an interactive SSH terminal. Sometimes individual characters take approximately five seconds to appear.

The problem occurs with multiple Armbian distributions and kernels, including:

- Armbian Debian Trixie, kernel 6.6.98-vendor-sun60iw2
- Armbian Ubuntu Resolute, including newer edge kernels in the 7.3.x series

The boards otherwise appear to operate normally.

## Symptoms

- SSH typing is intermittently extremely sluggish, even when typing continuously.
- Local console input is responsive.
- Large network transfers work at normal speeds.
- CPU performance appears normal.
- The problem occurs using both OpenSSH and Dropbear.
- The problem occurs using both Windows OpenSSH and Tabby.
- Connecting from another Linux SBC produces the same hesitation.
- My other six SBCs work normally with the same SSH clients and network.

Because all three Orange Pi 4 Pro boards exhibit similar symptoms, I suspect a common software, driver, or board-specific issue rather than an isolated hardware failure.

## Ethernet configuration

The interface is `end0`, using:

- Driver: `st_gmac`
- Platform driver: `dwmac-sunxi`
- PHY: Motorcomm YT8531 Gigabit Ethernet
- Link: 1000 Mb/s, full duplex

Ethernet statistics show no CRC, FIFO, or DMA errors.

## Troubleshooting performed

I have tried the following without resolving the problem:

- Disabling Ethernet Energy Efficient Ethernet (EEE)
- Disabling GRO and GSO
- Disabling RX/TX interrupt coalescing
- Testing with OpenSSH and Dropbear
- Testing SSH from both Windows and Linux clients
- Checking Ethernet error counters and CPU performance

TCP statistics show some retransmissions and out-of-order packets, although these have not been conclusively linked to the delays.
## Very unusual observation
This is perhaps the most interesting finding:
**Running `watch -n 1 date` in a second SSH terminal almost completely eliminates the typing delays in the first SSH terminal.**
As soon as I stop `watch`, the delays return.
This behaviour is repeatable.
However:

- Running a continuous `sleep 1` loop does not help.
- Continuously pinging the board from another SBC does not help.

It appears that regularly generating output through a separate SSH connection somehow prevents the delays.
## Packet capture observations
I captured SSH traffic using `tcpdump` both with and without `watch` running.
Without `watch`, the capture showed gaps of several seconds in SSH traffic, including gaps of approximately 4–10 seconds.
With `watch` running, the long interruptions disappeared.
The captures suggest that the delays may involve TCP packet transmission or delivery rather than slow SSH processing after packets arrive.
## Questions

1. Has anyone experienced similar interactive SSH delays on the Orange Pi 4 Pro or another Allwinner A733 board?
2. Could this be related to the `st_gmac` / `dwmac-sunxi` Ethernet driver or the YT8531 PHY?
3. Is there a known issue involving small TCP packets, interrupt handling, or Ethernet power management on this platform?
4. Are there any recommended kernel patches or diagnostic tests?

I have packet captures and additional diagnostic information available if useful.
Any suggestions would be appreciated.

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.