Optimizing server performance
|In this topic:|
In some situations, especially large deployments, you may need to consider ways of optimizing the performance of the Klocwork Servers.
Running the Klocwork Servers on multiple hosts
Running the License Server on a separate host (separate from the Klocwork Server) is a good way to load-balance for larger Klocwork deployments. You can use either the License server packaged with Klocwork, or your own installation of FlexNet Publisher.
If you install Klocwork Server components on multiple hosts:
- All server hosts must see the projects_root directory under the same file system path name, and all must have write access.
- All servers must see the Klocwork executables under the same file system path name.
- When you install and configure Klocwork components on multiple machines, keep in mind that the maximum length of the path to the projects_root directory is 68 to 72 characters, depending on the length of the Database Server port number (1 to 5 digits).
Multiple projects_root directories
Setting up multiple projects_root directories can also improve performance.
Custom MariaDB configuration
If you find the Klocwork database performance to be slow, you can customize the MariaDB configuration file found at <Server_install>/config/kwmysql.ini.
- Details: Improving database performance