Issue #5200 has been updated by Nigel Kersten.

Description updated
Status changed from Unreviewed to Needs More Information
Assignee set to Nick Lewis

Nick, didn't this get resolved when we had the same issue with class -> class 
relationships and the Whit implementation was meant to solve it?


----------------------------------------
Bug #5200: Many-to-many implementation of stages needlessly inefficient
https://projects.puppetlabs.com/issues/5200

Author: Markus Roberts
Status: Needs More Information
Priority: Normal
Assignee: Nick Lewis
Category: performance
Target version: 2.7.x
Affected Puppet version: 2.6.0
Keywords: 
Branch: 


Trevor Vaughan reports:

<blockquote>
Stages appear, by default, to generate a many-to-many dependency graph.

By adding 'pre' and 'post' stages that contain a single item, the graphs are 
vastly reduced in complexity and we're seeing something like a 3X speedup in 
graph execution in simple test cases.

I've attached a couple of puppet files illustrating the issue with their 
associated graphs.

If the graphs could be auto-reduced to a single point prior to execution 
automatically, it would be quite helpful.
</blockquote>

I believe the savings could be even greater in complex situations.  We had 
discussed addressing this internally by creating a whit (null resource) but the 
idea apparently did not make it into code.  It should be an easy win.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to