[Bug 287872] 14.3-STABLE boot time regression related to netlink and devd

[email protected]
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287872

--- Comment #14 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=6d3bc576abbd84f736d917f5bfec4e3fe7e6c125

commit 6d3bc576abbd84f736d917f5bfec4e3fe7e6c125
Author:     Eugene Grosbein <[email protected]>
AuthorDate: 2025-07-01 14:13:10 +0000
Commit:     Eugene Grosbein <[email protected]>
CommitDate: 2025-07-01 14:13:10 +0000

    libexec/rc: improve performance of pccard_ether script

    Replace "ifconfig -ul" with "ifconfig -n" because netlink-enabled
    /sbin/ifconfig utility has sub-optimal performance for listing.

    Combined with the commit b1b17432aa1be670564161232d110461a5dde4ce,
    these changes mostly eliminate performance regression of the command
    "service devd start" for a system having hundreds of network interfaces
    created before devd starts, after FreeBSD 14+ switched
    /sbin/ifconfig to netlink(4)

    PR:             287872
    MFC-after:      2 weeks

 libexec/rc/network.subr | 20 ++++++++++++++++++++
 libexec/rc/pccard_ether | 17 +++++++++--------
 2 files changed, 29 insertions(+), 8 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.