Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...thread optimization for app poolthread optimization for app pool
Previous
 
Next
New Post
6/17/2015 4:37 PM
 
we are running 4.0 or 4.5 framework and many of the items use a template loaded in disk IO. I want to make sure I optimize my website so that there are not threads waiting to be freed up if I can set the size larger.

I looked in web.config, machine.config, aspnet.config, regedit, app pool IIS GUI and see zero settings for this.

I have reviewed this site http://stackoverflow.com/questions/12304691/why-are-iis-threads-so-precious-as-compared-to-regular-clr-threads

which seems to say put that code into aspnet.config although he doesn't say that.

reading Microsoft site on that config entry it says the default = 0 and I am guessing that I don't see it anywhere then it may be = 0 in my website.
0 = unlimited

does anyone have any experience on setting this or how to tell what value the website is currently using?
 
New Post
6/17/2015 5:05 PM
 
It sounds to me like you are about to fiddle with a poorly understood and barely documented setting. Do you have *any* reason to believe that there is a problem with your site that this might help with?

In particular unless you have a reasonable number of requests (say 5-10 or more) being processed *genuinely* simultaneously over a sustained period I'd be willing to bet money that fiddling with anything to do with threads will have no measurable effect.

I have no data on what might be a normal turn round time for a web request on your site, but let's guess it's about 200mS. So without any parallelism that's 5 per second. Processing 5 in parallel would be 25 per second. On those numbers you probably need to be hitting 1500 requests in your peak minute to make it worth even getting out of bed for.

I'd recommend doing some measurement first. After that - if the disk IO time gave me cause for concern - I'd probably look to cache the template long before looking at threads.

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
6/17/2015 5:23 PM
 
I am not gonna fiddle with anything until I can see where a setting is and even then I would only do so on our test servers.
main thing I would like to know is if I am correct in my current setting being =0 by default or is it set somewhere I haven't looked.

I am just in our initial phase of trying to optimize from a slowdown that creeped up on us over the last few months. there are a few things we are looking at and this was just a question I have that I don't know the answer to yet.
 
New Post
6/17/2015 7:09 PM
 
Fair comment. I *still* say that the first step in optimization is measurement. You need to find out where the time goes. Then you can judge if the time consumed is reasonable and attackable.

It may be that the I/O time is only 1% of the turnaround time. Even if a massive effort made the I/O ten times faster it would probably go completely un-noticed.

Measure first.

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...thread optimization for app poolthread optimization for app pool


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out