Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jun 2025 10:42:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 287872] boot time regression related to netlink and devd
Message-ID:  <bug-287872-7501-r55Nf8SyLn@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-287872-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-287872-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287872

--- Comment #2 from Eugene Grosbein <eugen@freebsd.org> ---
Also, I observe bad performance of the command ifconfig while the host has 814
network interfaces in total, including vlans:

# time ifconfig -l > /dev/null

real    0m0,836s
user    0m0,001s
sys     0m0,001s

# time ifconfig lo0 > /dev/null

real    0m0,840s
user    0m0,000s
sys     0m0,008s

ifconfig does many netlink calls:

# kdump -Ep 15771 | fgrep -c AF_NETLINK
165

devd runs many extra scripts and I suspect O(N^2) or even O(N^3) complexity of
devd starting sequence where N is total amount of vlans created before devd
starts.

-- 
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-287872-7501-r55Nf8SyLn>