Re: Oddities on Pi4 under -current

From: MJ <mafsys1234_at_gmail.com>
Date: Mon, 11 Oct 2021 22:33:49 UTC

On 12/10/2021 3:32 am, bob prohaska wrote:
<snip>
> The slow response to ssh login appeared only in the past week or so.
> It isn't entirely reproducible, usually happening after  idle time.
> The delay isn't more then five or ten seconds, but very noticeable.
> 
> A ping after ~ 30 minutes idle time looks like this:
> bob@raspberrypi:~ $ ping 192.168.1.11
> PING 192.168.1.11 (192.168.1.11) 56(84) bytes of data
> 64 bytes from 192.168.1.11: icmp_seq=1 ttl=64 time=5022 ms
> 64 bytes from 192.168.1.11: icmp_seq=2 ttl=64 time=4004 ms
> 64 bytes from 192.168.1.11: icmp_seq=3 ttl=64 time=2964 ms
> 64 bytes from 192.168.1.11: icmp_seq=4 ttl=64 time=1925 ms
> 64 bytes from 192.168.1.11: icmp_seq=5 ttl=64 time=885 ms
> 64 bytes from 192.168.1.11: icmp_seq=6 ttl=64 time=3.49 ms
> 64 bytes from 192.168.1.11: icmp_seq=7 ttl=64 time=2.31 ms
> 64 bytes from 192.168.1.11: icmp_seq=8 ttl=64 time=2.15 ms
> 64 bytes from 192.168.1.11: icmp_seq=9 ttl=64 time=2.17 ms
> --- 192.168.1.11 ping statistics ---
> 9 packets transmitted, 9 received, 0% packet loss, time 151ms
> rtt min/avg/max/mdev = 2.151/1645.587/5021.971/1830.554 ms
> bob@raspberrypi:~ $

The RPI4 has green-mode on idle. If your switch supports it, then it's activated. This might account for some delay, but that looks a little too large what you've reported. Maybe someone else with an RPI4 could provide a confirmation?

Reference: https://forums.raspberrypi.com/viewtopic.php?t=257144#p1569652

Cheers
M.