On Sep 28, 2010, at 12:15 PM, Nigel Kersten wrote:
> Have we been able to come up with any use cases other than packages
> where combining offers a benefit?

Mount resources.

A customer has around 800 static mount resources modeled in the catalog and 
each resource takes roughly 2 to 3 seconds to manage.  Quite a long time for 
each puppet run.

I haven't dove into the code or system calls on this yet, but it was reported 
to me the mount resource executes mount twice for each resource which triggers 
a boatload of NFS RPC calls each invocation.

If we could just look at /proc/mounts once up front, then batch all of the out 
of sync resources together and then provide the option to call mount -a rather 
than N mount commands it might end up being much more efficient.

-Jeff

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" 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-dev?hl=en.

Reply via email to