[crossfire] Map cache

Anton Oussik antonoussik at gmail.com
Fri Aug 26 11:23:41 CDT 2005


>
     
      The file accessing code would need rewritten a little, although, if
     
     >
     
      you allow one thread to do all file loading, then it doesn't need to
     
     >
     
      be done in parrallel,
     
     
Thread creation and destruction is cheap. If it is to be done it might
as well be done properly. With one map loading thread the server will
scale up to 2 processors. With m maploading threads, where m is the
number of maps loaded, it will scale up to n processors, where n <=
m+1.

If a multi-threading of the server is to be done another aspect that
may be looked into is the actual object processing. If there were
several threads working away at object processing each tick they would
be able to do the job much quicker on a parallel system.

    
    


More information about the crossfire mailing list