Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Setting allocated threads per CPU

Thread Tools

Setting allocated threads per CPU

aardvark aardvark is offline
Junior Member
Join Date: Aug 2007
Posts: 1
I'm not an programmer so please excuse me if I use the wrong terminology on this.

I have an 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 ( 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?
Reply With Quote

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
threads, XSUB allocated memory, destructors, destruction Andrew Torda Perl Misc 16 10-10-2005 04:36 PM
Per packet vs per flow routing R Siffredi Cisco 8 03-24-2005 06:33 PM
Per-to-Per is OK but no ICS Jens Mander Wireless Networking 4 01-23-2005 10:24 PM
Dynamically Allocated Memory vs. Statically allocated Memory C++ 5 12-09-2004 01:44 AM
Should i select per device or per server to do all exercises? ADRENALINE MCSE 20 01-22-2004 09:20 PM