Setting allocated threads per CPU

Joined
Aug 9, 2007
Messages
1
Reaction score
0
I'm not an asp.net programmer so please excuse me if I use the wrong terminology on this.

I have an asp.net application running on Windows 2k3 that used to be housed on a dual-CPU machine with hyperthreading. Therefore, the OS 'saw' 4 CPUs. The application doesn't require 4 CPUs, that's just what happend to be in the server we installed the application on. Recently that machine was virtualized and was given only a single CPU in the virtual environment.

After doing this the application running on that machine would crash complaining that it did not have enough MinFreeThreads (I think). Turns out that with the single CPU the system (asp.net?) was allocating 100 threads.

I then configured the virtual machine to have 2 CPUs. Now the application still crashed and I noticed that the system was allocating 200 threads.

Next I configured the virtual machine to have 4 CPUs. Now the application runs fine and I see that the system has allocated 400 threads. So, it would appear that something somewhere is allocating 100 threads per CPU. For many reasons I don't want to allocate 4 CPUs to this virtual server. Is it possible to configure my system to allocate more threads per CPU, therefore allowing me to configure the virtual machine for a single CPU?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top