[Mono-bugs] [Bug 82427][Min] Changed - everything is slow when homedir is on NFS

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Aug 13 15:19:52 EDT 2007


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 jan.oravec at 6com.sk.

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

--- shadow/82427	2007-08-13 15:05:13.000000000 -0400
+++ shadow/82427.tmp.15291	2007-08-13 15:19:52.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 82427
 Product: Mono: Runtime
 Version: 1.2
-OS: 
-OS Details: 
+OS: unknown
+OS Details: Gentoo, amd64
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Minor
 Component: io-layer
 AssignedTo: dick at ximian.com                            
 ReportedBy: jan.oravec at 6com.sk               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -19,6 +19,50 @@
 Mono uses ~/.wapi directory to store Windows API handles, so they could be
 passed to other processes as IntPtrs. This is extremely slow when homedir
 is on NFS.
 
 There is a workaround of redefining MONO_SHARED_DIR=/tmp, but, is there a
 reason of not using POSIX IPC shared memory for this?
+
+------- Additional Comments From jan.oravec at 6com.sk  2007-08-13 15:19 -------
+some benchmarks:
+
+Building small MonoDevelop project:
+
+rm -rf `find . |grep bin$`; ifconfig eth0 | grep RX; time mdtool build
+> /dev/null; ifconfig eth0 | grep RX
+
+
+MONO_SHARED_DIR=/tmp:
+
+          RX packets:34283966 errors:39 dropped:0 overruns:0 frame:39
+          RX bytes:24792989690 (23644.4 Mb)  TX bytes:10275106954
+(9799.1 Mb)
+
+real    0m10.750s
+user    0m9.057s
+sys     0m1.788s
+          RX packets:34283995 errors:39 dropped:0 overruns:0 frame:39
+          RX bytes:24792997536 (23644.4 Mb)  TX bytes:10275116394
+(9799.1 Mb)
+
+
+MONO_SHARED_DIR=~:
+
+          RX packets:34284184 errors:39 dropped:0 overruns:0 frame:39
+          RX bytes:24793047116 (23644.4 Mb)  TX bytes:10275256014
+(9799.2 Mb)
+
+real    1m9.185s
+user    0m9.291s
+sys     0m2.012s
+          RX packets:34333694 errors:39 dropped:0 overruns:0 frame:39
+          RX bytes:24866582306 (23714.6 Mb)  TX bytes:10279259776
+(9803.0 Mb)
+
+
+So, about 70MB was received over NFS with .wapi at ~.
+
+All MonoDevelop things (~/.config and project) were moved outside NFS
+to not affect performance. (in fact, MonoDevelop causes another NFS
+storm when opening Mono.Addins database, but that is another reported
+bug).


More information about the mono-bugs mailing list