MSF Agile 5.0 Build Reports Extremely Slow

Respondida MSF Agile 5.0 Build Reports Extremely Slow

  • vendredi 11 mai 2012 17:04
     
     

    Hello,

    I am currently having an issue with all the default build reports in the Agile template taking a very long time to load anytime I try to run them. There are several projects with builds that I try to run the reports for. The reports will take 10 minutes at the minimum to load, or timeout before they are done loading. I've tried editing the parameters of the report to only populate within a small time frame and for a single build, but still no luck. The only time I can get the reports to pull up quickly is for a project that does not have any builds.

    Some of the projects are running daily and nightly builds, as well as gated. So some of them have a lot of builds that have run over the last several months. Other reports that hit the warehouse run just fine. The warehouse and cube are processing successfully as they should. I've tried running the reports during off-hours as well with no luck.

    Anyone have any idea on how I can optimize these build reports? We are in the process of moving more teams onto our TFS 2010 server, so there is about to be a lot more builds running.

    Let me know if there are more details I can provide to help.

    Thanks,

    Patrick

Toutes les réponses

  • lundi 14 mai 2012 09:11
    Modérateur
     
     

    Hi Patrick, 

    Thanks for your post.

    According your description, other reports(not build report type) all run fine, so this issue only happened in build reports.

    As you said that there have a lot of builds that have run over the last several months, you didn’t create the Retention Policy in Build Definition to delete builds periodically?

    I suggest you try to delete the unneeded builds from your TFS 2010 Server, then rebuild the Warehouse and Cube, open the build reports again to check the result.

    Do you also have lots of builds in your CMMI team project? If yes, open the build reports(which under CMMI team project) work normally or still slow? 

    And when the build report open slowly, please check the CPU/Memory performance on the SSRS machine.    


    John Qiao [MSFT]
    MSDN Community Support | Feedback to us

  • lundi 14 mai 2012 09:46
     
     
    We have similar issues with the CMMI Build Summary report. We have 65 build definitions, each with a maximum of 10 builds. We do not destroy build details. But we've also found that this report os very prone to slowdowns. Other (CMMI Build Quality Indicators for example) reports which use the same dimension works just fine.

    My blog: blog.jessehouwing.nl

  • lundi 14 mai 2012 16:59
     
     

    Thanks for your reply. I should have mentioned that all of our builds have retention policies set. They range from keeping the latest 3-15 successful builds. I believe it is the same scenario which Jesse mentioned in that we do not destroy the build details. Also we do not have any CMMI projects. I have verified that when I try to run one of the build reports, the memory does not spike on the SSRS server (app tier).

    I would also like to mention that our TFS instance is running on new servers, so the hardware is not the bottleneck. 

    So far the only thing that would make sense to resolve this would be to destroy the history of all builds. That however seems like complete overkill to me. Our teams will not want to lose their history of builds. 

    Thank you for your continued support.

    Patrick

  • mardi 15 mai 2012 09:50
    Modérateur
     
     

    Hi Patrick, 

    Thanks for your reply.

    Can you create another Team Project(Agile 5.0) under the same Team Project Collection with your current Team Project? If yes, please create it to do a test: create the build definitions in this new team project and queue them, then check build reports performance in it, work normally or slowly?     


    John Qiao [MSFT]
    MSDN Community Support | Feedback to us

  • mardi 15 mai 2012 09:51
    Modérateur
     
     

    Hi Jess, 

    Thanks for your reply.

    If you have any further research of this issue, please share your experience here.        


    John Qiao [MSFT]
    MSDN Community Support | Feedback to us

  • mardi 15 mai 2012 11:35
     
     
    The admin is troubleshooting our warehouse as soon as I have something I'll be able to share privately. @John Qiao, can I take this out of the forums and contact you or someone on the team directly?

    My blog: blog.jessehouwing.nl

  • mardi 15 mai 2012 17:44
     
     

    Ok when I create a new project and have just a couple of builds that ran, the report generates more quickly. Takes about 30-60 seconds. Same goes for an existing project when I filter down to a single day and single build definition. However, running that report filtered like that provides zero value. Even when i set the filter options to be a single build for a week, it takes several minutes to run. And if i try for a larger time span or multiple build definitions to get comparisons, it takes considerably longer.

    Thanks,

    Patrick

  • mardi 15 mai 2012 18:02
     
     
    We're seeing the same thing.

    My blog: blog.jessehouwing.nl

  • mercredi 16 mai 2012 18:49
     
     

    Hi,

    There are several tips for improving performance in Reporting Services here:

    Performance (Reporting Services)
    http://msdn.microsoft.com/en-us/library/bb522786(v=sql.100)

    Thanks,

    Cathy Miller

  • mercredi 16 mai 2012 23:23
     
     

    Thanks Cathy. However, if the issue was with reporting services performance, wouldn't the other reports be slow too? The issue seems to be with the build reports themselves. It is unclear to me whether the issue resides in the build reports themselves not being written to handle large scale TFS projects, or if the issue is with how the cube and warehouse handle the build details.

    Patrick

  • jeudi 17 mai 2012 09:18
     
     

    hi Cathy,

    I kind of understand why this was moved to this forum, but I don't really agree with the reasoning. We're talking (in our case) about a by the book multi tier TFS installation with a report server on its own box. All reports are quick and we have problems with one of the reports. The build summary report.

    This report and the queries are default as provided with TFS and we would expect them to be investigated and improved by the TFS team if they proved unresponsive or ineffecient.


    My blog: blog.jessehouwing.nl

  • mardi 29 mai 2012 17:55
     
     Traitée

    Hi guys,

    After consulting with some other TFS folks internally, I have found there may be an issue specifically related to the Build Summary Report. I would recommend opening a support case to investigate to see if your experience is due to the same problem.

    Issues that are related to product defects are no charge incidents. http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone

    Meanwhile, I will get this thread moved back to the TFS Reporting forum as soon as possible.

    Thanks for your patience,

    Cathy Miller

    • Proposé comme réponse russweb vendredi 30 novembre 2012 18:08
    • Marqué comme réponse Patrick B Cahill vendredi 30 novembre 2012 18:10
    •  
  • jeudi 2 mai 2013 22:53
     
     
    We encounter the same problem with Build Summary report as well. Does MS have this fix in the report? Or are there other way to improve the performance?
  • vendredi 3 mai 2013 07:51
     
     

    We were experiencing this exact issue. Upgrading to TFS 2010 SP1 resolved a lot of the performance issues. And Microsoft supplied an updated version of the report to us, which has better optimized queries.

    Contact Microsoft Support directly and open a support ticket and they should be able to send you the updated report files.


    My blog: blog.jessehouwing.nl

  • vendredi 3 mai 2013 16:17
     
     

    Very nice. We're already upgraded ours to SP1 but don't have the updated version of the report.

    We'll contact them, thanks Jesse.