[MUD-Dev] Sockets

Chris Gray cg at ami-cg.GraySage.Edmonton.AB.CA
Thu May 6 22:01:21 CEST 1999


[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 at ami-cg.GraySage.Edmonton.AB.CA
               http://www.GraySage.Edmonton.AB.CA/cg/


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




More information about the mud-dev-archive mailing list