[Bug 287873] bad performance of devd(8) in stable/14 due to its hyperv.conf
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287873] bad performance of devd(8) in stable/14 due to its hyperv.conf"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287873] bad performance of devd(8) in stable/14 due to its hyperv.conf"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287873] bad performance of devd(8) in stable/14 due to its hyperv.conf"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287873] bad performance of devd(8) in stable/14 due to its hyperv.conf"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287873] bad performance of devd(8) in stable/14 due to its hyperv.conf"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287873] bad performance of devd(8) in stable/14 due to its hyperv.conf"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287873] bad performance of devd(8) in stable/14 due to its hyperv.conf"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 287873] bad performance of devd(8) in stable/14 due to its hyperv.conf"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 28 Jun 2025 11:45:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287873
Bug ID: 287873
Summary: bad performance of devd(8) in stable/14 due to its
hyperv.conf
Product: Base System
Version: 14.3-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: eugen@freebsd.org
CC: imp@FreeBSD.org, sephe@freebsd.org
"service devd start" runs awfully slow (over 17 minutes in my case) for bare
metal server having lots of vlans (800+) created with custom rc.d script before
start of devd.
Part of the problem is in /sbin/ifconfig's inefficiency if it uses netlink in
14.3-STABLE but another part is in the /etc/devd/hyperv.conf that has the
following:
notify 10 {
match "system" "ETHERNET";
match "type" "IFATTACH";
action "/usr/libexec/hyperv/hyperv_vfattach $subsystem 0";
};
So, devd needlessly calls /usr/libexec/hyperv/hyperv_vfattach for every vlan
created with bare metal server.
For additional details please take a look at
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287872
--
You are receiving this mail because:
You are the assignee for the bug.