Re: Sloooowwwww ssh/scp
- From: Darren Tucker <dtucker@xxxxxxxxxxxxxxxx>
- Date: Thu, 24 May 2007 17:11:21 +1000
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.
.
- References:
- Sloooowwwww ssh/scp
- From: Colin B.
- Re: Sloooowwwww ssh/scp
- From: Darren Tucker
- Re: Sloooowwwww ssh/scp
- From: Colin B.
- Sloooowwwww ssh/scp
- Prev by Date: Re: ssh to AIX 5.3 pauses on xauth
- Next by Date: Re: SSH connection pause
- Previous by thread: Re: Sloooowwwww ssh/scp
- Next by thread: ssh X tunneling through more than one server
- Index(es):
Relevant Pages
|
|