[Home] [Groups] - Message: [Prev in Group] [Next in Group]

nu.kanga.list.mud-dev

10071: RE: [MUD-Dev] Sockets

[Full Header] [Plain Text]
From: Chris Gray <cg@ami-cg.GraySage.Edmonton.AB.CA>
Newsgroups: nu.kanga.list.mud-dev
Date: Thu, 6 May 1999 22:01:21 -0600
Organization: Kanga.Nu
[Jon A. Lambert:]

 >I think the performance boost 
 >from threading has been understated or misunderstood on single-processor 
 >machines probably due to early thread implementations.

Is this deliberate flamebait, or just accidental?

Please explain to me how adding the overhead of thread switches, locks
and extra memory usage can increase performance. Or, perhaps you meant
to say "multi-processor machines"? One could perhaps imagine how a good
threaded implementation of something could perform better a poor
non-threaded implementation, but I don't think that's what you mean.

[I think I recall this issue coming up before, and me reacting in the
same way!]

--
Don't design inefficiency in - it'll happen in the implementation.

Chris Gray     cg@ami-cg.GraySage.Edmonton.AB.CA
               http://www.GraySage.Edmonton.AB.CA/cg/


_______________________________________________
MUD-Dev maillist  -  MUD-Dev@kanga.nu
http://www.kanga.nu/lists/listinfo/mud-dev