Hello,


I just upgraded a host and noticed a waiting of about 90s before the desktop (KDE) becomes responsive (typing to unlock the screen, the mouse cursor can be moved). This was not the case before the upgrade.


This box has 3 remote shares attached via sshfs. The delay to responsiveness is near immediate if it is suspended while the remote shares are not connected.


With remote shares connected on suspend:


    [Sat Oct  5 12:05:03 2024] OOM killer enabled.

    [Sat Oct  5 12:05:03 2024] Restarting tasks ... done.

    [Sat Oct  5 12:05:03 2024] random: crng reseeded on system resumption

    [Sat Oct  5 12:05:03 2024] PM: suspend exit

    [Sat Oct  5 12:05:03 2024] r8169 0000:06:00.0 eth0: Link is Up - 1Gbps/Full - flow control off

    [Sat Oct  5 12:06:35 2024] r8169 0000:06:00.0 eth0: Link is Down

    [Sat Oct  5 12:06:35 2024] Generic FE-GE Realtek PHY r8169-0-600:00: attached PHY driver (mii_bus:phy_addr=r8169-0-600:00, irq=MAC)

    [Sat Oct  5 12:06:35 2024] r8169 0000:06:00.0 eth0: Link is Down

    [Sat Oct  5 12:06:39 2024] r8169 0000:06:00.0 eth0: Link is Up - 1Gbps/Full - flow control off


With remote shares disconnected on suspend:


    [Sat Oct  5 12:10:55 2024] OOM killer enabled.

    [Sat Oct  5 12:10:55 2024] Restarting tasks ... done.

    [Sat Oct  5 12:10:55 2024] random: crng reseeded on system resumption

    [Sat Oct  5 12:10:55 2024] PM: suspend exit

    [Sat Oct  5 12:10:55 2024] Generic FE-GE Realtek PHY r8169-0-600:00: attached PHY driver (mii_bus:phy_addr=r8169-0-600:00, irq=MAC)

    [Sat Oct  5 12:10:56 2024] r8169 0000:06:00.0 eth0: Link is Down

    [Sat Oct  5 12:10:58 2024] r8169 0000:06:00.0 eth0: Link is Up - 1Gbps/Full - flow control off


It seems that the network link remains 'up' when the remote shares are connected, then has to go down and that's where the delay lies. Afterwards, it quickly returns to the up state.


'modinfo r8169' does not expose any option at all.


I wish to know if there's a simple known solution to quickly resume the host. The root cause could also lie deep in the kernel and may perhaps disappear on a future upgrade. I can live with it, it's just annoying.


Thanks for any input.