mail-archives/mono-bugs/2010-July/101899.html

102 строки
4.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 606228] Very bad performance of async socket application specifically under Mono/Linux (Notifications: epoll)
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20606228%5D%20Very%20bad%20performance%20of%20async%20socket%0A%20application%20specifically%20under%20Mono/Linux%20%28Notifications%3A%20epoll%29&In-Reply-To=bug-606228-28286%40http.bugzilla.novell.com/">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="101898.html">
<LINK REL="Next" HREF="101900.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 606228] Very bad performance of async socket application specifically under Mono/Linux (Notifications: epoll)</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20606228%5D%20Very%20bad%20performance%20of%20async%20socket%0A%20application%20specifically%20under%20Mono/Linux%20%28Notifications%3A%20epoll%29&In-Reply-To=bug-606228-28286%40http.bugzilla.novell.com/"
TITLE="[Mono-bugs] [Bug 606228] Very bad performance of async socket application specifically under Mono/Linux (Notifications: epoll)">bugzilla_noreply at novell.com
</A><BR>
<I>Fri Jul 2 22:27:46 EDT 2010</I>
<P><UL>
<LI>Previous message: <A HREF="101898.html">[Mono-bugs] [Bug 605340] Unexpected exception on calling String.LastIndexOf on empty strings with startIndex=-1
</A></li>
<LI>Next message: <A HREF="101900.html">[Mono-bugs] [Bug 618977] Crashes when Using the Calendars method of the EKEventStore on the device
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#101899">[ date ]</a>
<a href="thread.html#101899">[ thread ]</a>
<a href="subject.html#101899">[ subject ]</a>
<a href="author.html#101899">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE><A HREF="http://bugzilla.novell.com/show_bug.cgi?id=606228">http://bugzilla.novell.com/show_bug.cgi?id=606228</A>
<A HREF="http://bugzilla.novell.com/show_bug.cgi?id=606228#c3">http://bugzilla.novell.com/show_bug.cgi?id=606228#c3</A>
--- Comment #3 from Rickard Edstr&#246;m &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">ickard at gmail.com</A>&gt; 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: <A HREF="http://pastie.org/1028955">http://pastie.org/1028955</A>
--
Configure bugmail: <A HREF="http://bugzilla.novell.com/userprefs.cgi?tab=email">http://bugzilla.novell.com/userprefs.cgi?tab=email</A>
------- You are receiving this mail because: -------
You are the QA contact for the bug.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="101898.html">[Mono-bugs] [Bug 605340] Unexpected exception on calling String.LastIndexOf on empty strings with startIndex=-1
</A></li>
<LI>Next message: <A HREF="101900.html">[Mono-bugs] [Bug 618977] Crashes when Using the Calendars method of the EKEventStore on the device
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#101899">[ date ]</a>
<a href="thread.html#101899">[ thread ]</a>
<a href="subject.html#101899">[ subject ]</a>
<a href="author.html#101899">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>