More in this section

Forums / General Discussions / Server Performance

Server Performance

13 posts, 0 answered
  1. UI Crew
    UI Crew avatar
    151 posts
    Registered:
    27 Sep 2012
    03 Jun 2007
    Link to this post
    Hi all,

    Just thought I would start a thread and see if anyone has any tips on IIS/server setup for best Sitefinity performance.

    I have a Virtual Server with 512Mb RAM and separate SQL 2005.

    Running about 10 sites about 4 of wich are Sitefinity sites. They are all running in the same app pool. My users find the Admin interface a little on the slow side and I was wondering if anyone has had some success tuning the app pools and IIS for better performance.

    Cause the sites we host and highly used yet we find they pools time out and often a user will go to the site and find it takes ages to load initially.

    Cheers,

    Seth
  2. Bob
    Bob avatar
    330 posts
    Registered:
    30 Dec 2016
    04 Jun 2007
    Link to this post
    Hello Seth, 

    Please see if the following forum threads can help:
    http://www.sitefinity.com/support/forums/support-forum-thread/b1043S-meatk.aspx
    http://www.sitefinity.com/support/forums/support-forum-thread/b1043S-mdaat.aspx

    Can you tell us what exactly is slow on the admin part?
    Is it possible to examine these sites?

    Kind regards,
    Bob
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Gabe Sumner
    Gabe Sumner avatar
    440 posts
    Registered:
    09 Sep 2007
    08 Mar 2008
    Link to this post
    I can't speak for Seth, but I can tell you on www.goondocks.com I have to wait around 10 seconds each time I click a new "area" in the "Admin" interface.

    Click "Dashboard", wait 10 seconds, click "Modules", wait 10 seconds, clicks "Blogs", wait 10 seconds.  Once I click through everything it seems to perform okay. 

    When I revisit the next day though, it starts all over again...   I can certainly understand why clients would find this annoying.

    In addition, on average my homepage takes around 2 seconds to render.  This seems about 1.5 seconds too long in my opinion.

    I have an automatic run job that sends an HTTP request to my web site every 15 minutes.  This appears to keep the web site from "sleeping".  This does not appear to impact the "Admin" site however.  It also doesn't make my normal pages render as quickly as I would like.

    I would like to see my pages render in under .5 seconds.  Maybe that is unrealistic though.

    Gabe
    ==============
  4. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    11 Mar 2008
    Link to this post
    Hello Gabe,

    If you manage to make your session in Admin panel last longer, maybe you will not get this slow down. It is just IIS and .NET architecture.
    The page render depends on many things - some you can tune up, some you cannot. For example, do you know the web server load at this moment, or the network speed? The thing that you could do, maybe you already know, is that caching greatly increases the performance. Do you have caching set on your home page?

    Best wishes,
    Georgi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. Daniel L
    Daniel L avatar
    26 posts
    Registered:
    06 May 2006
    11 Mar 2008
    Link to this post
    First, be sure you enable caching on your public pages. This should make a positive impact on load time.

    Read this article - http://support.microsoft.com/kb/816517. There may be some settings you can change in Windows Server to optimize IIS performance. You might want to consider upgrading your virtual server RAM to 1GB if you have more than just your one SF site running on it.
     
    I also recommend purchasing a low-cost HTTP Keep-Alive application that requests all the pages in your site. Here's one that was built for DNN users but will work great for SiteFinity - it also has some reporting: http://www.snowcovered.com/snowcovered2/Default.aspx?tabid=242&PackageID=9749. Even if you have an HTTP request that regularly hits your homepage, other pages may still load slowly. I'm working on a Windows Service that will query the SiteFinity database for all public pages and run an http request on them. Hopefully this will give me insight into which pages load faster than others, and will keep pages loading as fast as possible at all times.
  6. Kevin Pipher
    Kevin Pipher avatar
    91 posts
    Registered:
    30 Nov 2005
    13 Mar 2008
    Link to this post
    Hi Seth,

    Another suggestion I would have for you is to precompile the website (if you aren't already).

    I used to use the Copy Website functionlity in Visual Studio, but in this way every page class, user control, etc. will have to compile dynamically on demand each time a page is requested.

    I've recently added a website deployment project to my solution which allows fine grained control over the compile process.

    http://msdn2.microsoft.com/en-us/asp.net/aa336619.aspx

    After this SF does run faster, because the entire site is already compiled. It may not help as much in the admin panel because it's mostly precompiled anyway, but I still found it helps overall.

    Just a thought anyway.
  7. Gabe Sumner
    Gabe Sumner avatar
    440 posts
    Registered:
    09 Sep 2007
    26 Mar 2008
    Link to this post

    I wanted to drop a few more thoughts & details on this.

    *  My web site (www.goondocks.com) is hosted with DiscountASP.net on a shared hosting environment.  Because of this most of the IIS setting changes being proposed are not possible.

    *  Yes I have caching turned on for the homepage.  Yes it helps.  It doesn't help on sub-pages, however.  Nor does it help in the Admin section. 

    *  Precompilation does not appear to have any impact at all.  First off, it is impossible to fully pre-compile Sitefinity.  Some of the dynamic goodness requires that the *.ascx files remain.  To get this to work you have to "pre-compile" Sitefinity using the "aspnet_compiler -u" parameter...which is basically how Sitefinity already comes pre-packaged:

    http://www.sitefinity.com/support/forums/support-forum-thread/b1043S-mdaat.aspx

    -----------

    Check out the following screen-shots of a recent trace:

    http://www.goondocks.com/images/sitefinity-slow-render1.jpg
    http://www.goondocks.com/images/sitefinity-slow-render2.jpg

    I guess the core question for me is; what on earth is happening that it would require 25+ seconds to render an admin page?  In that second screen shot, that is the "Forums Admin Module".  Goondocks doesn't have any forums setup.  It's take 25+ seconds to render....nothing.

    Once Sitefinity calculates the answer to life, the universe, and everything it seems to perform okay.  But as mentioned, tomorrow (or a few hours later) this will start all over again.  It makes me dread logging into the "Admin" area.

    I don't understand why the "start up" costs are so high.  Furthermore, when you're on a "shared hosting" environment you will be hit with the "start up" costs A LOT!

    I would love to see Telerik produce a comprehensive "performance tips" information page.

    Gabe
    =================

  8. Gabe Sumner
    Gabe Sumner avatar
    440 posts
    Registered:
    09 Sep 2007
    28 Mar 2008
    Link to this post
    I know I'm beating the point into the ground, but here is one more screenshot:

    http://www.goondocks.com/images/sitefinity-slow-render3.jpg

    This was taken a few minutes ago when I clicked to administer the Goondocks' blog. 

    If I get some time I'm going to try to get ahold of a SQL log to see the SQL that Sitefinity/Nolics is employing to render this page. 

    Gabe
    =================
  9. Gabe Sumner
    Gabe Sumner avatar
    440 posts
    Registered:
    09 Sep 2007
    31 Mar 2008
    Link to this post
    I had originally overlooked this KB article:

    http://www.sitefinity.com/support/knowledge-base/kb-article/b1154K-mkd-b1154T-cgb.aspx

    Most of this stuff I had already done, however I had not disabled "Health Monitoring".  Doing this seems to have helped my web site's performance.

    As an aside, this past weekend I happened to be poking around my web site at around midnight.  I noticed the public web pages were very zippy.  CPU usage on my shared web server would, of course, be lower this late at night.  This would certainly validate that some of the performance problems are merely due to me sharing the CPU with other hosted customers. 

    Also, don't forget your ASP.NET basics.  Because I am now using a "CMS product", I was getting lazy about doing things that I consider essential in my own projects.  Think about what you're requiring the CPU to do.

    I went through and disabled lots of unneeded "Viewstate" in my master templates, as well as my Sitefinity pages.  Make use of page caching, where possible.  All the existing ASP.NET performance tips still apply.

    I am now more happy than I was with the performance of my web site.  It's still not great, but then again, it only cost me $10/month.  I'm hoping 3.2 will help even more with performance. 

    I remain a bit perplexed about what portions of "Admin" web site are doing.  Disabling "Health Monitoring" has certainly helped, but I can still easily produce 10+ second render times.  This proves to be the case even while using "localhost".  I can't impact much of this because it is part of the core Sitefinity product.

    Gabe
    ================
  10. Bob
    Bob avatar
    330 posts
    Registered:
    30 Dec 2016
    02 Apr 2008
    Link to this post
    Hi Gabe,

    Performance optimization and polishing all the features will be the main accent for the next major release.

    We already started adding performance counters and doing tests to identify the bottlenecks. Some of the biggest issues so far, seem to be data provider initializations. When entering the admin area for the first time, some providers are activated that are not used on the public side, such as versioning and workflow.

    As part of these optimizations we will replace Nolics with other ORM. The new ORM has not been decided yet but it will support LINQ.

    Greetings,
    Bob
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  11. Kevin Pipher
    Kevin Pipher avatar
    91 posts
    Registered:
    30 Nov 2005
    02 Apr 2008
    Link to this post
    Very Interesting note Bob, re: changing ORM.  Would love to see Sitefinity use LLBLGen Pro, which will soon to support LINQ.

    Cheers,
    Kevin.
  12. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    Registered:
    18 Jul 2012
    06 Aug 2008
    Link to this post
    I found this thread while searching the forum for optimization tips. my personal site goes down every time I try to do more than like three things in the sf admin section. Like if I login in, go do modules, blogs, and add a category, BLAM service unavailable. I'm guessing it's taxing resources. that's insane! I have healthmonitoring and workflow off, and set to not debug, what else can I do?

    it is shared hosting, but jeez discountasp does it! I don't mind if it's a bit slow on the admin side but I don't want it to shut down for gods sake...

    that being said, my vote goes for SubSonic as the DAL!!!
  13. Gabe Sumner
    Gabe Sumner avatar
    440 posts
    Registered:
    09 Sep 2007
    10 Aug 2008
    Link to this post
    Hi SelArom,

    Sorry to hear about your troubles.  It's been many months since I last commented in this thread.  I have since moved my web site away from DiscountASP.net. 

    However, I did want to say; towards the end of my hosting with DiscountASP.net my web site was performing quite well.  In a shared-hosting environment there is a lot outside your control.  It's hard to say why my web site's performance improved; but it did.

    I never encountered problems as bad as what you are describing in this thread.  Occasional slow loads; yes.  Frequent crashes; no.  It sounds like your hosting provider might have over-burdened servers.    :(

    Gabe
    ====================
Register for webinar
13 posts, 0 answered