Execute indepenent dsc steps in parallel
Votes from Connect: 3
Original Date Submitted: 6/8/2015 2:40:45 PM
Site Name: PowerShell
Feedback ID: 1411231
At the moment all dsc resources are executed serially. given that dependencies are allready specified, it would in theory be safe to execute steps in parallel.
I'm guessing this is planned at some point but i could really use a way to enable parallel execution because I'm using dsc to spin up test environments with a bunch of services and having those being set up in parallel would speed things up considerably.
Product Studio item created by Connect Synchronizer due to creation of feedback ID 1411231 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=1411231).
Internal BugId: 14550
You could solve Alexander Boersch's concerns by
* Adding a MaxNumThreads setting to limit how many resources are installed simultaneously
* Adding a Parallel setting to enable/disable parallel installation of resources
* Adding a setting to enable parallel "Sets" only on first run
Alexander Boersch commented
This could potentially be problematic as monitoring tools would now be reporting full CPU load for a periodic period. People monitoring this would find it hard to distinguish this from true peaks in CPU load. This could in turn lead to oversized resources etc. If this is implemented the appropriate monitoring tool support would be needed.