On Mon, 18 Dec 1995, Naved A Surve wrote: > In message <9512180520.AA15420@homer.louisville.edu> you said: > > I can't wait, no more lag from gethostbyaddr *bounce*. > > Profile those fork() calls though, its one of the slowest system calls! If > your platform supports vfork() use that, but plain old fork() is a major > performance hit. I don't think that'd be too bad for NoMUD, since the mud runs on about 1.2% processor time during moderately busy periods :) But If you want to eliminate that extra overhead, you could run the hostname lookup process as a daemon, and if you understand sockets well enough, just create a connection between the two processes to pass queries and responses. Ok who's the socket expert here? :) Sam
This archive was generated by hypermail 2b30 : 12/07/00 PST