[Mono-bugs] [Bug 402833] Slow memory allocation in multi-thread app

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Sep 5 05:46:44 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=402833

User matteo.tesser at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=402833#c6


matteo tesser <matteo.tesser at gmail.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |matteo.tesser at gmail.com
             Status|NEEDINFO                                        |NEW
      Info Provider|matteo.tesser at gmail.com                         |




--- Comment #6 from matteo tesser <matteo.tesser at gmail.com>  2008-09-05 03:46:43 MDT ---
Hi, I have added the revised test case (as suggested) and test it on the mono
2.0 preview 2.  The behaviour of the modified test case is the same as the
previous and the bug (slowness of multi-thread applications when threads must
generate new objects) 


On linux (Ubuntu 8.04):
One Thread (method1) time=00:00:00.7478870
One Thread (method2) time=00:00:00.6910520
Two Threads time=00:00:00.3314950    (half)

On Mac (10.5):
One Thread (method1) time=00:00:00.6264570
One Thread (method2) time=00:00:00.6302180
Two Threads time=00:00:06.9052510    (10 times greater)


Note: when there are not memory allocation on secondary threads, performances
are goods on the macs. The problem happens only when new objects are created.

Matteo


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list