I've got an ASP.net page that runs a script which takes anywhere between 1 second and 10 minutes to run dependant on the parameters passed in to it.
My question is, if the server is multicore, will this script automatically make use of all the processors, or is it constricted to one.
Thanks for any help
No, the page will only run on one core.
IIS uses several threads to process requests, but it only uses one thread at a time for each request.
If you want the code to make use of more than one core, you have to start threads yourself.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With