Re: wrong performance of malloc/free under multi-threading

2013-02-26 Thread Christopher Faylor
On Tue, Feb 26, 2013 at 11:13:24PM +0900, jojelino wrote: >On 2013-02-26 PM 10:25, Corinna Vinschen wrote: >>This is Cygwin only. >> >cygwin malloc is not reentrant according to malloc_wrapper.cc so let's >not expect performance like linux or native windows. until someone >have plenty of time to r

Re: wrong performance of malloc/free under multi-threading

2013-02-26 Thread Reini Urban
ptmalloc3 would be even better. http://www.malloc.de/en/ -- Reini Urban http://cpanel.net/ http://www.perl-compiler.org/ -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info:

Re: wrong performance of malloc/free under multi-threading

2013-02-26 Thread jojelino
On 2013-02-26 PM 10:25, Corinna Vinschen wrote: This is Cygwin only. Corinna cygwin malloc is not reentrant according to malloc_wrapper.cc so let's not expect performance like linux or native windows. until someone have plenty of time to resolve this issue. -- Regards. -- Problem reports

Re: wrong performance of malloc/free under multi-threading

2013-02-26 Thread Corinna Vinschen
On Feb 26 06:22, Chris J. Breisch wrote: > On 2/26/2013 4:14 AM, Corinna Vinschen wrote: > >On Feb 26 15:35, MITSUNARI Shigeo wrote: > >>Hi. > >> > >>I found that the performance of malloc/free is wrong under multi-threading. > >>The following test program reproduces the problem. > >> > >>The progr

Re: wrong performance of malloc/free under multi-threading

2013-02-26 Thread Chris J. Breisch
On 2/26/2013 4:14 AM, Corinna Vinschen wrote: On Feb 26 15:35, MITSUNARI Shigeo wrote: Hi. I found that the performance of malloc/free is wrong under multi-threading. The following test program reproduces the problem. The program repeats malloc and free under multi-thread. I measured the timin

Re: wrong performance of malloc/free under multi-threading

2013-02-26 Thread Corinna Vinschen
On Feb 26 15:35, MITSUNARI Shigeo wrote: > Hi. > > I found that the performance of malloc/free is wrong under multi-threading. > The following test program reproduces the problem. > > The program repeats malloc and free under multi-thread. > I measured the timing on Cygwin and Linux. > > timing(

wrong performance of malloc/free under multi-threading

2013-02-25 Thread MITSUNARI Shigeo
Hi. I found that the performance of malloc/free is wrong under multi-threading. The following test program reproduces the problem. The program repeats malloc and free under multi-thread. I measured the timing on Cygwin and Linux. timing(sec)| threadNum ---+--+-