Remote ssh always got stuck frequently(debian/16.04)

Image: linaro/debian/16.04/dragonboard410c_sdcard_install_debian-83
Board: DragonBoard 410c

Remote ssh to the Dragonboard works well under the same wifi. However, the shell always stop responding for about 2-10 seconds.
This happened in every minute.
User linaro and root have the same issue.
Reboot the board doesn’t help.

Anyone look into it?

Hi @peijunzhao,

If you connecting the ssh over the wifi, it is known issue and we are in the middle of solving it.

These are the places of information.
http://www.96boards.org/forums/topic/ssh-and-ping-workarounds/

https://bugs.96boards.org/show_bug.cgi?id=272

@ldts-atsuka Thanks.

Hi Peijun,

It definitely sounds like you’re suffering from something periodically scanning for WiFi networks. This seems to be a common issue, which gets worse because it’s currently done quite inefficiently in the driver.

The main offender seems to be NetworkManager, looking for better access points for roaming purposes and I’ve seen a few tips on how to make it not do this, but I have not tested these.

If you feel adventurous you can try out my experimental patch that speeds up the scan, it seems to work but I’ve not done enough testing. You can find it here, https://patchwork.kernel.org/patch/9085741/ and it applies to a very recent kernel.

Regard,
Bjorn