[Bug 287872] 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 #2 from Eugene Grosbein <[email protected]> ---
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.
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.