aboutsummaryrefslogtreecommitdiff
path: root/pipermail/nel/2001-February/000289.html
diff options
context:
space:
mode:
Diffstat (limited to 'pipermail/nel/2001-February/000289.html')
-rw-r--r--pipermail/nel/2001-February/000289.html106
1 files changed, 106 insertions, 0 deletions
diff --git a/pipermail/nel/2001-February/000289.html b/pipermail/nel/2001-February/000289.html
new file mode 100644
index 00000000..cdd60872
--- /dev/null
+++ b/pipermail/nel/2001-February/000289.html
@@ -0,0 +1,106 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Nel] NeL Network Engine</TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:lecroart%40nevrax.com">
+ <LINK REL="Previous" HREF="000287.html">
+ <LINK REL="Next" HREF="000291.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Nel] NeL Network Engine</H1>
+ <B>Vianney Lecroart</B>
+ <A HREF="mailto:lecroart%40nevrax.com"
+ TITLE="[Nel] NeL Network Engine">lecroart@nevrax.com</A><BR>
+ <I>Wed, 28 Feb 2001 10:07:19 +0100</I>
+ <P><UL>
+ <LI> Previous message: <A HREF="000287.html">[Nel] NeL Network Engine</A></li>
+ <LI> Next message: <A HREF="000291.html">[Nel] NeL Network Engine</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#289">[ date ]</a>
+ <a href="thread.html#289">[ thread ]</a>
+ <a href="subject.html#289">[ subject ]</a>
+ <a href="author.html#289">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Hello,
+
+In fact, we don't want to know the theorical limit. we know that we can
+change this value in the kernel sources and recompile it.
+
+What we don't know is the thread number limit after what the system uses too
+much CPU. In the linuxthread faq, they
+said that an application should not create more than 100 thread. In this
+case, we have to forget the solution where each
+socket is on a thread and use a blocked receive(). The problem is that
+select() is quite slow and if we have only 100 thread,
+each thread needs to manage, with a select(), around 50 players and we ll
+lost lot of time to create the array for the select()
+and check who have wakeup the select().
+
+Vianney Lecroart
+---
+lead network programmer / nevrax.com
+icq#: 6870415
+homepage: <A HREF="http://ace.planet-d.net">http://ace.planet-d.net</A>
+www.geekcode.com: GCS/E d- s+++: a-- C+++$ UL++ P- L+++&gt;+$ E+&gt;- W++ N+ o? K-
+w++$ O- M- V- PS- PE? Y PGP t 5? X+ R- tv++ b- DI D+ G e++ h+ r-- y?
+
+----- Original Message -----
+From: &quot;Thierry Mallard&quot; &lt;<A HREF="mailto:thierry@mallard.com">thierry@mallard.com</A>&gt;
+To: &lt;<A HREF="mailto:nel@nevrax.org">nel@nevrax.org</A>&gt;
+Sent: Wednesday, February 28, 2001 8:31 AM
+Subject: Re: [Nel] NeL Network Engine
+
+
+&gt;<i> On Mon, Feb 26, 2001 at 05:49:39PM +0100, Bernard Hugueney wrote:
+</I>&gt;<i> &gt; [ Linux and threads ]
+</I>&gt;<i> &gt; Well, I'm as far as possible from a threads expert, but I think that
+</I>&gt;<i> &gt; what makes LinuxThreads special is that they are system threads (vs user
+</I>&gt;<i> &gt; threads) maybe heavier, but making use of SMP, so basically, I think
+</I>&gt;<i> &gt; the max nb of threads is very much system dependand (SMP?).
+</I>&gt;<i>
+</I>&gt;<i> In Linux 2.4.x, you may configure the maximum threads with
+</I>&gt;<i> /proc/sys/kernel/threads-max, if i remember correctly.
+</I>&gt;<i>
+</I>&gt;<i> But the default value (4096) is still much more that what the default
+</I>kernel
+&gt;<i> can really handle nicely, as is it said in some other posts. We'll have to
+</I>&gt;<i> look deeper into this...
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> Shaman
+</I>&gt;<i>
+</I>&gt;<i> --
+</I>&gt;<i> Thierry Mallard |
+</I>&gt;<i> GnuPG key on wwwkeys.pgp.net |
+</I>&gt;<i> key 0xA3D021CB |
+</I>&gt;<i> <A HREF="http://thierry.mallard.com">http://thierry.mallard.com</A> |
+</I>&gt;<i>
+</I>&gt;<i> _______________________________________________
+</I>&gt;<i> Nel mailing list
+</I>&gt;<i> <A HREF="mailto:Nel@nevrax.org">Nel@nevrax.org</A>
+</I>&gt;<i> <A HREF="http://www.nevrax.org/mailman/listinfo.cgi/nel">http://www.nevrax.org/mailman/listinfo.cgi/nel</A>
+</I>
+
+</pre>
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI> Previous message: <A HREF="000287.html">[Nel] NeL Network Engine</A></li>
+ <LI> Next message: <A HREF="000291.html">[Nel] NeL Network Engine</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#289">[ date ]</a>
+ <a href="thread.html#289">[ thread ]</a>
+ <a href="subject.html#289">[ subject ]</a>
+ <a href="author.html#289">[ author ]</a>
+ </LI>
+ </UL>
+</body></html>