1998Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] OT: Java multithreading test source -->
<!--X-From-R13: "Xba O. Znzoreg" <wyflfvapNvk.argpbz.pbz> -->
<!--X-Date: Fri, 22 May 1998 18:39:50 &#45;0700 -->
<!--X-Message-Id: 199805230138.UAA26433@dfw&#45;ix4.ix.netcom.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 9805200534.8xjy@ami&#45;cg.GraySage.Edmonton.AB.CA -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] OT: Java multithreading test source</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>
[&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="msg00801.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00803.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00812.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00805.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00802">Author</A>
&nbsp;|&nbsp;<A HREF="#00802">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00802">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] OT: Java multithreading test source</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] OT: Java multithreading test source</LI>
<LI><em>From</em>: "Jon A. Lambert" &lt;<A HREF="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</A>&gt;</LI>
<LI><em>Date</em>: Fri, 22 May 1998 17:52:37 -5</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>
Here are my results in graphic format running Vadim's Java thread 
test program. 

The machine was running Win95 on a Pentium II at 300mhz with 64mb of 
memory.

The MS test was run using the latest VM supplied with IE 4.01 with 
the JIT enabled.  It was run from JView supplied with Visual J++ 1.1.

The Sun test was run using the 1.1.6 JDK with the Symantec JIT 
enabled.

Some notes: 

The first 4 results where thrown out because of really wild 
variations in the first few MS threads in order to get my graphics 
program to scale theY axis for readability. 

Both tests took less than 6 minutes to run to completion although
completion was termination due to out of memory errors.  

The Sun test outputted raw data with negative lag values every dozen 
or so lines.  So Sun results had a built-in bias in the average 
calculation.  
(&lt;hehe&gt; I'm sure this is merely a bug and not evidence of a vast 
anti-MS consipracy :P)

I tried to run the test without the Sun JIT but it logged errors 
after the first 100 threads.

I'm attempting to get FreeBSD installed on the exact same machine and 
if I ever figure it out I'll run some comparsions using Kaffe.  

My thoughts:
Vadim ran out of processor before running out of memory at 128mb.
I ran out of memory before I ran out of processor at 64mb.
In the past MS's JIT has whipped the pants out of Sun's VM (even the 
one with the Windows performance pack.  Sun's decision to package the 
Symantec JIT is a good thing.  It's very competitive. :)

The raw data is available on demand. ;)
--
--/*\ Jon A. Lambert - TychoMUD     Internet:jlsysinc#ix,netcom.com /*\--
--/*\ Mud Server Developer's Page &lt;<A  HREF="http://www.netcom.com/~jlsysinc">http://www.netcom.com/~jlsysinc</A>&gt; /*\--
--/*\   "Everything that deceives may be said to enchant" - Plato   /*\--


</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="00819" HREF="msg00819.html">[MUD-Dev] Re: OT: Java multithreading test source</A></strong>
<ul compact><li><em>From:</em> "Jon A. Lambert" &lt;jlsysinc#ix,netcom.com&gt;</li></ul>
<li><strong><A NAME="00818" HREF="msg00818.html">[MUD-Dev] Re: OT: Java multithreading test source</A></strong>
<ul compact><li><em>From:</em> "Jon A. Lambert" &lt;jlsysinc#ix,netcom.com&gt;</li></ul>
<li><strong><A NAME="00805" HREF="msg00805.html">[MUD-Dev] Re: OT: Java multithreading test source</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-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00725" HREF="msg00725.html">[MUD-Dev] Re: Java multithreading test source</A></STRONG>
<UL><LI><EM>From:</EM> cg#ami-cg,GraySage.Edmonton.AB.CA (Chris Gray)</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00801.html">[MUD-Dev] OT: Java multithreading test source</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00803.html">[MUD-Dev] Re: Mud Tales</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00812.html">[MUD-Dev] Re: OT: Java multithreading test source</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00805.html">[MUD-Dev] Re: OT: Java multithreading test source</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00802"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00802"><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 test source</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<ul compact>
<LI><strong><A NAME="00808" HREF="msg00808.html">[MUD-Dev] Re: OT: Java multithreading test source</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Sat 23 May 1998, 21:29 GMT
<UL>
<LI><strong><A NAME="00809" HREF="msg00809.html">[MUD-Dev] Plug:  Got my java client to work using the java-plugin.</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Sat 23 May 1998, 22:51 GMT
</LI>
<LI><strong><A NAME="00813" HREF="msg00813.html">[MUD-Dev] Re: OT: Java multithreading test source</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Sun 24 May 1998, 04:54 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00812" HREF="msg00812.html">[MUD-Dev] Re: OT: Java multithreading test source</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Sun 24 May 1998, 04:49 GMT
</LI>
</ul>
</ul>
<LI><strong><A NAME="00802" HREF="msg00802.html">[MUD-Dev] OT: Java multithreading test source</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Sat 23 May 1998, 01:39 GMT
<UL>
<LI><strong><A NAME="00805" HREF="msg00805.html">[MUD-Dev] Re: OT: Java multithreading test source</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Sat 23 May 1998, 19:20 GMT
<UL>
<LI><strong><A NAME="00811" HREF="msg00811.html">[MUD-Dev] Re: OT: Java multithreading test source</A></strong>, 
Vadim Tkachenko <a href="mailto:vt#freehold,crocodile.org">vt#freehold,crocodile.org</a>, Sun 24 May 1998, 04:24 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00818" HREF="msg00818.html">[MUD-Dev] Re: OT: Java multithreading test source</A></strong>, 
Jon A. Lambert <a href="mailto:jlsysinc#ix,netcom.com">jlsysinc#ix,netcom.com</a>, Sun 24 May 1998, 21:24 GMT
<UL>
<LI><strong><A NAME="00830" HREF="msg00830.html">[MUD-Dev] Re: OT: Java multithreading test source</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Mon 25 May 1998, 21:59 GMT
</LI>
</UL>
</LI>
</UL>
</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>