Re: Performance improvement in OpenSSH 4.0

From: Darren Tucker (dtucker_at_gate.dodgy.net.au)
Date: 05/23/05


Date: 23 May 2005 12:43:31 GMT

On 2005-05-23, Selvesteen <selvesteen@gmail.com> wrote:
> Jus curious to know that any performance enhancement is incorparated in
> OpenSSH 4.0 and Is there any addtional ways to improve the performance
> to save the time.

Some changes were made to the buffer code so large buffers are utilized
better.

If you're particularly curious you could feed this diff into patch -R,
recompile and see if the performance improvement goes away:
http://www.zip.com.au/~dtucker/tmp/openssh-4.0-buffer.patch

If you haven't already, try speed-testing other ciphers (of the standard
ciphers, arcfour is usually the fastest with blowfish second).

For additional improvements you could try the HPN patch:
http://www.psc.edu/networking/projects/hpn-ssh/

-- 
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: Bad SSH2 cipher spec error
    ... What can I do about this and how can I go about debugging the problem? ... Check the documentation for the software returning the error to see which ... OpenSSL library that doesn't support any ciphers with a key length ... Good judgement comes with experience. ...
    (comp.security.ssh)
  • Re: scp performance degredation [ssh v3.4p1->3.7.1p2]
    ... "Ciphers" specifies a comma-separated list of candidate ciphers for SSHv2. ... usually fastest. ... Good judgement comes with experience. ...
    (comp.security.ssh)