Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Will one ASP .Net worker process use more than one CPU?

Reply
Thread Tools

Will one ASP .Net worker process use more than one CPU?

 
 
=?Utf-8?B?Sm9obiBCYWlsZXk=?=
Guest
Posts: n/a
 
      09-10-2007
I am currently evaluating a CMS product. I like the product so far, but one
of the restrictions on the product is that it requires that the Windows 2003
application pool be restricted to one worker process. They say this is being
done to improve caching. (???)

My understanding that the way ASP .Net scales is to create one worker
process per CPU. If the number of worker processes is restricted to one,
doesn't that mean that I am not taking advantage of the other cpus on the box?

The only reason I'm familiar with to limit the number of worker processes is
to allow inproc session state. I'm not sure what benefits caching could get
from this. Any ideas on this so I might better understand what is going on
would be appreciated.
 
Reply With Quote
 
 
 
 
bruce barker
Guest
Posts: n/a
 
      09-10-2007
an worker process uses threads, and these threads will run on more than
1 proc. your cms product must use an in-memory cache, that restricts it
to one worker process. it must be unmanaged memory, or it would
restricted to one app domain (one web site).


-- bruce (sqlwork.com)





John Bailey wrote:
> I am currently evaluating a CMS product. I like the product so far, but one
> of the restrictions on the product is that it requires that the Windows 2003
> application pool be restricted to one worker process. They say this is being
> done to improve caching. (???)
>
> My understanding that the way ASP .Net scales is to create one worker
> process per CPU. If the number of worker processes is restricted to one,
> doesn't that mean that I am not taking advantage of the other cpus on the box?
>
> The only reason I'm familiar with to limit the number of worker processes is
> to allow inproc session state. I'm not sure what benefits caching could get
> from this. Any ideas on this so I might better understand what is going on
> would be appreciated.

 
Reply With Quote
 
 
 
 
=?Utf-8?B?Sm9obiBCYWlsZXk=?=
Guest
Posts: n/a
 
      09-14-2007
How do you figure this restriction will hurt it scaling wise. I would assume
that the default in creating one worker process per cpu has some advantages,
so I am just wondering what I am losing.

"bruce barker" wrote:

> an worker process uses threads, and these threads will run on more than
> 1 proc. your cms product must use an in-memory cache, that restricts it
> to one worker process. it must be unmanaged memory, or it would
> restricted to one app domain (one web site).
>
>
> -- bruce (sqlwork.com)
>
>
>
>
>
> John Bailey wrote:
> > I am currently evaluating a CMS product. I like the product so far, but one
> > of the restrictions on the product is that it requires that the Windows 2003
> > application pool be restricted to one worker process. They say this is being
> > done to improve caching. (???)
> >
> > My understanding that the way ASP .Net scales is to create one worker
> > process per CPU. If the number of worker processes is restricted to one,
> > doesn't that mean that I am not taking advantage of the other cpus on the box?
> >
> > The only reason I'm familiar with to limit the number of worker processes is
> > to allow inproc session state. I'm not sure what benefits caching could get
> > from this. Any ideas on this so I might better understand what is going on
> > would be appreciated.

>

 
Reply With Quote
 
=?Utf-8?B?Sm9obiBCYWlsZXk=?=
Guest
Posts: n/a
 
      09-14-2007
Isn't restricting it to one worker process the same as turning web garden
support off?

"bruce barker" wrote:

> an worker process uses threads, and these threads will run on more than
> 1 proc. your cms product must use an in-memory cache, that restricts it
> to one worker process. it must be unmanaged memory, or it would
> restricted to one app domain (one web site).
>
>
> -- bruce (sqlwork.com)
>
>
>
>
>
> John Bailey wrote:
> > I am currently evaluating a CMS product. I like the product so far, but one
> > of the restrictions on the product is that it requires that the Windows 2003
> > application pool be restricted to one worker process. They say this is being
> > done to improve caching. (???)
> >
> > My understanding that the way ASP .Net scales is to create one worker
> > process per CPU. If the number of worker processes is restricted to one,
> > doesn't that mean that I am not taking advantage of the other cpus on the box?
> >
> > The only reason I'm familiar with to limit the number of worker processes is
> > to allow inproc session state. I'm not sure what benefits caching could get
> > from this. Any ideas on this so I might better understand what is going on
> > would be appreciated.

>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to run background processes (more than 1 worker) parallely. Deepak Gole Ruby 9 12-17-2008 05:21 PM
How to get process id of hosting ASP.NET worker process ? Navin Mishra ASP .Net Web Services 0 02-07-2006 08:40 PM
[ASP.NET1.1]Should I kill the ASP.NET worker process after recompilingmy ASP.NET webservice? Andrea Raimondi ASP .Net 1 02-06-2006 08:10 AM
I can map all files (.*) to asp.net worker.How do I map NO FILE to asp.net worker? alex ASP .Net 1 02-04-2005 03:18 AM
Use of Proactive Process Recycling for worker process Henry Chen ASP .Net 0 06-10-2004 05:56 AM



Advertisments