Knowledge Base Article

Home Page > Knowledge Base > KronoDesk

Home Page > Knowledge Base > Spira Platform

Home Page > Knowledge Base > Spira Platform > SpiraPlan

Home Page > Knowledge Base > Spira Platform > SpiraTeam

Home Page > Knowledge Base > Spira Platform > SpiraTest

Article Ways to Optimize Spira and KronoDesk Performance

by Adam S on Friday, July 25, 2014

Sometimes we get help desk tickets from on-premise customers regarding the performance of our web-based applications (SpiraTest, SpiraPlan, SpiraTeam and KronoDesk). Whilst every situation is different, this article provides some common best practices that should help having a high-performing system.
  1. Database Indexes - Fragmented database indexes tend to be the most common cause of performance issues. We recommend setting up a weekly SQL Server job to run the one of the SQLs found in this KB article.

  2. Database File Fragmentation - Sometimes the MDF/LDF databases files get fragmented which can hinder performance, especially if the database has recently grown in size or the system was recently upgraded from one version of Spira to another:
    1. Check the hard drive that the MDF/LDF files are stored on and make sure that the drive is healthy and in the case of RAID arrays, make sure that there are no failures reported by the RAID controller.
    2. Size the MDF file to be at least 20% larger than the current size so that it has room to grow. Make sure that the MDF has an Auto-Grow size set to at least 20% of the current database MDF file size.
    3. Size the LDF to be at least 20% of the MDF and ideally pre-size it to be twice the largest size it has ever previously been. Also set the Auto-Grow to be at least 20% of its current size.
    4. Detach the database and perform a file-level defragmentation of the MDF and LDF files (e.g. use the SYSINTERNALS contig.exe application). Then reattach the database.

  3. Database Transaction Log - Unless you have a dedicated SQL Server DBA, we recommend using the "Simple" recovery model and then do a scheduled full backup of the database every evening into the SQL Server .BAK file format. Not only does this make sure you have a reliable backup in place, it will also make sure that your transaction does not grow uncontrollably, which will degrade performance.

  4. Antivirus Software - Make sure that your antivirus software on both the web server and database server excludes the folders in use by the system. For web servers that would be the C:\Program Files\SpiraXXXX folder and the C:\Windows\Microsoft.NET folders. For database servers that would be the location of the Spira/KronoDesk MDF/LDF files as well as the master MDF/LDF files.

  5. Web Browsers - Performance will be suboptimal with older browsers such as IE7/8. We recommend using the latest versions of IE, Firefox, Chrome, Safari or Opera.

  6. Adware/Spyware - Have your users check to make sure that they don't have any web browser extensions installed that contain adware/spyware that will interfere with the application, sadly this is becoming an all-too common cause of issues. Try running the browser in "safe" mode with non extensions running to see if it makes a difference.

  7. Firewalls/Proxies - Sometimes appliances/devices on your network such as firewalls or proxy servers can intercept the AJAX web traffic between our application and the server. You can use the Net tab of most modern browsers' development tools (e.g. Firebug in Firefox) to view the requests. If you see certain requests being delayed, then a device on your network could be the cause.

  8. Network Latency - The speed of the network between the web browser and the server will have a large impact on performance. We recommend first using traceroute to see the general path that web requests are taking and then use the web browsers' Net tab to see how long web requests are individually taking. One option for slower networks would be to turn on IIS compression for static and dynamic content.

  9. Virtual Machines (VMs) - Whilst we do use VMs at Inflectra, and they are 100% supported, we have found for maximum IIS and database performance that physical machines are better. So if you are using VMs and items 1-8 haven't helped, please try installing the application on a physical machine to see if that improves things. If you are using a VM, make sure that the underlying physical machine is sufficiently powered and that the VM has been granted sufficient resources (RAM, # CPUs, #cores, etc.)
Article Info
Last Updated: 7/25/2014
Article ID: KB76
# Views: 2358
Powered by KronoDesk v1.1.0.15 | © Copyright Inflectra Corporation 2011-2016 | Licensed to Inflectra Corporation.