[Mono-bugs] [Bug 606228] Very bad performance of async socket application specifically under Mono/Linux (Notifications: epoll)
http://bugzilla.novell.com/show_bug.cgi?id=606228 http://bugzilla.novell.com/show_bug.cgi?id=606228#c5 --- Comment #5 from Rickard Edström ick...@gmail.com 2010-07-11 23:34:40 UTC --- I tried socket.NoDelay, and it works fine ;-) Thanks -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug. ___ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs
[Mono-bugs] [Bug 606228] Very bad performance of async socket application specifically under Mono/Linux (Notifications: epoll)
http://bugzilla.novell.com/show_bug.cgi?id=606228 http://bugzilla.novell.com/show_bug.cgi?id=606228#c4 Gonzalo Paniagua Javier gonz...@novell.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #4 from Gonzalo Paniagua Javier gonz...@novell.com 2010-07-09 20:43:40 UTC --- Try setting 'socket.NoDelay = true;' Anyway, this is a linux TCP stack implementation specific detail, not a mono bug. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug. ___ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs
[Mono-bugs] [Bug 606228] Very bad performance of async socket application specifically under Mono/Linux (Notifications: epoll)
http://bugzilla.novell.com/show_bug.cgi?id=606228 http://bugzilla.novell.com/show_bug.cgi?id=606228#c3 --- Comment #3 from Rickard Edström ick...@gmail.com 2010-07-03 02:27:45 UTC --- I have investigated this a bit further, and I've come to the conclusion that it is not related to async I/O at all. I now have a very simple C# synchronous I/O application which is able to send (as before) 180ish requests. (It also runs fast on Windows) The issue causing the performance problems in both apps seems to be that I'm sending a message just after I sent one. If I instead use the alternative[commented] implementation of Write() in the code linked, it works very fast under linux as well. Maybe this is intended behaviour for sockets on linux, or it could possibly be a mono bug? Anyways, the original description for this bug apparently is inaccurate as it stands. The very simple app: http://pastie.org/1028955 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug. ___ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs
[Mono-bugs] [Bug 606228] Very bad performance of async socket application specifically under Mono/Linux (Notifications: epoll)
http://bugzilla.novell.com/show_bug.cgi?id=606228 http://bugzilla.novell.com/show_bug.cgi?id=606228#c1 Gonzalo Paniagua Javier gonz...@novell.com changed: What|Removed |Added CC||gonz...@novell.com --- Comment #1 from Gonzalo Paniagua Javier gonz...@novell.com 2010-05-17 06:16:37 UTC --- Can you try setting the environment variable MONO_DISABLE_AIO=1 and see what happens? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug. ___ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs
[Mono-bugs] [Bug 606228] Very bad performance of async socket application specifically under Mono/Linux (Notifications: epoll)
http://bugzilla.novell.com/show_bug.cgi?id=606228 http://bugzilla.novell.com/show_bug.cgi?id=606228#c2 --- Comment #2 from Rickard Edström ick...@gmail.com 2010-05-17 11:54:46 UTC --- @Gonzalo, I tried running like this: MONO_DISABLE_AIO=1 mono ServerApp.exe and MONO_DISABLE_AIO=1 mono ClientApp.exe 127.0.0.1 hi and the result was it is still running just as slow as before. So I guess it's not epoll related :/ But the fact remains it runs a lot faster on both Mono/Windows and on an old machine with Mono/OSX, so should still be Mono/linux related, probably? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the QA contact for the bug. ___ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs