This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: cygwin slowdown in current cvs version
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