cygwin slowdown in current cvs version

Christopher Faylor cgf@redhat.com
Sat Sep 8 17:14:00 GMT 2001


On Sun, Sep 09, 2001 at 09:57:56AM +1000, Robert Collins wrote:
>>>It occurred to me today that by moving the large zombies buffer into
>>>the heap, I ended up having fork always copy the array.  I don't know
>>>which is better -- having a large dll with a slower load time vs more
>>>to copy on fork.
>>
>>Hum, I would prefer the larger DLL in that case.  The DLL is loaded
>>once, the fork is pretty often.
>
>The .dll gets reloaded into each new process space every fork anyway.
>I'm not sure which will be faster - a memcpy or disk io :].  I suspect
>some timing tests would be needed to tell for sure :[.

If I am interpreting things correctly, it seems like the malloc is a win
over the dll size -- at least in my tests.

cgf



More information about the Cygwin-developers mailing list