IB00

I have just started testing multiprocess builds a quad core processor (Vista Home premium, VS2005 Pro, SP1). When I select 2 or more projects using Batch Build and then start the build, the projects are not compiled in parallel but rather sequentially (i.e. one after another).

The multiprocessor build works to some extent when Building or Rebuilding a solution. But even this appears to be buggy. For example, I have 7 small projects in the solution. When projects 1-4 are being built, it is possible to cancel the build. On the other hand, once the builds for projects 5-7 start then it is not possible to cancel them - I must simply wait until they finish.

Are these bugs or have I missed something From what I can see, this feature should either work or not work.

Thanks,

Ian



Re: Visual C++ General multiprocess batch build fails

einaros

Have you set the project dependencies right





Re: Visual C++ General multiprocess batch build fails

IB00

1. Changing the dependencies does not make a difference. For example, I removed all dependencies from each project in the solution. If I select "Build/Rebuild Solution", I am unable to terminate the build once the latter set of project builds begins.

2. Changing the dependies also does not make a difference for the "Batch Build". These builds are always performed sequentially and not in parallel.

Ian





Re: Visual C++ General multiprocess batch build fails

Bite Qiu - MSFT

Hi Ian,

From this MSDN article, it seems true that batch build will automatically trigger multi-processor build if "Maximum number of parallel project builds" property had been set to bigger than 1. Does this happens consistently to all solutions including those new created one If so, please fire a bug report in: http://connect.microsoft.com/visualstudio, if not, could you elaborate on the specific environment that this behavior happens

thanks in advance

rico






Re: Visual C++ General multiprocess batch build fails

IB00

Hello Rico,

I picked up my Vista computer last week and am still in test/debugging mode. I've a number of other Vista related problems to resolve so this issue will be put on the back burner until I can get to it. I will file a quick bug report and see what happens there...

I've only tested muiti-processor on solution/projects reported in my first posting. The results are consistent and suggest the multi-process build is not working properly.

My computer:

VISTA Home Premium, x64
Intel Quad CPU, 2.4GHz
NVidia GeForce 8600 GT graphics card
directX version 10.0
4Gig RAM
500Gig hard disk




Re: Visual C++ General multiprocess batch build fails

Ian00Bell

I reported this a bug to Microsoft and received the following response:

"Thanks for your feedback. We have reproduced this bug on Visual Studio 2008 Beta 2, and we are sending this bug to the appropriate group within the VisualStudio Product Team for triage and resolution. Thank you, Visual Studio Product Team."