Issue #2179 has been updated by Simon Deziel.

Bernhard Schmidt wrote:
> 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

This suggested approach will probably not work on recent Fedora versions. See 
http://fedoraproject.org/wiki/Features/ConsistentNetworkDeviceNaming for 
details.
----------------------------------------
Bug #2179: IP support calls 'ip' and 'ifconfig' ridiculous numbers of times
https://projects.puppetlabs.com/issues/2179

Author: Luke Kanies
Status: Accepted
Priority: High
Assignee: Ken Barber
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.

Reply via email to