Start here

Home
About Klocwork
What's new
Fixed issues
Release notes
Installation

Reference

C/C++ checkers
Java checkers
C# checkers
MISRA C 2004 checkers
MISRA C++ 2008 checkers
MISRA C 2012 checkers
MISRA C 2012 checkers with Amendment 1
Commands
Metrics
Troubleshooting
Reference

Product components

C/C++ Integration build analysis
Java Integration build analysis
Desktop analysis
Refactoring
Klocwork Static Code Analysis
Klocwork Code Review
Structure101
Tuning
Custom checkers

Coding environments

Visual Studio
Eclipse for C/C++
Eclipse for Java
IntelliJ IDEA
Other

Administration

Project configuration
Build configuration
Administration
Analysis performance
Server performance
Security/permissions
Licensing
Klocwork Static Code Analysis Web API
Klocwork Code Review Web API

Community

View help online
Visit RogueWave.com
Klocwork Support
Rogue Wave Videos

Legal

Legal information

Optimizing server performance

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 MySQL server packaged with Klocwork, or your own installation of FlexNet Publisher..

Details: Using your organization's FlexNet Publisher server

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.

Details: Moving or creating additional projects_root directories

Custom MySQL configuration

If you find the Klocwork database performance to be slow, you can customize the MySQL configuration file found at <Server_install>/config/kwmysql.ini.

Details: Improving database performance