Configure webgarden, DOT NET Programming

Assignment Help:

How do we configure "WebGarden"?

The process model configured the "Web garden" settings in the "machine.config" or in the "Web.config" file. The configuration section is named as and is shown  below in the following example. This process model is enabled by default (enable="true").

Below is the snippet from config file.

enable="true" timeout="infinite" idleTimeout="infinite" shutdownTimeout="0:00:05" requestLimit="infinite" requestQueueLimit="5000" memoryLimit="80" webGarden="false" cpuMask="12"

userName="" password="" logLevel="errors"

clientConnectedCheck="0:00:05"

/>

The processmodel section above for the web garden, we are concerned with only two attributes namely "webgarden" and "cpuMask".

WebGarden :- The webgarden Controls the CPU affinity. The True indicates that the processes should be affinitized to the corresponding CPU. Therefore the default is False.

cpuMask:- This  Specifies which of the processors on a multiprocessor server are eligible to run the ASP.NET processes. The cpuMask value specifies a bit pattern that indicates the CPU is eligible to run the ASP.NET threads. The ASP.NET launches one worker process for every eligible CPU. If the webGarden is set to false, the cpuMask is ignored and only one worker of the process will run regardless of the number of processors in the machine. If the webGarden is set to true, the ASP.NET launches one worker process for every CPU that corresponds to a set bit in the cpuMask. The default value of cpuMask is always 0xffffffff.

The main steps of how to implement web garden are as follows:

  • At first click the Start button and then click Run.
  • Now Type calc.exe and then click OK.
  • After that go to the View menu, & click the Scientific.
  • Then Go to the View menu, & click the Binary.
  • Then Use 0 and 1 to specify the processors ASP.NET can or cannot be use.

Now Use 1 for the processor that you want to use for the ASP.NET. And Use 0 for the processor that you do not want to use for the ASP.NET. For e.g., if you want to use the first 2  processors for the  ASP.NET of a 4-processor computer, type 1100.

1)On the View menu, click the Decimal. Note the decimal number and keep in mind.

2)Open the Web.config or machine.config file in a text editor like  Notepad. The Web.config file is located in a  folder where the application is saved.

3)In the Web.config file, add the processModel configuration element under the System.web element. Now Before adding to Web.config file, the user  has to make sure that the allow Definition attribute in the section of the Web.config file is fixed  to everywhere.

4)Add and set the webGarden attribute of the processModel element to True.

5)Add and set the cpuMask attribute of the processModel element to the result that is determined in your calculation.

enable="true" webGarden="true" cpuMask="12" />


Related Discussions:- Configure webgarden

Daemon threads, What are Daemon threads? Daemon thread's run in the bac...

What are Daemon threads? Daemon thread's run in the background and stop automatically when nothing is running program. The Example of a Daemon thread is the "Garbage collector"

I need help in web application that will run stand alone, I need help in We...

I need help in Web application that will run stand alone in IIS (MS SQL) 2 activities / Tasks Code web user management module (create user, assign license, simple authorizati

Prepare an application in c# or c++, Prepare an Application in C# or C++ ...

Prepare an Application in C# or C++ Project Description: We are seeking someone who can write a program in C# or C++. The concept is to develop the program using a Cross P

Static chart diagrams, Describe all elements in Static Chart diagrams. ...

Describe all elements in Static Chart diagrams. Package: - The Package logically groups element of a UML model. Class: - The Class describes all set of objects with

Flexible in rapidly moving from project to project, This is a whole time co...

This is a whole time contractual role working for a sports advisory service. We are data insights consultancy specializing in sports. We consult to a number of sporting organizatio

I need a custom project - c# developer, Project Description: My project ...

Project Description: My project is to construct for me an application that emulates the http requests made in a webapp. It will need a lot of dedication and skill in C#,.net,

C# application creates a minimal student enrolment system, This assignment ...

This assignment is about writing a C# application that creates a minimal student enrolment system. The application will display lists of papers and students. The user can enrol stu

How does output caching work in asp.net, How does output caching work in AS...

How does output caching work in ASP.NET?    Output caching is a powerful method that enhances request/response throughput by caching the content generated from dynamic pages. O

How many types of assemblies are, How many types of assemblies are there? ...

How many types of assemblies are there? Private, Public/Shared, Satellite. A private assembly is normally used by a one application, and is stored in the application's director

What is plinq, What is PLINQ? PLINQ stands for Parallel Language Integr...

What is PLINQ? PLINQ stands for Parallel Language Integrated Query. It is the parallel execution of LINQ, in which a query can be implemented by using multiple processors. PLIN

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd