[Insight-developers] Visual Studio 2012+ Parallelism

Matt McCormick matt.mccormick at kitware.com
Mon Feb 10 10:53:00 EST 2014


Hi Brad,

My understanding is that this flag can be very helpful for speeding
things up when the system can handle it, but it is not on by default,
because, from the article "The downside is that the IDE will still
perform target level parallelism along with object level parallelism
which can lead to excessive parallelism grinding your machine and GUI
to a halt."

Thanks,
Matt

On Mon, Feb 10, 2014 at 9:30 AM, Bradley Lowekamp
<blowekamp at mail.nih.gov> wrote:
> Hello,
>
> I just added the "/MP" flag to my "Win32-VS11-Release-Shared"[1] build, based on information from reading Kitware blog entry entitled "CMake: building with all your cores"[3]. Adding this flag changed the build time from 5h47min to 1hr10min . I don't recall having to do this before with VS10, VS9, has something changed with these more recent Visual Studios?
>
> The system is running on a VM, allocated 4 cores and 16GB of memory. Many of the VS11/VS12 build have been taking over 2hrs and a couple much longer.
>
> This chart is an indication of the excessive build time on this system:
> http://open.cdash.org/viewSite.php?siteid=8833&project=2&currenttime=1391907600
>
> Incidentally the recent VS11 builds I have setup for SimpleITK don't seem to suffer from the same issue.
>
>
>
> [1] http://open.cdash.org/buildSummary.php?buildid=3213955
> [2] http://open.cdash.org/viewNotes.php?buildid=3213955
> [3] http://www.kitware.com/blog/home/post/434
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers


More information about the Insight-developers mailing list