SSH "lag" in LAN on some machines, mixed distros [closed]

Solution 1:

Typically this is a sign of Nagle's algorithm, you can turn that socket option off.

(I have seen similar TCP delays between Linux and Windows before in other cases as well. In one case it was caused by interactions between TCP Windows sizes and PSH (Push) flags which caused Windows to acknowledge late and/or retry.)