White Papers/Optimizing Configuration

From Docs

Jump to: navigation, search


Optimizing DiType performance

Configuration parameters of the lambda space

The following parameters for DiType's space lambda affect the performance:

  • log-queue-size - buffer's size to store log messages before the sending to clients; the default value is 16. The less value the parameter has the more often the client gets log messages from the formatter, and the greater value of the parameter improves the performance.
  • mark-and-sweep-rate - the frequency of calls the garbage collector in the formatter; the optimal value of the parameter is the maximal number of renderings that does not need memory swapping out, and it depends on the average size of documents and the system RAM. The default is 5.
Personal tools