sftp/scp performance testing

Tobias Ringstrom tori at ringstrom.mine.nu
Mon Jan 7 16:51:12 EST 2002


On Sun, 6 Jan 2002, Mike Perham wrote:

> I applied the NODELAY patch, compiled and ran make install.  It had no
> affect whatsoever to the localhost performance - still 5.5MB/min.  I added
> a printf to sshd.c to verify that I was running a patched server.  On
> connect from the sftp client, it printed the message out so I know it was
> the correct binary.

Weird.  You need to run the patched sshd, ssh, and sftp programs.  
Running on localhost, your CPU utilization should be 100%.  You can verify
this using vmstat or top.

> I assume the patch should improve single file transfer performance or is
> it intended for multiple simultaneous file transfers?

It should improve single file transfer performance.

> Is there a way to programmatically make sshd exit via a kill signal?  I'd
> like to run gprof on it but I need to be able to shut it down without
> Ctrl-C (needs to call exit()).

I do not know.

/Tobias




More information about the openssh-unix-dev mailing list