[Home] [Groups] - Message: [Prev in Group] [Next in Group]
10118: Re: [MUD-Dev] Sockets
[Full Header] [Plain Text]
From: Mark Gritter <mark@erdos.Stanford.EDU>
Newsgroups: nu.kanga.list.mud-dev
Date: Wed, 12 May 1999 03:29:40 -0700 (PDT)
References: [1]
Organization: Kanga.Nu
Mark Gritter writes:
> Leaving aside the implementation-specific question of what the fixed
> overhead is... polling overhead would seem to scale with the number of
> _possible_ I/O events, while threading overhead increases with the
> number of _actual_ I/O events.
Duh. Usually the two are proportional. :) I shouldn't try thinking
hard late at night.
How about this: as a function of "window size", threads look better at
small polling times and select() looks better at large polling times---
when it can report several events at once.
Mark Gritter
mark@erdos.stanford.edu
_______________________________________________
MUD-Dev maillist - MUD-Dev@kanga.nu
http://www.kanga.nu/lists/listinfo/mud-dev