1997Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev]  Introduction -->
<!--X-From-R13: Xrss Yrffryzna <wrssxNgrargjbex.pbz> -->
<!--X-Date: from babe.globecomm.net [207.51.48.8] by mx4.ibm.net id 863582792.36424&#45;1 Wed May 14 04:06:32 1997 -->
<!--X-Message-Id: 3.0.32.19970513211558.00b74bc4#mail,tenetwork.com -->
<!--X-Content-Type: text/plain -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev]  Introduction</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:jeffk#tenetwork,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="msg00453.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00456.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00461.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00456.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00455">Author</A>
&nbsp;|&nbsp;<A HREF="#00455">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00455">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev]  Introduction</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A></LI>
<LI><em>Subject</em>: Re: [MUD-Dev]  Introduction</LI>
<LI><em>From</em>: Jeff Kesselman &lt;<A HREF="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</A>&gt;</LI>
<LI><em>Date</em>: Tue, 13 May 1997 21:16:01 -0700</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
At 07:16 PM 5/13/97 PST8PDT, you wrote:
&gt;&gt;(FWIW, someone mentioned that process context switching was
&gt;&gt;expensive.  This is true, but your server is going to be switched out
&gt;&gt;anyways, as it's unlikely that nothing else is running on the machine
&gt;&gt;at all.)

As JL poinetd out its EQUALLY unlikely that you have 500 system processes.
But if you spwan a process per user you will get tehre pretty good.

Three snickers bar don't cost me much money... 500...

JK

&gt;
&gt;Context switching is cheap if it does not become a significant part of
&gt;your total process expense (obviously).  Run a single process, or even
&gt;just a couple/few processes and is stays cheap.  Start running one
&gt;process for every connection or something else equally silly and of a
&gt;sudden context switches start becoming a major fraction of the total
&gt;expense of running your system.
&gt;
&gt;Wanna try something?
&gt;
&gt;Write a little program (shell script will do fine) that does nothing
&gt;but print out numbers and delay a couple seconds every now and then. 
&gt;Run a couple copies.  They'll run very nicely and very rapidly,  The
&gt;price of context switching between the simultaneously executing copies
&gt;is small.  Watch your CPU utilisation and it should stay quite low.
&gt;
&gt;Now start up 300 instances of this little trivial program and watch
&gt;your system crawl into the drain.  Why?  The price of context
&gt;switching between your programs suddenly became a significant
&gt;percentage of the total work your CPU was doing.  (Graciously ignoring
&gt;swap, RAM etc aspects that also chime in here).
&gt;
&gt;-- 
&gt;J C Lawrence                           Internet: claw#null,net
&gt;(Contractor)                           Internet: coder#ibm,net
&gt;---------------(*)               Internet: clawrenc#cup,hp.com
&gt;...Honorary Member Clan McFUD -- Teamer's Avenging Monolith...
&gt;
&gt;
&gt;


</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00453.html">Re: [MUD-Dev]  RP thesis...</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00456.html">Re: [MUD-Dev]  Introduction</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00461.html">Re: [MUD-Dev]	Disk v. Mem</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00456.html">Re: [MUD-Dev]  Introduction</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00455"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00455"><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>Re: [MUD-Dev] Re: Prepositions and parsing</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<LI><strong><A NAME="00638" HREF="msg00638.html">Re: [MUD-Dev] Re: Prepositions and parsing</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Wed 21 May 1997, 03:30 GMT
<UL>
<LI><strong><A NAME="00815" HREF="msg00815.html">Re: [MUD-Dev] Re: Prepositions and parsing</A></strong>, 
Marian Griffith <a href="mailto:gryphon#iaehv,nl">gryphon#iaehv,nl</a>, Tue 27 May 1997, 04:52 GMT
<UL>
<LI><strong><A NAME="00868" HREF="msg00868.html">Re: [MUD-Dev] Re: Prepositions and parsing</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Wed 28 May 1997, 06:21 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</ul>
</ul>
</LI>
<LI><strong><A NAME="00461" HREF="msg00461.html">Re: [MUD-Dev]	Disk v. Mem</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Wed 14 May 1997, 21:13 GMT
<LI><strong><A NAME="00455" HREF="msg00455.html">Re: [MUD-Dev]  Introduction</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Wed 14 May 1997, 11:06 GMT
<UL>
<li>&lt;Possible follow-up(s)&gt;<br>
<LI><strong><A NAME="00456" HREF="msg00456.html">Re: [MUD-Dev]  Introduction</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Wed 14 May 1997, 11:16 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00453" HREF="msg00453.html">Re: [MUD-Dev]  RP thesis...</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Wed 14 May 1997, 10:58 GMT
<UL>
<LI><strong><A NAME="00476" HREF="msg00476.html">Re: [MUD-Dev]  RP thesis...</A></strong>, 
Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Thu 15 May 1997, 05:58 GMT
</LI>
<LI><strong><A NAME="00494" HREF="msg00494.html">Re: [MUD-Dev]  RP thesis...</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Fri 16 May 1997, 08: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>