473,320 Members | 1,862 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Right value of "Maximum number of worker processes" in IIS 6.0 for a web garden?

I'd like to tune the performance of my application in a web garden.
Our server has dual processors. Is there any guideline to set this
"maximum number of worker processes" for web garden? In my
application, stress test shows that setting it to 2 gives a better
performance result. In other words, web garden helps. My first
question is if it helps to set a number larger than the number of
processors in the server. Are they related at all?

If they are not related, how is the performance negatively affected if
I set it to a very large number?

Finally, I read somewhere saying that IIS 6.0 manager settings (e.g.
this value) overrides the values set in machine.config <ProcessModel>
attributes (e.g. webGarden and cpuMask). Is that true? If it's true,
does it mean that I can keep webGarden as false and cpuMask as
0xffffffff by default?

Thanks
Dominic
Nov 18 '05 #1
1 9572
As a starting point WebGardens = #CPU or =#CPU+1 is a good starting point.
The degree to which adding more helps is highly dependent on the
implementation of the application. If the application makes a large number
of long blocking calls (e.g. long SQL/Oracle Queries), more worker processes
will help (assuming that the backend can handle the connection load). If
the application is mostly quick transactions with few (or no) blocking
calls, fewer web gardens will help.

A lot of the performance improvement that you are seeing is the effect of
decreasing contention on some of the locks (e.g. memory/heap). This helps
to a point, but eventually the context switching overhead of the additional
threads eats up more time than the contention, so you go slower. Also, for
every process, there is some amount of memory that is used up. So, the more
memory you dedicate to overhead, the less is available for other performance
enhancing features, like a large cache.
Pat
"Dominic" <do****@hotmail.com> wrote in message
news:2b**************************@posting.google.c om...
I'd like to tune the performance of my application in a web garden.
Our server has dual processors. Is there any guideline to set this
"maximum number of worker processes" for web garden? In my
application, stress test shows that setting it to 2 gives a better
performance result. In other words, web garden helps. My first
question is if it helps to set a number larger than the number of
processors in the server. Are they related at all?

If they are not related, how is the performance negatively affected if
I set it to a very large number?

Finally, I read somewhere saying that IIS 6.0 manager settings (e.g.
this value) overrides the values set in machine.config <ProcessModel>
attributes (e.g. webGarden and cpuMask). Is that true? If it's true,
does it mean that I can keep webGarden as false and cpuMask as
0xffffffff by default?

Thanks
Dominic

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Boštjan Jerko | last post by:
Hello ! I need to know if the result of math formula is nan (Not a number). How can I do that? Thanks, B.
1
by: Yannick Turgeon | last post by:
Hello all, I'm using SS 2000 and NT4 (and Access97 as front-end on another server) Well, probably by lack of knowledge about table locks, I don't really know where to start to present this...
16
by: John Baker | last post by:
Hi: I know this is a strange question, but I have inherited a system where files are copied and records re auto numbered (as an index field) )frequently, and I am wondering how high the number...
0
by: Sreedharan | last post by:
Hello everyone, I am a VC++ programmer. When i develop a multi-threaded application in C++, I prefer to use worker thread, so that the main thread and worker thread can communicate using...
3
by: Trevor Andrew | last post by:
Hi There, I have a small ASP.NET application under development. I am using VS.NET 2002 (2003 upgrade is on the way) with .NET Framework 1.1. It is hosted on a web hosting service in the US. I am...
2
by: cmay | last post by:
I have changed my config files to set the limit for files being uploaded to 30 MB, but every now and then someone tries to upload a file larger than this. All I want, is to be able to trap the...
11
by: Chris Hayes | last post by:
Greetings, I have an ASP.NET page that accepts input from an HtmlInputFile object. I have set the maximum size for HttpRequests to 2MB in the web.config file. And now I am trying to CATCH...
1
by: walterbyrd | last post by:
I understand that Python has them, but PHP doesn't. I think that is because mod_php is built into apache, but mod_python is not usually in apache. If mod_python was built into apache, would...
0
by: =?Utf-8?B?UmljYXJkbyBRdWludGFuaWxsYQ==?= | last post by:
I have an Adam (active directory application mode) instance on windows server 2003, and the server does not belong to a domain, i mean it is a standalone server. So in this context the policies...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.