To find (at least) two people who are still having very slow response, even 
with the 1.0.0 version from www.slproweb.com/products/Win32OpenSSL.html , see 
the thread at http://eudorabb.qualcomm.com/showthread.php?t=14440 . In that 
forum, I am user "burningbush," and my first post to that thread is message #8.

The specific binary I tested with is the one contained in this package:
www.slproweb.com/download/Win32OpenSSL_Light-1_0_0.exe

OS: Windows 7 Ultimate, 64-bit. Eudora: 7.1.0.9, paid mode.

- Roger Fulton

>Sat Feb 20 19:37:29 2010        [email protected] - Correspondence added        
>          
>CC:     [email protected], [email protected]
>Subject:        Re: [openssl.org #2100] RAND_poll can be incredibly slow on 
>Windows7 due to Heap32Next
>Date:   Sat, 20 Feb 2010 10:36:52 -0800
>To:     Mounir IDRASSI <[email protected]>
>From:   [email protected]
>Download (untitled)
>text/plain 2.1k
>Thank you!
>
>This is a vast improvement for me. What used to take 75 seconds now
>takes 2. It still seems to scale with the number of allocations, so I
>can make it take 20 seconds by doing 10 times the allocations.
>However, that takes 750 seconds with the old version.
>
>-Greg
>
>On Sun, Feb 14, 2010 at 6:21 PM, Mounir IDRASSI
><[email protected]> wrote:
>> Hi,
>>
>> Just in case you still don't have a version of libeay32.dll with the patch,
>> I'm attaching with this email the one I have just compiled by applying the
>> suggested patch to the latest snapshot of the 0.9.8 source tree.
>>
>> Cheers,
>>
>> --
>> Mounir IDRASSI
>> IDRIX
>> http://www.idrix.fr
>>
>>
>> On 2/13/2010 5:13 PM, [email protected] wrote:
>>>>
>>>> I don't have access to Windows 7 at the moment so I can't test this
>>>> myself. I've heard that the Windows 7 behaviour is not a bug and the
>>>> only reason previous versions weren't so slow is that *they* are buggy.
>>>>
>>>> I'd suggest you try one workaround mentioned above. Include a time limit
>>>> on the inner loop. You can do this by duplicating the GetTickCount line.
>>>> I.e. in rand_win.c at about line 530 you add the line indicated:
>>>>
>>>>                while (heap_next(&hentry)
>>>> -------------->           &&  (!good ||
>>>> (GetTickCount()-starttime)<MAXDELAY)
>>>>                                                        &&  --entrycnt>
>>>>  0);
>>>>
>>>> If that makes the delay more tolerable I'll commit it as a temporary fix
>>>> for now. Longer term we need to find an alternative technique for
>>>> additional entropy gathering.
>>>>
>>>
>>> I do not yet have an OpenSSL build environment set up. If you have any
>>> Windows environment, could you compile a DLL with the change, and I'll
>>> test it on Windows 7?
>>>
>>> -Greg
>>> ______________________________________________________________________
>>> OpenSSL Project                                 http://www.openssl.org
>>> Development Mailing List                       [email protected]
>>> Automated List Manager                           [email protected]
>>>
>>
>> --
>> --
>> Mounir IDRASSI
>> IDRIX
>> http://www.idrix.fr
>>
>>



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to