I was very interested in testing some of the updates to the Parallel Extensions to .NET that have been included with the new Visual Studio 2010 CTP. Since it is hard to test some of the features without actually having multiple CPUs I wanted to update the VS2010 CTP virtual machine to be a VMWare virtual machine. I updated the VM by importing it into VMWare Workstation but I was still having the issue where I could not see more than one CPU.
The odd thing was that Windows Server 2008 itself could see both virtual CPUs:
But in TaskManager it clearly wasn’t using both CPUs:
I kept searching on Google and I was finding references to updating the Hardware Abstraction Layer (HAL), but I was having problems finding out how to do this in Windows Server 2008. Finally I found an article that pointed me to MsConfig:
And in MsConfig go into the Boot tab:
And then to the Advanced Options:
Then all you have to do is check the “detect HAL” checkbox. Windows will tell you that you need to reboot, and once you do:
There you have it! I can now run the Parallel Extensions with multiple CPUs. This fix was so hard for me to discover that I hope this helps someone out!
Loved the article? Hated it? Didn’t even read it?
We’d love to hear from you.