[MUD-Dev] Re: MUD Development Digest

Chris Gray cg at ami-cg.GraySage.Edmonton.AB.CA
Fri Apr 10 09:11:39 New Zealand Standard Time 1998


[Alex O:]

[Fibre description snipped]

:I don't any advantage in using fibers instead of threads in a MUD server.

I'll second that. Fibres within a thread cannot take advantage of extra
CPU's, so give you no speed increase on multi-CPU machines. If a fibre
does a system call, the entire thread is busy until that call returns.
So, unless you have some flow-control problem that is best solved by
having the multiple contexts of multiple fibres, and you need to switch
those contexts so often that threads are too expensive, there is little
gain to using fibres.

--
Chris Gray   cg at ami-cg.GraySage.Edmonton.AB.CA




More information about the MUD-Dev mailing list