<!-- MHonArc v2.4.4 --> <!--X-Subject: [MUD-Dev] Re: Ethernet NICS, maximum connections..mud testing. --> <!--X-From-R13: Quevf Uenl <ptNnzv-pt.UenlEntr.Sqzbagba.OP.QO> --> <!--X-Date: Sat, 8 Aug 1998 23:00:21 -0700 --> <!--X-Message-Id: 199808090556.XAA02199@ami-cg.GraySage.Edmonton.AB.CA --> <!--X-Content-Type: text/plain --> <!--X-Head-End--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title>MUD-Dev message, [MUD-Dev] Re: Ethernet NICS, maximum connections..mud testing</title> <!-- meta name="robots" content="noindex,nofollow" --> <link rev="made" href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA"> </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="msg00574.html">Previous</a> | <a href="msg00576.html">Next</a> ] Thread: [ <a href="msg00648.html">Previous</a> | <a href="msg00591.html">Next</a> ] Index: [ <A HREF="author.html#00575">Author</A> | <A HREF="#00575">Date</A> | <A HREF="thread.html#00575">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>[MUD-Dev] Re: Ethernet NICS, maximum connections..mud testing.</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: Ethernet NICS, maximum connections..mud testing.</LI> <LI><em>From</em>: Chris Gray <<A HREF="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</A>></LI> <LI><em>Date</em>: Sat, 8 Aug 1998 23:56:30 -0600</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> [Ben Greear:] >Would anyone be interested in my java tester program? I think it could >be modified easily to work with most any MUD, providing you know something >about programming and or java. Yes! Although no hurry - I won't be ready for straight telnet-style testing for a while. Which brings up a related technical question I've bumped into... On the old Amiga version of my system, I used Amiga Exec messages for communicating on the local machine between a client and the server. Since the system has no VM, that was a pretty efficient mechanism. On Linux, I'm using sockets. I have my simple client mostly working, using the same old binary protocol as before (I'd like to stay compatible). So, a big test is to use that client to build the scenario from the 30,000 or so lines of scenario source. That works, but, the kicker is that its *slow*! It's not that much faster on this 300 MHz P-II than it was on a 25 MHz 68040. But, the CPU is mostly idle while this is going on. My perfmeter shows nothing, and if I run 'top' or 'ps' while the activity is going on, they show that the server and the client together use under 2% of the CPU time, with very occasionally going to nearly 20%. Now, I'm using a SCSI-II disk on an Ultra-SCSI controller, and I can cat the sources to /dev/null in under a second (presumeably from disk buffers), so the slowdown isn't disk I/O (the disk light only very occasionally lights during the process). Using 'time' on the server and client shows similar results - a very low CPU usage, both for user time and system time. I've added a bit of instrumentation to the server, by measuring the time for the 'select' call, and comparing that against the requested delay. It's never more than 1/100 second greater (that's the resolution I use for queued events). So, what is happening? Does the Linux kernel (I'm running 2.0.30) impose an artificial delay between putting a message into one socket and reading it from another in another process? If so, is there anything I can do about it? The only other measurement I can think of doing is to have a simple 'ping' message from client to server, and time the round-trip. If that is excessive, that would seemingly confirm the above. If something like this is indeed the problem, what does it imply for packets coming in from and going out to remote systems? Will they also have that delay imposed on them? I was hoping that my server would be efficient enough (it runs everything via an interpreted language) that network stuff would be the bottleneck, but I wasn't expecting this kind of bottleneck! -- Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA </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="00591" HREF="msg00591.html">[MUD-Dev] Re: Ethernet NICS, maximum connections..mud testing.</A></strong> <ul compact><li><em>From:</em> Ben Greear <greear#cyberhighway,net></li></ul> </UL></LI></UL> <!--X-Follow-Ups-End--> <!--X-References--> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00574.html">[MUD-Dev] Re: Ethernet NICS, maximum connections..mud testing.</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00576.html">[MUD-Dev] lurker emerges</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00648.html">[MUD-Dev] Re: OT: Re: Ethernet NICS, maximum connections..mud testing.</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00591.html">[MUD-Dev] Re: Ethernet NICS, maximum connections..mud testing.</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00575"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00575"><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: Ethernet NICS, maximum connections..mud testing.</STRONG>, <EM>(continued)</EM> <ul compact> <LI><strong><A NAME="00573" HREF="msg00573.html">[MUD-Dev] Re: Ethernet NICS, maximum connections..mud testing.</A></strong>, Vadim Tkachenko <a href="mailto:vt#freehold,crocodile.org">vt#freehold,crocodile.org</a>, Sun 09 Aug 1998, 04:31 GMT <UL> <LI><strong><A NAME="00574" HREF="msg00574.html">[MUD-Dev] Re: Ethernet NICS, maximum connections..mud testing.</A></strong>, Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Sun 09 Aug 1998, 05:42 GMT </LI> <LI><strong><A NAME="00628" HREF="msg00628.html">[MUD-Dev] OT: Re: Ethernet NICS, maximum connections..mud testing.</A></strong>, Shawn Halpenny <a href="mailto:malachai#iname,com">malachai#iname,com</a>, Mon 10 Aug 1998, 14:43 GMT <UL> <LI><strong><A NAME="00648" HREF="msg00648.html">[MUD-Dev] Re: OT: Re: Ethernet NICS, maximum connections..mud testing.</A></strong>, Vadim Tkachenko <a href="mailto:vt#freehold,crocodile.org">vt#freehold,crocodile.org</a>, Tue 11 Aug 1998, 03:20 GMT </LI> </UL> </LI> </UL> </LI> <LI><strong><A NAME="00575" HREF="msg00575.html">[MUD-Dev] Re: Ethernet NICS, maximum connections..mud testing.</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, 06:00 GMT <UL> <LI><strong><A NAME="00591" HREF="msg00591.html">[MUD-Dev] Re: Ethernet NICS, maximum connections..mud testing.</A></strong>, Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Sun 09 Aug 1998, 19:17 GMT </LI> </UL> </LI> <LI><strong><A NAME="00597" HREF="msg00597.html">[MUD-Dev] Re: Ethernet NICS, maximum connections..mud testing.</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, 22:02 GMT <UL> <LI><strong><A NAME="00598" HREF="msg00598.html">[MUD-Dev] Re: Ethernet NICS, maximum connections..mud testing.</A></strong>, Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Sun 09 Aug 1998, 22:15 GMT </LI> </UL> </LI> <LI><strong><A NAME="00605" HREF="msg00605.html">[MUD-Dev] Re: Ethernet NICS, maximum connections..mud testing.</A></strong>, Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Mon 10 Aug 1998, 02:19 GMT </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>