Optimizing transmission operation routine

One of factors that negatively affects the server performance is routines take long to operate transmission.

In the case like this, it is important to search for transmission operation routines with lack of performance through Approaching the moment of reception (Stub) call and solve them.

Then you need to determine the slow routines are in either device burst time or CPU burst time.

  • If device burst time is taking long, you need to optimize critical section lock and increase the performance of source in device burst (i.e. database or else).
  • If CPU burst time is taking long, then the calculation routine must be optimized, switch to parallel processing, or distribute to a different server. The typical example for this is AI of NPC.