Re: macports ssh slower than osx ssh

2014-04-10 Thread Rainer Müller
On 2014-04-09 16:47, Brad Allison wrote:
> Why is macports ssh 4 seconds slower than osx built in ssh when using
> gss-api?
> 
> brad-allison-pro:~ brad.allison$ time /opt/local/bin/ssh -2 -v -l root
> m2inf-kerberostest-01 date > /tmp/kerbtest-ssh-macports.txt 2>&1
> 
> real0m20.890s
> user0m0.007s
> sys 0m0.008s
> 
> 
> brad-allison-pro:~ brad.allison$ time /usr/bin/ssh -2 -v -l root
> m2inf-kerberostest-01 date > /tmp/kerbtest-ssh-osx.txt 2>&1
> 
> real0m15.894s
> user0m0.011s
> sys 0m0.008s

It's really hard to tell where the additional time is spent without
doing full profiling of the processes.

Maybe the implementation in kerberos5 used by the openssh port is just
slower than Heimdal used by the system openssh?

Could also be that the MacPorts version makes more attempts to verify
different host keys (for example supporting ECDSA) and that adds
additional filesystem lookups and round trip times.

Rainer

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


Re: macports ssh slower than osx ssh

2014-04-09 Thread Jeremy Lavergne
If it was just these two tests in this order, I’d assume DNS resolution for the 
first request had an impact.

Got more tests or more information?

On Apr 9, 2014, at 10:47, Brad Allison  wrote:

> Why is macports ssh 4 seconds slower than osx built in ssh when using gss-api?
> 
> brad-allison-pro:~ brad.allison$ time /opt/local/bin/ssh -2 -v -l root 
> m2inf-kerberostest-01 date > /tmp/kerbtest-ssh-macports.txt 2>&1
> 
> real0m20.890s
> user0m0.007s
> sys 0m0.008s
> 
> 
> brad-allison-pro:~ brad.allison$ time /usr/bin/ssh -2 -v -l root 
> m2inf-kerberostest-01 date > /tmp/kerbtest-ssh-osx.txt 2>&1
> 
> real0m15.894s
> user0m0.011s
> sys 0m0.008s

___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


macports ssh slower than osx ssh

2014-04-09 Thread Brad Allison
Why is macports ssh 4 seconds slower than osx built in ssh when using
gss-api?

brad-allison-pro:~ brad.allison$ time /opt/local/bin/ssh -2 -v -l root
m2inf-kerberostest-01 date > /tmp/kerbtest-ssh-macports.txt 2>&1

real0m20.890s
user0m0.007s
sys 0m0.008s


brad-allison-pro:~ brad.allison$ time /usr/bin/ssh -2 -v -l root
m2inf-kerberostest-01 date > /tmp/kerbtest-ssh-osx.txt 2>&1

real0m15.894s
user0m0.011s
sys 0m0.008s
___
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users