Re: Sloooowwwww ssh/scp



On 2007-05-23, Colin B. <cbigam@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Darren Tucker <dtucker@xxxxxxxxxxxxxxxx> wrote:
You don't happen to be using IP multipath on either end of the connection,
do you? If so, can you test without it?

In this case, no. At any rate, I'd never actually use the fail-over
interface for data transfer, unless the primary had died.

Another thing you can try (but it's a long shot) is to disable
TCP_NODELAY on the socket.

In OpenSSH, edit misc.c: and and put a line with just "return;" into
set_nodelay() immediately after the "socklen_t optlen;" declaration line
so it looks like this:

void
set_nodelay(int fd)
{
int opt;
socklen_t optlen;

return; /* added here */

optlen = sizeof opt;


Note that in order to test this fully you must change both server and
client.

--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
.



Relevant Pages

  • Re: Nero AAC encoder front-end
    ... One tiny comment on the interface: while it is a matter of judgement, ... on balance I prefer such programmes to leave the fileselected so I ...
    (alt.radio.digital)
  • Re: Question about SSH_CONNECTION
    ... Web hosts often have 2 interfaces, one public and one admin interface. ... admin-type services like ssh don't listen on the public ... Good judgement comes with experience. ...
    (comp.security.ssh)
  • Re: ssh -b bind_address not working?
    ... "The address must be one assigned to a network ... > interface on the host." ... Good judgement comes with experience. ...
    (comp.security.ssh)
  • Re: [RFC] Add kernel<->userspace ABI stability documentation
    ... I'm not trying to pass judgement on the quality ... So if we go down this path can we make this functional Documentation? ... If the developer has to jump through an extra hoop to use an interface ...
    (Linux-Kernel)
  • RE: copied music cds have a skip in last 18 seconds
    ... If installing all missing Windows Updates doesn't fix your problem ... xiowan.......in tucson ...
    (microsoft.public.windows.mediacenter)