Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Matt Bliss 176 posts 234 karma points c-trib
    Jun 15, 2012 @ 11:52
    Matt Bliss
    1

    v4.7.2 Serious Performance Problem

    I have a site set up using Umbraco v4.7.2 and the following packages:

    • umbraco v 4.7.2 (Assembly version: 1.0.4500.21031)
    • uComponents v3.0
    • Umbraco Contour v1.1.11
    • Google Maps for Umbraco v2.0.2
    • Tea Commerce v1.4.1.2
    The site is setup on Windows 7 Professional running IIS version 7.5.7600.16385 with a quad core i5 2.66GHz CPU and 8 GB of RAM.
    With the above spec processor usage for a single page view should bearly register an increase, however I am seeing the following behaviour:
    Front End
    A single page view on this site causes all four cores of the processor to raise to 30% for about 30 seconds (while the html part of the prepared to send to the browser) and then stick at 100% for at least a further 30 seconds (while the CSS and JavaScript resources are prepared to send to the browser). Total page load time is typically around the 80 seconds mark (see image below)

    The above usage is for a single page load on the front end of the site.
    Back end
    If I load the back end of Umbraco up then I see similar issues. To login to the back end of Umbraco takes about 2 minutes and the processor is locked at 100% for a good minute of that time, once logged in leaving the Umbraco interface loaded in the browser, but without any user interaction the processor usage spikes at arround 80% on a regular interval of exactly 1 minute. See below:

    Questions
    • Has anyone else seen this behaviour?
    • Any suggestions of where I should be looking for the cause of this?
  • Jamie Howarth 306 posts 773 karma points c-trib
    Jun 15, 2012 @ 12:17
    Jamie Howarth
    0

    Try the following:

    1) Download the debug symbols from Codeplex for Umbaco and dump them into your /bin folder.

    2) Begin a performance analysis with Visual Studio (if you have Pro or Ultimate edition, I think).

    The performance analysis shows you exactly which thread is causing your lockup, and when you drill down into it, which methods are being called as part of the render process.

    Best,

    Benjamin

  • Matt Bliss 176 posts 234 karma points c-trib
    Jun 15, 2012 @ 12:33
    Matt Bliss
    0

    Hi Benjamin,

    I don't have Pro or Ultimate, just Visual Studio Express, but I will go looking for the debug symbols now.

    Many thanks,
    Matt

  • Jamie Howarth 306 posts 773 karma points c-trib
    Jun 15, 2012 @ 12:34
    Jamie Howarth
    1

    Ah. In which case I'm gonna shoot round to venue now - gimme 20 minutes :-)

    Adding debug symbols on their own will slow first load of the site, cause it has to match symbols to DLLs, so only do it if you plan on walking through the compiled Umbraco DLLs anyway.

    See you in a tick,

    B

  • Matt Bliss 176 posts 234 karma points c-trib
    Jun 15, 2012 @ 12:43
    Matt Bliss
    0

    Sorry I'm not at Code Garden, would take more than a tick to shoot round!

    Based on your comment above, I'll hold of on the debug symbols (not 100% sure what I was looking for anyway)

    Thanks,
    Matt

     

     

  • Joel Thiesen 2 posts 23 karma points
    Jun 16, 2012 @ 18:23
    Joel Thiesen
    1

    Oh no!  They might kill 4.7.2 too because it is too slow!  Get ready for version 3.0.

  • Rodion Novoselov 694 posts 859 karma points
    Jun 22, 2012 @ 16:00
    Rodion Novoselov
    0

    Hi. As the first step I would try to view the page with "?umbDebugShowTrace=1" and inspect the timings to find out what stage of the whole page's lifecycle takes so long.

    BTW, high CPU load itself is not always a bad thing as long as meanwhile the application itself keeps running fast (however, as I got it it's not the case here) - on the contrary too low CPU load can often point to some serious problems like excessive I/O, deadlocks, etc.

  • Matt Bliss 176 posts 234 karma points c-trib
    Jun 25, 2012 @ 17:15
    Matt Bliss
    2

    Thanks Rodion,

    I had tried the debug trace but it didn't show any part of the page as being slow and I didn't recognise the very obvious significance of this (That Umbraco wasn't taking up the time) until I was pointed to the solution to the problem from outside of this forum (Many thanks to Brendan Rice for pointing me in the right direction).

    The site had a whole stack of URL redirect rules and the performance issue was with the URL redirect module not with the Umbraco site (http://blog.kurtschindler.net/post/urlrewritingnet-performance-issues) so I've commented out all the rules and the performance issues have just vanished. I've not tried the alternative approach mentioned in the Kurt's blog entry, the redirects are historical and so could be ditched, but I wanted to post the cause / solution here in case it helps anyone else.

    Matt

Please Sign in or register to post replies

Write your reply to:

Draft