1998Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Re: OT: Java multithreading performance -->
<!--X-From-R13: ptNnzv&#45;pt.UenlEntr.Sqzbagba.OP.QO (Quevf Uenl) -->
<!--X-Date: Mon, 18 May 1998 10:17:00 &#45;0700 -->
<!--X-Message-Id: 9805181659.8xi6@ami&#45;cg.GraySage.Edmonton.AB.CA -->
<!--X-Content-Type: text -->
<!--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:cg#ami-cg,GraySage.Edmonton.AB.CA">
</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>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00666.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00668.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00647.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00685.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00667">Author</A>
&nbsp;|&nbsp;<A HREF="#00667">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00667">Thread</A>
&nbsp;]

<!--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>: <A HREF="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</A> (Chris Gray)</LI>
<LI><em>Date</em>: Mon, 18 May 98 09:59:23 MST</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" &lt;<A HREF="mailto:petidomo#kanga,nu">petidomo#kanga,nu</A>&gt;</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
[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,
which is stressed more by a bunch of Java byte-code than it is by native
code. Somewhere inbetween would be Java compiled to native code. Another
limit is that of the system's speed in processing TCP/IP data - that may
well consume more of the CPU than any processing in the server!

When I get my new computer all set up, so that I can move it to this desk
and permanently shut down this one, I'll finish off the writeup on my
AmigaMUD bytecode, and likely post it here. (Speaking of bytecode.) My
environment here is all messed up, which is why I've been fairly quiet.

--
Chris Gray   cg#ami-cg,GraySage.Edmonton.AB.CA


-- 
MUD-Dev: Advancing an unrealised future.

</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<ul compact><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><A NAME="00685" HREF="msg00685.html">[MUD-Dev] Re: OT: Java multithreading performance</A></strong>
<ul compact><li><em>From:</em> Ben Greear &lt;greear#cyberhighway,net&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00666.html">[MUD-Dev] Re: CGDC, a summary</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00668.html">[MUD-Dev] Re: CGDC, a summary</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00647.html">[MUD-Dev] Re: OT: Java multithreading performance</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00685.html">[MUD-Dev] Re: OT: Java multithreading performance</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00667"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00667"><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="00638" HREF="msg00638.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, 00:07 GMT
</LI>
<LI><strong><A NAME="00640" HREF="msg00640.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, 00:22 GMT
</LI>
<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
</LI>
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>