1999Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: RE: [MUD&#45;Dev] Sockets -->
<!--X-From-R13: Oqnz Ivttvaf <nqnzNnatry.pbz> -->
<!--X-Date: Mon, 17 May 1999 23:37:40 &#45;0700 -->
<!--X-Message-Id: Pine.SGI.3.96.990517130346.5444H&#45;100000#zazu,angel.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 4.1.19990514144404.00a2db40#pop,darklock.com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, RE: [MUD-Dev] Sockets</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:adam#angel,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="msg00291.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00295.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00272.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00257.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00293">Author</A>
&nbsp;|&nbsp;<A HREF="#00293">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00293">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>RE: [MUD-Dev] Sockets</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>: RE: [MUD-Dev] Sockets</LI>
<LI><em>From</em>: Adam Wiggins &lt;<A HREF="mailto:adam#angel,com">adam#angel,com</A>&gt;</LI>
<LI><em>Date</em>: Mon, 17 May 1999 13:16:56 -0700 (PDT)</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Sender</em>: <A HREF="mailto:mud-dev-admin#kanga,nu">mud-dev-admin#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 Fri, 14 May 1999, Caliban Tiresias Darklock wrote:
&gt; On 03:24 AM 5/13/99 -0500, Cynbe ru Taren said:
&gt; &gt;We all learned to program when CPU bandwidth was much more expensive
&gt; &gt;than it is now:  We're habituated to credit it with far more importance
&gt; &gt;than it now deserves.
&gt; 
&gt; This is the realisation which migrated me to Windows in the mid-nineties. I
&gt; didn't like Windows for the longest time, because it was wasting a lot of
&gt; time and effort on drawing the screen when it could have been actually
&gt; sorting and searching and servicing the 16 modems I had hooked up. 
&gt; Well, these days, my system uses most of its RAM and most of its CPU. Sure,
&gt; it's mostly used to draw pretty pictures, but at least it's being used.
&gt; Remember the virtual memory systems that used to swap things out of memory
&gt; just because you didn't use it for a while, leaving lots of empty memory
&gt; but taking two minutes to swap your graphics program back into RAM when you
&gt; task switched back to it? What a waste!

It depends what you're going to do with it.  I, as a developer, work on
projects with hundreds of thousands of lines of source code.  It compiles
five to ten times faster when my compiler, debugger, and all the source are in
the RAM cache.  It's possible to do this, but *only* if most of my RAM is
not wasted on superfluous stuff like pretty pictures.  (Well, okay, I *do*
have a nice 1280x1024x24 background and transparent xterms, but that's a
minor indulgence :))

My brother, who is not at all a technie, but maintains a very simple homepage
for himself, often asks me - "Why am I still waiting on computers?"  He wants
to know why, on his Pentium-class system with 32 megs of RAM, he has to wait
ten to twenty seconds for his paint program to load.  He wants to know why,
when he loads a 3-megabyte paint program executable, and a 1-megabyte bitmap
image to manipulate, it constantly hits the disk when he scrolls around the
image, and especially if he minimizes the app for a few minutes.  "I'm not
good at math," he says, "but isn't 3+1 less than 32?"

I don't want to wander off-topic here, but I would like to offer a word of
caution.  I think it's largely this attitude that "we've got the resources,
so let's squander them" that causes this sort of bloated software.  I for one
won't put up with software written that way.  I *do* have uses for all
the CPU power I have, and then some, and the amount of resources I'm willing
to waste on fluff is a very small percentage of that.

Actually, I suppose I owe a bit of thanks to all those folks writing bloated
software: they force people to upgrade to faster computers, which drivers the
prices down.  In the meantime I will continue to avoid bloated software
whenever possible (Netscape is my one exception to this rule, unfortunately)
and enjoy the benefits of dropping hardware prices.  Sort of the same way we
all owe thanks to all the porn-fiends out there for creating an immediate need
for more internet bandwidth...

Anyhow, programming is the same as it always ways.  You identify your
bottleneck and try to trim it down as small as possible.  As has been pointed
out already, a typical MUD serving less than 1000 connections at a time is
probably not going to have CPU problems, and select() certainly is no
signifigant bottleneck.  Memory and disk are probably your number one concerns
as your world database gets large.

Adam W.




_______________________________________________
MUD-Dev maillist  -  MUD-Dev#kanga,nu
<A  HREF="http://www.kanga.nu/lists/listinfo/mud-dev">http://www.kanga.nu/lists/listinfo/mud-dev</A>


</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="00253" HREF="msg00253.html">RE: [MUD-Dev] Sockets</A></STRONG>
<UL><LI><EM>From:</EM> Caliban Tiresias Darklock &lt;caliban#darklock,com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00291.html">RE: [MUD-Dev] Marc Hernandez' Server</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00295.html">RE: [MUD-Dev] Custom Server Roll Call?</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00272.html">Re: [MUD-Dev] Sockets</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00257.html">Re: [MUD-Dev] Sockets</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00293"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00293"><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] Sockets</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00242" HREF="msg00242.html">RE: [MUD-Dev] Sockets</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Fri 14 May 1999, 08:15 GMT
</LI>
<LI><strong><A NAME="00245" HREF="msg00245.html">RE: [MUD-Dev] Sockets</A></strong>, 
Cynbe ru Taren <a href="mailto:cynbe#muq,org">cynbe#muq,org</a>, Fri 14 May 1999, 08:20 GMT
<UL>
<LI><strong><A NAME="00253" HREF="msg00253.html">RE: [MUD-Dev] Sockets</A></strong>, 
Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Sat 15 May 1999, 09:31 GMT
<UL>
<LI><strong><A NAME="00272" HREF="msg00272.html">Re: [MUD-Dev] Sockets</A></strong>, 
Travis Casey <a href="mailto:efindel#io,com">efindel#io,com</a>, Sun 16 May 1999, 21:10 GMT
</LI>
<LI><strong><A NAME="00293" HREF="msg00293.html">RE: [MUD-Dev] Sockets</A></strong>, 
Adam Wiggins <a href="mailto:adam#angel,com">adam#angel,com</a>, Tue 18 May 1999, 06:37 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00257" HREF="msg00257.html">Re: [MUD-Dev] Sockets</A></strong>, 
Mark Gritter <a href="mailto:mark#erdos,Stanford.EDU">mark#erdos,Stanford.EDU</a>, Sat 15 May 1999, 09:31 GMT
</LI>
<LI><strong><A NAME="00269" HREF="msg00269.html">[MUD-Dev] Re[2]: [MUD-Dev] Sockets</A></strong>, 
Travis Casey <a href="mailto:efindel#io,com">efindel#io,com</a>, Sun 16 May 1999, 21:07 GMT
</LI>
</UL>
</LI>
</ul>
</LI>
<LI><strong><A NAME="00054" HREF="msg00054.html">[MUD-Dev] Virtual machine design</A></strong>, 
Shane King <a href="mailto:thandor#donut,dhis.org">thandor#donut,dhis.org</a>, Fri 16 Apr 1999, 06:56 GMT
<UL>
<LI><strong><A NAME="00057" HREF="msg00057.html">Re: [MUD-Dev] Virtual machine design</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Sat 17 Apr 1999, 04:43 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>