[Mono-bugs] [Bug 78957][Wis] Changed - Performance Loss

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Aug 4 15:04:19 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by david_garcia at logitech.com.

http://bugzilla.ximian.com/show_bug.cgi?id=78957

--- shadow/78957	2006-08-04 11:00:33.000000000 -0400
+++ shadow/78957.tmp.17418	2006-08-04 15:04:19.000000000 -0400
@@ -94,6 +94,66 @@
 
 
 
 ------- Additional Comments From vargaz at gmail.com  2006-08-04 11:00 -------
 If you want us to look at this problem, please attach a _real_ testcase.
 
+
+------- Additional Comments From david_garcia at logitech.com  2006-08-04 15:04 -------
+•	Introduction/overview contains general information about Test 
+case. 
+o	The purpose of the test was to determine how mono handles 
+large memory allocations, data processing benchmarking, and rapidly 
+successive small memory allocations.
+
+•	Test case activity 
+o	Testing environment Specifications:
+	Windows XP SP2
+	MONO 1.1.16
+	Memory: 1 GB
+	CPU: P4 HT
+	.NET 2.0
+	Test application compiled for runtime .NET 2.0
+	Page Size: Custom 1536MB to 3072 MB
+o	The initial test preparation requires that the test 
+application open a file of 138 Megabytes into a memory stream.
+o	After running test, system must be reset because of memory 
+leak and or damage to the internal memory management data structures
+o	Test Case Application 
+o	//------------------------------------------------------------
+        try
+            {
+//step 1 allocate 138 MB
+                byte[] b = new byte[138 * 1024 * 1024];
+//step 2 create a list 
+                List<object[]> arg = new List<object[]>();
+                for (int i = 0; i < 80000; i++)
+                {
+//create 80,000 strings arrays of length 201
+
+                    string[] tmp = new string[201];
+                    Console.Write("\r{0}", i);
+                    for (int x = 0; x < tmp.Length; x++)
+                    {
+//file the arrays with some data
+                        tmp[x] = "VALUE" + x.ToString();
+                    }
+//add the data
+                    arg.Add(tmp);
+                }
+            }
+            catch (Exception ex)
+            {
+                Console.WriteLine(ex);
+            }
+            Console.Read();
+//-----------------------------------------------------------------
+o	There is not other input data
+•	Results 
+o	The expected result of MONO and .NET are that both frameworks 
+would behave in the same manner. .NET is expected to utilize the full 
+1 GB of Physical memory + Virtual. Mono is to behave the same way.
+o	The actual result is that .NET performs as expected, but MONO 
+throws an runtime exception which results in halted execution of test 
+application. 
+
+


More information about the mono-bugs mailing list