Issue #2179 has been updated by Bernhard Schmidt.
One could also improve a lot using faster APIs where possible, for example by reading from /sys/class/net/ethx/address instead of executing ifconfig -a and searching for a MAC address on Linux platforms. IPv6 addresses could be fetched in /proc/net/if_inet6. ---------------------------------------- Bug #2179: IP support calls 'ip' and 'ifconfig' ridiculous numbers of times https://projects.puppetlabs.com/issues/2179 Author: Luke Kanies Status: Re-opened Priority: High Assignee: Markus Roberts Category: library Target version: 1.7.0 Keywords: caching, ifconfig, interfaces Branch: Affected Facter version: I've got a client who says that they're each being called something like 1500 times, and Facter is taking 25% of the total run time. I am going to try to get a quick caching system in place for 1.5.5, but we can bump it if we have to. -- 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.
