1998Q3/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Re: [Java] multithreading: update and a question -->
<!--X-From-R13: Pra Uerrne <terrneNploreuvtujnl.arg> -->
<!--X-Date: Tue, 14 Jul 1998 23:44:53 &#45;0700 -->
<!--X-Message-Id: Pine.LNX.3.96.980714232901.4750C&#45;100000#shamen,cyberhighway.net -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 35AC445F.A2B04805#freehold,crocodile.org -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Re: [Java] multithreading: update and a question</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:greear#cyberhighway,net">
</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="msg00222.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00224.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00222.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00224.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00223">Author</A>
&nbsp;|&nbsp;<A HREF="#00223">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00223">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Re: [Java] multithreading: update and a question</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: [Java] multithreading: update and a question</LI>
<LI><em>From</em>: Ben Greear &lt;<A HREF="mailto:greear#cyberhighway,net">greear#cyberhighway,net</A>&gt;</LI>
<LI><em>Date</em>: Tue, 14 Jul 1998 23:40:54 -0700 (MST)</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#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 Wed, 15 Jul 1998, Vadim Tkachenko wrote:

&gt; Chris Gray wrote:
&gt; 
&gt; [skipped]
&gt; 
&gt; &gt; I'd guess that whether or not you want one OS thread per Java thread
&gt; &gt; would end up depending on how many Java threads you use, and how often
&gt; &gt; you create and destroy them.
&gt; 
&gt; [speaking about me]
&gt; 
&gt; I'm creating and destroying threads deliberately carelessly, on demand,
&gt; 'cause remember that the preliminary optimization is a mother of all
&gt; evil. The Jukebox as it is today survived almost 2 years before I
&gt; started (because needed to) to optimize it.
&gt; 
&gt; &gt; If you end up with only about a dozen or less,
&gt; 
&gt; Nah, the estimate is a count of hundreds - based on the test results, I
&gt; consider a 1000 threads a reasonable default for a number of threads -
&gt; that was Linux &amp; Solaris on PII/350 with 128M RAM, which is I guess not
&gt; considered a server configuration novadays.

As much as I love Linux, at the present time it is not ready for running
CPU intensive (or maybe any other kind of intensive) java programs.  I get
markedly better performance under Win95, and Solaris, which is to be
expected, considering JIT etc...

Hopefully, this will change soon.  Corel said they were gonna work on
a JIT for Linux (for their Netwinder).

&gt; See, there's a drawback - the architecture solutions for one/one,
&gt; many/one and many/many are different. Java becomes a curse
&gt; portability-wise, because it's SUPPOSED to behave in the same way, but
&gt; depending on the platform implementation different people working on
&gt; different platforms will lose their (voice fibers? what's the English
&gt; term? am I making myself clear here?) shouting and trying to convince
&gt; each other in what sucks and what rules.

Vocal cords I think you meant! :)

&gt; -- 
&gt; Still alive and smile stays on,
&gt; Vadim Tkachenko &lt;vt#freehold,crocodile.org&gt;

After seeing the numbers for Clustering (ie the Beowulf Supercomputer
they built at NASA), I think we might see clustered boxes before
wide-spread dual+ CPU stuff.  This will probably remain in the Linux
world, as opposed to Win95 (NT might cluster one day.)

Hrm, "thread" at process level, use UDP or TCP for communication layer,
seems very portable to me.  Can always use lighter threads within each
process thread..  Then can take advantage of clustering and or multi-cpu
boxes...

Hrm, not making much sense even to myself....

Ben


Ben Greear (greear#cyberhighway,net)  <A  HREF="http://www.primenet.com/~greear">http://www.primenet.com/~greear</A> 
Author of ScryMUD:  mud.primenet.com 4444
<A  HREF="http://www.primenet.com/~greear/ScryMUD/scry.html">http://www.primenet.com/~greear/ScryMUD/scry.html</A>





</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="00641" HREF="msg00641.html">[MUD-Dev] Re: [Java] multithreading: update and a question</A></strong>
<ul compact><li><em>From:</em> J C Lawrence &lt;claw#under,engr.sgi.com&gt;</li></ul>
<li><strong><A NAME="00224" HREF="msg00224.html">[MUD-Dev] Re: [Java] multithreading: update and a question</A></strong>
<ul compact><li><em>From:</em> Vadim Tkachenko &lt;vt#freehold,crocodile.org&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00222" HREF="msg00222.html">[MUD-Dev] Re: [Java] multithreading: update and a question</A></STRONG>
<UL><LI><EM>From:</EM> Vadim Tkachenko &lt;vt#freehold,crocodile.org&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00222.html">[MUD-Dev] Re: [Java] multithreading: update and a question</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00224.html">[MUD-Dev] Re: [Java] multithreading: update and a question</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00222.html">[MUD-Dev] Re: [Java] multithreading: update and a question</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00224.html">[MUD-Dev] Re: [Java] multithreading: update and a question</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00223"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00223"><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: [DESIGN] Antagonizing players</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<LI><strong><A NAME="00230" HREF="msg00230.html">[MUD-Dev] Re: [DESIGN] Antagonizing players</A></strong>, 
Richard Woolcock <a href="mailto:KaVir#dial,pipex.com">KaVir#dial,pipex.com</a>, Wed 15 Jul 1998, 18:33 GMT
</LI>
</ul>
</ul>
</LI>
<LI><strong><A NAME="00225" HREF="msg00225.html">[MUD-Dev] [CODE RELEASE]  ScryMUD, and the Hegemon Client 1.4.3  (minor release)</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Wed 15 Jul 1998, 07:01 GMT
<LI><strong><A NAME="00221" HREF="msg00221.html">[MUD-Dev] Re: [Java] multithreading: update and a question</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Wed 15 Jul 1998, 05:02 GMT
<UL>
<LI><strong><A NAME="00222" HREF="msg00222.html">[MUD-Dev] Re: [Java] multithreading: update and a question</A></strong>, 
Vadim Tkachenko <a href="mailto:vt#freehold,crocodile.org">vt#freehold,crocodile.org</a>, Wed 15 Jul 1998, 05:56 GMT
<UL>
<LI><strong><A NAME="00223" HREF="msg00223.html">[MUD-Dev] Re: [Java] multithreading: update and a question</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Wed 15 Jul 1998, 06:44 GMT
<UL>
<LI><strong><A NAME="00224" HREF="msg00224.html">[MUD-Dev] Re: [Java] multithreading: update and a question</A></strong>, 
Vadim Tkachenko <a href="mailto:vt#freehold,crocodile.org">vt#freehold,crocodile.org</a>, Wed 15 Jul 1998, 06:59 GMT
</LI>
<LI><strong><A NAME="00641" HREF="msg00641.html">[MUD-Dev] Re: [Java] multithreading: update and a question</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Tue 11 Aug 1998, 01:59 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00232" HREF="msg00232.html">[MUD-Dev] Re: [Java] multithreading: update and a question</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Wed 15 Jul 1998, 18:44 GMT
</LI>
</UL>
<UL>
<li>&lt;Possible follow-up(s)&gt;<br>
<LI><strong><A NAME="00227" HREF="msg00227.html">[MUD-Dev] Re: [Java] multithreading: update and a question</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Wed 15 Jul 1998, 14:19 GMT
</LI>
</UL>
</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>