I have an issue when running "openssl speed" on either a 64 bit Windows 7 PC (Intel Core i7 870 2.93GHz) or a 64 bit Windows 2008 R2 Std Server (Xeon X5450 3GHz) under Cygwin. "openssl speed" runs fine on all the other *Nix's I manage.
It hangs either after the first line or maybe the next 6 or 7 lines, it's variable. I tried doing a time on the command and it didn't complete after over an hour where I had to Control-C to stop the execution. Surprisingly, when I perform a strace on the executable, it executes successfully and the results from "openssl speed" look to be more than twice as fast. Cygwin Setup 2.738 > $ uname -a > CYGWIN_NT-6.1-WOW64 CA940DV04 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 > Cygwin > $ time openssl speed > Doing md2 for 3s on 16 size blocks: 528666 md2's in 3.00s > Doing md2 for 3s on 64 size blocks: 276672 md2's in 3.00s > Doing md2 for 3s on 256 size blocks: 95057 md2's in 3.01s > Doing md2 for 3s on 1024 size blocks: 26317 md2's in 3.00s > Doing md2 for 3s on 8192 size blocks: 3407 md2's in 3.00s > Doing md4 for 3s on 16 size blocks: > > real 69m27.655s > user 69m15.266s > sys 0m0.030s > $ > $ strace openssl speed | grep Doing > Doing md2 for 3s on 16 size blocks: 86170 md2's in 1.17s > Doing md2 for 3s on 64 size blocks: 75424 md2's in 1.33s > ... > Doing 1024 bit sign dsa's for 10s: 5199 1024 bit DSA signs in 5.27s > Doing 1024 bit verify dsa's for 10s: 3682 1024 bit DSA verify in 4.66s > Doing 2048 bit sign dsa's for 10s: 3054 2048 bit DSA signs in 7.10s > Doing 2048 bit verify dsa's for 10s: 2345 2048 bit DSA verify in 6.58s > $ -- View this message in context: http://old.nabble.com/%22openssl-speed%22-hangs-on-cygwin-tp31999889p31999889.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple