delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/07/05/15:56:55

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <31999889.post@talk.nabble.com>
Date: Tue, 5 Jul 2011 12:56:32 -0700 (PDT)
From: smujushi <cygwin AT mujushi DOT com>
To: cygwin AT cygwin DOT com
Subject: "openssl speed" hangs on cygwin
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019