[Devel] [PATCH] vzmigrate: don't use blowfish by default anymore

Igor M Podlesny openvz at poige.ru
Fri Jan 24 10:44:16 PST 2014


On 25 January 2014 02:30, Igor Podlesny <openvz at poige.ru> wrote:
> While blowfish is indeed faster than 3des, ssh "-c" option is related to
> outdated SSH proto 1. Nowadays proto 2 is in broad use and "-c blowfish"
> effctively overrides proto 2 defaults which are usually faster (than blowfish).
^^^^^^^^^^^
   oops, I found a typo (should be "effectively"), so the next version
is coming, but for now -- benchmarks:

ssh -c blowfish -o Compression=no localhost  > /dev/null  1.45s user
0.20s system 59% cpu 2.757 total
ssh -c blowfish -o Compression=no localhost  > /dev/null  1.48s user
0.16s system 62% cpu 2.655 total
ssh -c blowfish -o Compression=no localhost  > /dev/null  1.48s user
0.16s system 62% cpu 2.635 total
ssh -c blowfish -o Compression=no localhost  > /dev/null  1.42s user
0.21s system 60% cpu 2.702 total
ssh -c blowfish -o Compression=no localhost  > /dev/null  1.46s user
0.18s system 63% cpu 2.595 total
ssh -c blowfish -o Compression=no localhost  > /dev/null  1.52s user
0.11s system 62% cpu 2.614 total
ssh -c blowfish -o Compression=no localhost  > /dev/null  1.46s user
0.17s system 65% cpu 2.483 total
ssh -c blowfish -o Compression=no localhost  > /dev/null  1.50s user
0.14s system 67% cpu 2.441 total
ssh -c blowfish -o Compression=no localhost  > /dev/null  1.50s user
0.13s system 60% cpu 2.715 total
ssh -c blowfish -o Compression=no localhost  > /dev/null  1.49s user
0.15s system 60% cpu 2.702 total

ssh -o Compression=no localhost  > /dev/null  1.48s user 0.13s system
62% cpu 2.557 total
ssh -o Compression=no localhost  > /dev/null  1.48s user 0.14s system
66% cpu 2.409 total
ssh -o Compression=no localhost  > /dev/null  1.44s user 0.17s system
66% cpu 2.412 total
ssh -o Compression=no localhost  > /dev/null  1.45s user 0.18s system
67% cpu 2.403 total
ssh -o Compression=no localhost  > /dev/null  1.44s user 0.17s system
66% cpu 2.421 total
ssh -o Compression=no localhost  > /dev/null  1.46s user 0.17s system
69% cpu 2.343 total
ssh -o Compression=no localhost  > /dev/null  1.47s user 0.15s system
68% cpu 2.367 total
ssh -o Compression=no localhost  > /dev/null  1.41s user 0.21s system
66% cpu 2.424 total
ssh -o Compression=no localhost  > /dev/null  1.45s user 0.17s system
66% cpu 2.427 total
ssh -o Compression=no localhost  > /dev/null  1.43s user 0.18s system
65% cpu 2.449 total

   I didn't do any avg. calculation since anyway it's clearly see,
blowfish is not winner here.

--



More information about the Devel mailing list