Re: Webserver with 2 processors
- From: "RayAll" <RayAll@xxxxxxxxxxxx>
- Date: Mon, 18 Apr 2005 13:17:53 -0700
Jaun,
Can you do me a favour ??
I a going to submit this post in a completely different thread with a new ID
called "RezaA".Can u re-write your answer for that? I so appreciate it.I
will get a lunch as I bet with my firend on what I claim;-)
Thanks
"Juan T. Llibre" <nomailreplies@xxxxxxxxxxx> wrote in message
news:uAGDeLFRFHA.248@xxxxxxxxxxxxxxxxxxxxxxx
> The cpuMask setting, if set to higher than one,
> only works when there's more than one processor.
>
> Webgardening must be enabled if cpuMask is to be used.
>
> If you leave it at the default setting, only one CPU will be used.
>
>
>
>
> Juan T. Llibre
> ASP.NET MVP
> http://asp.net.do/foros/
> Foros de ASP.NET en Español
> Ven, y hablemos de ASP.NET...
> ======================
>
> "RayAll" <RayAll@xxxxxxxxxxxx> wrote in message
> news:eqzQjFFRFHA.4028@xxxxxxxxxxxxxxxxxxxxxxx
>> Juan,
>>
>> If I have my application pooled by IIS and that application pool uses
>> only one worker process and webgardening is off, the article says that :
>>
>> "Indicates that CPU usage is scheduled by the Windows operating system.
>> The cpuMask attribute is ignored and only one worker process will run.
>> The default is false."
>>
>> Is in this case other CPUs used or workerprocess is bound to one CPU
>> only?
>>
>> Thanks
>
>> "Juan T. Llibre" <nomailreplies@xxxxxxxxxxx> wrote in message
>> news:uNTNOAFRFHA.1564@xxxxxxxxxxxxxxxxxxxxxxx
>>>I hate to nitpick [ no, I don't ... ;-) ]
>>> but you will *always* be in an application pool,
>>> regardless of whether you are in an IIS5 AppPool,
>>> or ins an IIS6 AppPool.
>>>
>>> The key thing is that that applies *only* to IIS 6 AppPools.
>>>
>>> The rest of your premises are correct.
>>>
>>> re:
>>>> Thanks
>>>
>>> You're very much welcome... ;-)
>>>
>>>
>>>
>>> Juan T. Llibre
>>> ASP.NET MVP
>>> http://asp.net.do/foros/
>>> Foros de ASP.NET en Español
>>> Ven, y hablemos de ASP.NET...
>>> ======================
>>>
>>> "RayAll" <RayAll@xxxxxxxxxxxx> wrote in message
>>> news:umbzk4ERFHA.3076@xxxxxxxxxxxxxxxxxxxxxxx
>>>>> That only applies when using IIS 6.0 application pooling.
>>>>
>>>> I'm using IIS 6.0 as well.So it means that my application is always
>>>> under an application pool ,even if there are 3 workerprocesses defined
>>>> in that application pool,there shouldn't be any problem using session
>>>> states because any request would be redirecteded to the appropriate
>>>> workerprocess and session state is kept.
>>>>
>>>> Thanks
>>>
>>>> "Juan T. Llibre" <nomailreplies@xxxxxxxxxxx> wrote in message
>>>> news:u62D8AERFHA.3716@xxxxxxxxxxxxxxxxxxxxxxx
>>>>> That only applies when using IIS 6.0 application pooling.
>>>>>
>>>>> In IIS 5.0 isolation mode, you can have
>>>>> only as many worker processes as CPUs.
>>>>>
>>>>> In worker process isolation mode,
>>>>> multiple CPUs can service a single worker process.
>>>>>
>>>>>
>>>>>
>>>>> Juan T. Llibre
>>>>> ASP.NET MVP
>>>>> http://asp.net.do/foros/
>>>>> Foros de ASP.NET en Español
>>>>> Ven, y hablemos de ASP.NET...
>>>>> ======================
>>>>>
>>>>> "RayAll" <RayAll@xxxxxxxxxxxx> wrote in message
>>>>> news:%23KSsriDRFHA.3880@xxxxxxxxxxxxxxxxxxxxxxx
>>>>>> oh,I forgot to ask something.
>>>>>>
>>>>>> In the article you introduced,it says that if I don't close the
>>>>>> connection,it means that the requests are always sent back to the
>>>>>> right process.I think this dose solve the problem of Inproc session
>>>>>> state,but I have no idea how good or bad is to keep the connection
>>>>>> alive and not close it ,I don't know which connection it is talking
>>>>>> about and generally it's supposed to be closed or left open!!!???
>>>>>>
>>>>>>
>>>>>> Thanks
>>>>>> "Juan T. Llibre" <nomailreplies@xxxxxxxxxxx> wrote in message
>>>>>> news:OTDFuv3QFHA.2680@xxxxxxxxxxxxxxxxxxxxxxx
>>>>>>> Exactly.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Juan T. Llibre
>>>>>>> ASP.NET MVP
>>>>>>> http://asp.net.do/foros/
>>>>>>> Foros de ASP.NET en Español
>>>>>>> Ven, y hablemos de ASP.NET...
>>>>>>> ======================
>>>>>>>
>>>>>>> "Ray5531" <Ray5531@xxxxxxxxxxxxx> wrote in message
>>>>>>> news:OwKFGj3QFHA.612@xxxxxxxxxxxxxxxxxxxxxxx
>>>>>>>> So I'd like to confirm this one as well,thanks .
>>>>>>>>
>>>>>>>> Whn there is 2 worker processors on a machine which has two
>>>>>>>> processors,one request from user#1 to the application might be
>>>>>>>> handed over to workerproccess#1 and the next request from the same
>>>>>>>> user might be handed over to the Workerprocess#2. Right? I think
>>>>>>>> that's why Inproc session state is not working in this scenario.
>>>>>>>>
>>>>>>>>
>>>>>>>> Thanks for your help
>>>>>>>> "Juan T. Llibre" <nomailreplies@xxxxxxxxxxx> wrote in message
>>>>>>>> news:urIiw0nQFHA.4092@xxxxxxxxxxxxxxxxxxxxxxx
>>>>>>>>> Exactly.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Juan T. Llibre
>>>>>>>>> ASP.NET MVP
>>>>>>>>> http://asp.net.do/foros/
>>>>>>>>> Foros de ASP.NET en Español
>>>>>>>>> Ven, y hablemos de ASP.NET...
>>>>>>>>> ======================
>>>>>>>>>
>>>>>>>>> "Ray5531" <Ray5531@xxxxxxxxxxxxx> wrote in message
>>>>>>>>> news:uqUlEYjQFHA.612@xxxxxxxxxxxxxxxxxxxxxxx
>>>>>>>>>> So, you mean that if their application is set to use both cpus it
>>>>>>>>>> mean there should be 2 workerproceesses to take advantage of
>>>>>>>>>> having 2 processors in the web server and with such a
>>>>>>>>>> configuration Inproc seesion management(using session variables)
>>>>>>>>>> don't work. Am I right?
>>>>>>>>>>
>>>>>>>>>> Thanks
>>>>>>>>>
>>>>>>>>>> "Juan T. Llibre" <nomailreplies@xxxxxxxxxxx> wrote in message
>>>>>>>>>> news:O2AvtnhQFHA.2876@xxxxxxxxxxxxxxxxxxxxxxx
>>>>>>>>>>> You'll need to use either State Server or SQL Server state
>>>>>>>>>>> management
>>>>>>>>>>> if you turn on the web garden feature, since ASP.NET is no
>>>>>>>>>>> longer
>>>>>>>>>>> tied down to a single processor and/or a single process.
>>>>>>>>>>>
>>>>>>>>>>> State management has nothing to do with the number of processors
>>>>>>>>>>> a server has, except for needing out-of-process state
>>>>>>>>>>> management,
>>>>>>>>>>> but you do need to be careful with your configuration.
>>>>>>>>>>>
>>>>>>>>>>> If you want all processors to share ASP.NET tasks,
>>>>>>>>>>> you should turn the webGarden mask, in the processModel to true.
>>>>>>>>>>>
>>>>>>>>>>> You will also need to set the cpuMask="[bit mask]"
>>>>>>>>>>> to set the number of CPUs available for ASP.NET processes
>>>>>>>>>>> (webGarden must be set to true if the bit mask is set)
>>>>>>>>>>>
>>>>>>>>>>> If you want to use IIS 6.0 application pooling, make sure the
>>>>>>>>>>> application keeps a connection open so that its requests are
>>>>>>>>>>> sent back to the appropriate process.
>>>>>>>>>>>
>>>>>>>>>>> See :
>>>>>>>>>>> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconperformanceapplicationpoolsettings.asp
>>>>>>>>>>> and see
>>>>>>>>>>> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/gngrfProcessmodelSection.asp
>>>>>>>>>>> for the cpu mask settings.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Juan T. Llibre
>>>>>>>>>>> ASP.NET MVP
>>>>>>>>>>> http://asp.net.do/foros/
>>>>>>>>>>> Foros de ASP.NET en Español
>>>>>>>>>>> Ven, y hablemos de ASP.NET...
>>>>>>>>>>> ======================
>>>>>>>>>>>
>>>>>>>>>>> "RayAll" <RayAll@xxxxxxxxxxxx> wrote in message
>>>>>>>>>>> news:OfRI1ZgQFHA.1396@xxxxxxxxxxxxxxxxxxxxxxx
>>>>>>>>>>>> I'm having a webserver with 2 processors .I read an article
>>>>>>>>>>>> somewhere that state mamangement on 2 processors in an ASP.NET
>>>>>>>>>>>> application is different with one processor.Is that right?
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
.
- References:
- Webserver with 2 processors
- From: RayAll
- Re: Webserver with 2 processors
- From: Juan T. Llibre
- Re: Webserver with 2 processors
- From: Ray5531
- Re: Webserver with 2 processors
- From: Juan T. Llibre
- Re: Webserver with 2 processors
- From: Ray5531
- Re: Webserver with 2 processors
- From: Juan T. Llibre
- Re: Webserver with 2 processors
- From: RayAll
- Re: Webserver with 2 processors
- From: Juan T. Llibre
- Re: Webserver with 2 processors
- From: RayAll
- Re: Webserver with 2 processors
- From: Juan T. Llibre
- Re: Webserver with 2 processors
- From: RayAll
- Re: Webserver with 2 processors
- From: Juan T. Llibre
- Webserver with 2 processors
- Prev by Date: Re: Fullscreen Mode
- Next by Date: Dual CPU and Webgardening
- Previous by thread: Re: Webserver with 2 processors
- Next by thread: question on "true image resizing" article
- Index(es):
Relevant Pages
|