Jira (FACT-3161) Puppet facter slow down if blocklist used and gets longer

9 views
Skip to first unread message

Josh Cooper (Jira)

unread,
Oct 20, 2022, 12:45:13 PM10/20/22
to puppe...@googlegroups.com
Josh Cooper moved an issue
 
Facter / Bug FACT-3161
Puppet facter slow down if blocklist used and gets longer
Change By: Josh Cooper
Component/s: Facter 4
Component/s: Facter 4
Key: PA FACT - 4761 3161
Affects Version/s: puppet-agent 7.16.0
Project: Puppet Agent Facter
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8)
Atlassian logo

David Piekny (Jira)

unread,
Oct 20, 2022, 1:32:03 PM10/20/22
to puppe...@googlegroups.com
David Piekny updated an issue
Change By: David Piekny
Epic Link: FACT PUP - 3051 11619

Morgan Rhodes (Jira)

unread,
Dec 1, 2022, 1:13:02 PM12/1/22
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Mar 22, 2023, 1:03:01 PM3/22/23
to puppe...@googlegroups.com
Josh Cooper commented on Bug FACT-3161
 
Re: Puppet facter slow down if blocklist used and gets longer

The slowdown when running "puppet" but not facter is due to FACT-3170, which was fixed in facter 4.3.0. When testing against the latest 7.x, I don't see a slowdown so I'm going to close this as a dup. Thanks for including steps to reproduce!

# rpm -qa puppet-agent
puppet-agent-7.23.0.64.gaddb5176e-1.el7.x86_64
 
# for i in 0 1 2 4 8 16 32 64; do   echo "Blocklist items $i";   (     echo "facts : { blocklist : [ ";     for j in $(seq 1 $i); do echo "\"a$j\","; done; echo "] }";   ) > /etc/puppetlabs/facter/facter.conf;   echo "Executing 'sudo /opt/puppetlabs/bin/puppet facts | wc -l'";   time sudo /opt/puppetlabs/bin/puppet facts | wc -l; done
Blocklist items 0
Executing 'sudo /opt/puppetlabs/bin/puppet facts | wc -l'
461real    0m1.200s
user    0m0.973s
sys    0m0.209s
Blocklist items 1
Executing 'sudo /opt/puppetlabs/bin/puppet facts | wc -l'
461real    0m1.197s
user    0m1.004s
sys    0m0.178s
Blocklist items 2
Executing 'sudo /opt/puppetlabs/bin/puppet facts | wc -l'
461real    0m1.177s
user    0m0.965s
sys    0m0.198s
Blocklist items 4
Executing 'sudo /opt/puppetlabs/bin/puppet facts | wc -l'
461real    0m1.193s
user    0m0.962s
sys    0m0.217s
Blocklist items 8
Executing 'sudo /opt/puppetlabs/bin/puppet facts | wc -l'
461real    0m1.204s
user    0m0.985s
sys    0m0.205s
Blocklist items 16
Executing 'sudo /opt/puppetlabs/bin/puppet facts | wc -l'
461real    0m1.266s
user    0m1.032s
sys    0m0.220s
Blocklist items 32
Executing 'sudo /opt/puppetlabs/bin/puppet facts | wc -l'
461real    0m1.334s
user    0m1.116s
sys    0m0.205s
Blocklist items 64
Executing 'sudo /opt/puppetlabs/bin/puppet facts | wc -l'
461real    0m1.438s
user    0m1.246s
sys    0m0.178s

Reply all
Reply to author
Forward
0 new messages