diff options
author | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
commit | 0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch) | |
tree | 2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /pipermail/nel/2001-February/000289.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to '')
-rw-r--r-- | pipermail/nel/2001-February/000289.html | 106 |
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+++>+$ E+>- 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: "Thierry Mallard" <<A HREF="mailto:thierry@mallard.com">thierry@mallard.com</A>> +To: <<A HREF="mailto:nel@nevrax.org">nel@nevrax.org</A>> +Sent: Wednesday, February 28, 2001 8:31 AM +Subject: Re: [Nel] NeL Network Engine + + +><i> On Mon, Feb 26, 2001 at 05:49:39PM +0100, Bernard Hugueney wrote: +</I>><i> > [ Linux and threads ] +</I>><i> > Well, I'm as far as possible from a threads expert, but I think that +</I>><i> > what makes LinuxThreads special is that they are system threads (vs user +</I>><i> > threads) maybe heavier, but making use of SMP, so basically, I think +</I>><i> > the max nb of threads is very much system dependand (SMP?). +</I>><i> +</I>><i> In Linux 2.4.x, you may configure the maximum threads with +</I>><i> /proc/sys/kernel/threads-max, if i remember correctly. +</I>><i> +</I>><i> But the default value (4096) is still much more that what the default +</I>kernel +><i> can really handle nicely, as is it said in some other posts. We'll have to +</I>><i> look deeper into this... +</I>><i> +</I>><i> +</I>><i> Shaman +</I>><i> +</I>><i> -- +</I>><i> Thierry Mallard | +</I>><i> GnuPG key on wwwkeys.pgp.net | +</I>><i> key 0xA3D021CB | +</I>><i> <A HREF="http://thierry.mallard.com">http://thierry.mallard.com</A> | +</I>><i> +</I>><i> _______________________________________________ +</I>><i> Nel mailing list +</I>><i> <A HREF="mailto:Nel@nevrax.org">Nel@nevrax.org</A> +</I>><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> |