<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD-Dev] Re: OT: Java multithreading performance -->
<!--X-From-R13: "Xba O. Znzoreg" <wyflfvapNvk.argpbz.pbz> -->
<!--X-Date: Mon, 18 May 1998 22:32:05 -0700 -->
<!--X-Message-Id: 199805190531.AAA17215@dfw-ix16.ix.netcom.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 9805181659.8xi6@ami-cg.GraySage.Edmonton.AB.CA -->
<!--X-Reference: Pine.LNX.3.96.980518204449.467A-100000#shamen,cyberhighway.net -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Re: OT: Java multithreading performance</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:jlsysinc#ix,netcom.com">
</head>
<body background="/backgrounds/paperback.gif" bgcolor="#ffffff"
text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000">
<font size="+4" color="#804040">
<strong><em>MUD-Dev<br>mailing list archive</em></strong>
</font>
<br>
[ <a href="../">Other Periods</a>
| <a href="../../">Other mailing lists</a>
| <a href="/search.php3">Search</a>
]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->
Date:
[ <a href="msg00687.html">Previous</a>
| <a href="msg00689.html">Next</a>
]
Thread:
[ <a href="msg00685.html">Previous</a>
| <a href="msg00727.html">Next</a>
]
Index:
[ <A HREF="author.html#00688">Author</A>
| <A HREF="#00688">Date</A>
| <A HREF="thread.html#00688">Thread</A>
]
<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Re: OT: Java multithreading performance</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Subject</em>: [MUD-Dev] Re: OT: Java multithreading performance</LI>
<LI><em>From</em>: "Jon A. Lambert" <<A HREF="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</A>></LI>
<LI><em>Date</em>: Tue, 19 May 1998 01:32:48 -5</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Sender</em>: "Petidomo List Agent -- Kanga.Nu version" <<A HREF="mailto:petidomo#kanga,nu">petidomo#kanga,nu</A>></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
On 18 May 98, Ben Greear wrote:
> On Mon, 18 May 1998, Chris Gray wrote:
>
> > [Vadim Tkachenko:]
> >
> > :I have the logging routine implemented in such a way that it accepts the
> > :messages and prints... well, makes them available to the final logging
> > :device, in the thread runninh with background priority. When I ran this
> > :est, I had to disable all that stuff because the log was becoming silent
> > :after some number of threads (don't remember the exact number, though).
> >
> > Understood. Determining what the absolute number of threads it can support
> > is academically interesting, but not real useful. Determining the number
> > of MUD-server-like threads that it can support is more useful. Your
> > result is closer to that. So, if a server design in Java intends to use
> > a thread per client, and each client should have an open socket, then at
> > least on Linux, the socket-per-process limit is likely to be reached before
> > any inherent Java limit. Of course, there is still the CPU power limit,
>
> The socket limit has me worried. I can't think of a clean way to get
> around this in Java. I suppose I could do a
>
> System.??("java AnotherServerBackEnd")
>
> but that seems messy at best.
> Anyone got around this, or know of a project which has tried?
>
What socket limits? Isn't this dependent on the TCP/IP stack you are
using more so than Java? For my implementation, 32767 is the
maximum number of sockets I can open per process. I can assure you
that this limit is well above any practical thresholds as all
hardcoded limitations should be. :)
--
--/*\ Jon A. Lambert - TychoMUD Internet:jlsysinc#ix,netcom.com /*\--
--/*\ Mud Server Developer's Page <<A HREF="http://www.netcom.com/~jlsysinc">http://www.netcom.com/~jlsysinc</A>> /*\--
--/*\ "Everything that deceives may be said to enchant" - Plato /*\--
--
MUD-Dev: Advancing an unrealised future.
</PRE>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00667" HREF="msg00667.html">[MUD-Dev] Re: OT: Java multithreading performance</A></STRONG>
<UL><LI><EM>From:</EM> cg#ami-cg,GraySage.Edmonton.AB.CA (Chris Gray)</LI></UL></LI>
<LI><STRONG><A NAME="00685" HREF="msg00685.html">[MUD-Dev] Re: OT: Java multithreading performance</A></STRONG>
<UL><LI><EM>From:</EM> Ben Greear <greear#cyberhighway,net></LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00687.html">[MUD-Dev] Re: Using HTML for a Mud character generator</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00689.html">[MUD-Dev] Java multithreading test source</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00685.html">[MUD-Dev] Re: OT: Java multithreading performance</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00727.html">[MUD-Dev] Re: OT: Java multithreading performance</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00688"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00688"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
<ul><li>Thread context:
<BLOCKQUOTE><UL>
<LI><STRONG>[MUD-Dev] Re: OT: Java multithreading performance</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00642" HREF="msg00642.html">[MUD-Dev] Re: OT: Java multithreading performance</A></strong>,
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sun 17 May 1998, 17:16 GMT
<UL>
<LI><strong><A NAME="00647" HREF="msg00647.html">[MUD-Dev] Re: OT: Java multithreading performance</A></strong>,
Vadim Tkachenko <a href="mailto:vt#freehold,crocodile.org">vt#freehold,crocodile.org</a>, Sun 17 May 1998, 21:11 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00667" HREF="msg00667.html">[MUD-Dev] Re: OT: Java multithreading performance</A></strong>,
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Mon 18 May 1998, 17:17 GMT
<UL>
<LI><strong><A NAME="00685" HREF="msg00685.html">[MUD-Dev] Re: OT: Java multithreading performance</A></strong>,
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Tue 19 May 1998, 03:50 GMT
<UL>
<LI><strong><A NAME="00688" HREF="msg00688.html">[MUD-Dev] Re: OT: Java multithreading performance</A></strong>,
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Tue 19 May 1998, 05:32 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00727" HREF="msg00727.html">[MUD-Dev] Re: OT: Java multithreading performance</A></strong>,
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Wed 20 May 1998, 13:49 GMT
</LI>
</ul>
</LI>
<LI><strong><A NAME="00627" HREF="msg00627.html">[MUD-Dev] Re: MURKLE: Wot it is</A></strong>,
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sat 16 May 1998, 06:02 GMT
<UL>
<LI><strong><A NAME="00709" HREF="msg00709.html">[MUD-Dev] Re: MURKLE: Wot it is</A></strong>,
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Tue 19 May 1998, 19:33 GMT
</LI>
</UL>
<UL>
<li><Possible follow-up(s)><br>
<LI><strong><A NAME="00643" HREF="msg00643.html">[MUD-Dev] Re: MURKLE: Wot it is</A></strong>,
Koster, Raph <a href="mailto:rkoster#origin,ea.com">rkoster#origin,ea.com</a>, Sun 17 May 1998, 21:16 GMT
</LI>
</UL>
</LI>
</UL></BLOCKQUOTE>
</ul>
<hr>
<center>
[ <a href="../">Other Periods</a>
| <a href="../../">Other mailing lists</a>
| <a href="/search.php3">Search</a>
]
</center>
<hr>
</body>
</html>