[Mono-bugs] [Bug 402833] New: Slow memory allocation in multi-thread app
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Jun 23 11:34:25 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=402833
Summary: Slow memory allocation in multi-thread app
Product: Mono: Class Libraries
Version: 1.9.0
Platform: x86-64
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Major
Priority: P5 - None
Component: System
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: matteo.tesser at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Description of Problem:
Allocating memory in a multi-thread application is very expensive when using
mono on mac os x. The behaviour is very different w.r.t. windows and linux.
I made a small example that simulate a working process that need to allocate
dynamic memory. First I solve a taks using one thread and then using two
thread. I expected the computation to be solved faster using 2 thread (assuming
the program is running in a multi-core hardware), instead the running time is
10 times the 1 thread code
Steps to reproduce the problem:
1. gmcs Main.cs
2. mono Main.exe
Actual Results: (runned with mac os)
One Thread time=00:00:00.6118510
Two Thread time=00:00:06.8659580
Expected Results: (runned with linux)
One Thread time=00:00:00.6511980
Two Thread time=00:00:00.3260190
How often does this happen?
Always
Additional Information:
--
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