msg00599.html
1998Q3/msg00599.html · 7.5 KB
From the archive 1998Q3.zip
Download the archive « Back to the archive contents
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD-Dev] Re: lurker emerges -->
<!--X-From-R13: "F. Oyrknaqre Bbcvry" <cbcvryNfahtuneobe.pbz> -->
<!--X-Date: Sun, 9 Aug 1998 15:36:36 -0700 -->
<!--X-Message-Id: 199808092232.PAA06611#cashew,snugharbor.com.snugharbor.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 13773.64266.876212.231468#arioch,tky.hut.fi -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Re: lurker emerges</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:popiel#snugharbor,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>
[ <a href="../">Other Periods</a>
| <a href="../../">Other mailing lists</a>
| <a href="/search.php3">Search</a>
]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->
Date:
[ <a href="msg00598.html">Previous</a>
| <a href="msg00600.html">Next</a>
]
Thread:
[ <a href="msg00593.html">Previous</a>
| <a href="msg00607.html">Next</a>
]
Index:
[ <A HREF="author.html#00599">Author</A>
| <A HREF="#00599">Date</A>
| <A HREF="thread.html#00599">Thread</A>
]
<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Re: lurker emerges</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: lurker emerges </LI>
<LI><em>From</em>: "T. Alexander Popiel" <<A HREF="mailto:popiel#snugharbor,com">popiel#snugharbor,com</A>></LI>
<LI><em>Date</em>: Sun, 09 Aug 1998 15:32:33 -0600</LI>
<LI><em>cc</em>: <A HREF="mailto:popiel#snugharbor,com">popiel#snugharbor,com</A></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>
In message: <<A HREF="msg00593.html">13773.64266.876212.231468#arioch,tky.hut.fi</A>>
Petri Virkkula <pvirkkul#iki,fi> writes:
>>>>>> "Chris" == Chris Gray <cg#ami-cg,GraySage.Edmonton.AB.CA> writes:
>
>Chris> In general, I think its clear that threading will only actually
>Chris> increase your speed if your system has multiple CPUs.
>
> That's only true if your program is CPU bound. If the program
> is I/O bound then count of physical disks is more relevaant
> factor. In a mixed case I would use (this is only a guess)
> x+2*y as formula for optimal thread count (x is count of CPUs
> and y is count of physical disks), count of physical disks are
> multiplied with 2 to keep disks busy all the time.
*blink blink*
You seem to assume that it is impossible for a single thread to keep
even one I/O device continuously busy. Whatever happened to double-
buffering and non-blocking I/O? Has that art actually been lost in
the annals of time?
>Chris> Threading has overhead over non-threading, and there isn't
>Chris> anything you can do about that.
>
> Don't forget that non-threading has overhead too: if there is
> multiple file descriptors then select'ing and going through
> fd_sets can burns CPU time too.
While this is true, this overhead is something that a creative
programmer can manage and reduce, while the overhead of multiple
threads is untouchably bound in the OS kernel.
I prefer problems that I have at least some hope of fixing.
- Alex
</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="00615" HREF="msg00615.html">[MUD-Dev] Re: lurker emerges</A></strong>
<ul compact><li><em>From:</em> Petri Virkkula <pvirkkul#iki,fi></li></ul>
<li><strong><A NAME="00607" HREF="msg00607.html">[MUD-Dev] Re: lurker emerges</A></strong>
<ul compact><li><em>From:</em> Vadim Tkachenko <vt#freehold,crocodile.org></li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00593" HREF="msg00593.html">[MUD-Dev] Re: lurker emerges</A></STRONG>
<UL><LI><EM>From:</EM> Petri Virkkula <pvirkkul#iki,fi></LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00598.html">[MUD-Dev] Re: Ethernet NICS, maximum connections..mud testing.</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00600.html">[MUD-Dev] Re: lurker emerges</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00593.html">[MUD-Dev] Re: lurker emerges</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00607.html">[MUD-Dev] Re: lurker emerges</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00599"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00599"><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><A NAME="00606" HREF="msg00606.html">[MUD-Dev] Neat surrealistic graphical mudclients in Java?</A></strong>,
Ola Fosheim Grøstad <a href="mailto:olag#ifi,uio.no">olag#ifi,uio.no</a>, Mon 10 Aug 1998, 02:20 GMT
<LI><strong><A NAME="00584" HREF="msg00584.html">[MUD-Dev] Re: lurker emerges</A></strong>,
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sun 09 Aug 1998, 16:09 GMT
<UL>
<LI><strong><A NAME="00586" HREF="msg00586.html">[MUD-Dev] Re: lurker emerges</A></strong>,
Adam J. Thornton <a href="mailto:adam#phoenix,Princeton.EDU">adam#phoenix,Princeton.EDU</a>, Sun 09 Aug 1998, 17:28 GMT
</LI>
<LI><strong><A NAME="00593" HREF="msg00593.html">[MUD-Dev] Re: lurker emerges</A></strong>,
Petri Virkkula <a href="mailto:pvirkkul#iki,fi">pvirkkul#iki,fi</a>, Sun 09 Aug 1998, 19:43 GMT
<UL>
<LI><strong><A NAME="00599" HREF="msg00599.html">[MUD-Dev] Re: lurker emerges</A></strong>,
T. Alexander Popiel <a href="mailto:popiel#snugharbor,com">popiel#snugharbor,com</a>, Sun 09 Aug 1998, 22:36 GMT
<UL>
<LI><strong><A NAME="00607" HREF="msg00607.html">[MUD-Dev] Re: lurker emerges</A></strong>,
Vadim Tkachenko <a href="mailto:vt#freehold,crocodile.org">vt#freehold,crocodile.org</a>, Mon 10 Aug 1998, 04:05 GMT
<UL>
<LI><strong><A NAME="00609" HREF="msg00609.html">[MUD-Dev] Re: lurker emerges</A></strong>,
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Mon 10 Aug 1998, 04:54 GMT
<UL>
<LI><strong><A NAME="01053" HREF="msg01053.html">[MUD-Dev] Re: lurker emerges</A></strong>,
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Thu 17 Sep 1998, 00:26 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00610" HREF="msg00610.html">[MUD-Dev] Re: lurker emerges</A></strong>,
T. Alexander Popiel <a href="mailto:popiel#snugharbor,com">popiel#snugharbor,com</a>, Mon 10 Aug 1998, 05:05 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</UL></BLOCKQUOTE>
</ul>
<hr>
<center>
[ <a href="../">Other Periods</a>
| <a href="../../">Other mailing lists</a>
| <a href="/search.php3">Search</a>
]
</center>
<hr>
</body>
</html>