Date: Wed, 16 Aug 2017 03:00:35 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 221552] [PATCH] sysutils/rubygem-facter runs extremely slow on non ec2 virtual machines Message-ID: <bug-221552-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221552 Bug ID: 221552 Summary: [PATCH] sysutils/rubygem-facter runs extremely slow on non ec2 virtual machines Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: robak@freebsd.org Reporter: jim+freebsd@pirzyk.org Keywords: patch Assignee: robak@freebsd.org Flags: maintainer-feedback?(robak@freebsd.org) Created attachment 185469 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D185469&action= =3Dedit Add make config option to remove ec2 facts the latest rubygem-facter (2.5.0) tries to communicate with a Amazon web pa= ge (169.254.169.254) for any virtual machine of type xen or kvm. On my RootBSD VPS we see this timing: pirzyk@stitch:~/tmp 2>time facter > /dev/null=20 real 7m43.22s user 0m0.25s sys 0m0.11s After the attached patch is applied the timings return to normal: pirzyk@stitch:~/tmp 3>time facter > /dev/null real 0m0.34s user 0m0.21s sys 0m0.12s The patch add an option to remove the ec2 facts from the facter install, following the same steps available to remove the zfs/zpool facts. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221552-13>