add-memberalign-toparrow-leftarrow-rightbellblockcalendarcamerachatchevron-leftchevron-rightchevron-small-downchevron-upcircle-with-crosscomposecrossfacebookflagfolderglobegoogleimagesinstagramkeylocation-pinmedalmoremuplabelShape 3 + Rectangle 1pagepersonpluspollsImported LayersImported LayersImported LayersshieldstartwitterwinbackClosewinbackCompletewinbackDiscountyahoo

FW: ASP.NET & Parallel FX question

From: Daniel C.
Sent on: Friday, January 4, 2008 1:39 PM

For those who asked about ParallelFx and how it might work with ASP.NET.  Not sure if I captured your question correctly but here is the exchange I had.  Hope this helps.


From: Joe Duffy [mailto:[address removed]]
Sent: Friday, January 04,[masked]:37 PM
To: Daniel Chait
Cc: Keith Yedlin; Ed Essey
Subject: RE: ASP.NET & Parallel FX question


Hi Daniel,


Keith forwarded me your question below.


It sounds like you’re referring to an ASP.NET app set up as a web garden.  This is a special mode in which ASP.NET will use a separate affinitized process per-CPU, rather than the default of a single process that runs the website with many threads on all CPUs.  See "Web Gardens" here for more info:  The member who asked the question may have configured the web garden incorrectly if only 50% utilization is seen: for example, if he has set the CPU affinity mask incorrectly (to something other than 0xffffffff) then some CPUs may not be used at all.  Unless he's sure he needs to use a web garden configuration, I would recommend sticking with the default.


In any case, Parallel Extensions will respect affinitization and cannot scale beyond a single-CPU when run in such processes.  It will behave as though the code is being run on a single-CPU machine, and will not increase the maximum possible utilization.


I hope this helps.  Let me know if there are any additional questions, and feel free to put the member directly in touch with me if he is still having problems.




From: Daniel Chait [mailto:[address removed]]
Sent: Tuesday, December 18,[masked]:39 PM
To: Keith Yedlin; Ed Essey
Subject: ASP.NET & Parallel FX question


Hey guys,


As you may know I run the New York .NET Meetup group.  Today at our December meetup I presented briefly on ParallelFX and one of our members raised a question I did not know the answer to.  Was wondering if you could shed some light & I could pass it along to our group?


The question was, since ASP.NET applications display processor affinity, (how) does TPL allow for multi-proc programming from within an ASP.NET application.  His experience is that he cannot get more than 50% utilization on a dual-proc machine without running 2 instances of his ASP.NET app and wondered if TPL would get past that.


NOTE: I am not an ASP.NET expert, this was just how it was described to me by our group member.


Thanks in advance for any guidance you guys can offer.





Daniel Chait
Co-Founder and Managing Director

Lab49, Inc.
11 Broadway
New York, NY  10004

Mobile : +1 (917)[masked]
Office : +1 (212)[masked] x2732
Fax : +1 (646)[masked]
Email : [address removed]



People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy