Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jun 2023 11:20:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 263604] ifconfig: Low performance with many interface/IP
Message-ID:  <bug-263604-7501-GXJFVqF4KL@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-263604-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-263604-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=3D263604

--- Comment #10 from Andrey Linkevich <dl@CyberPunk.ru> ---
Colleagues, Alexander, Good day!

I see that in HEAD ifconfig uses qsort() in the new list_interfaces_nl() us=
ing
netlink. The netlink protocol appeared in FreeBSD 13.2.

Unfortunately, our servers are currently using the current 12-STABLE. We ha=
ve
quite a lot of optimizations there for ourselves. This does not make it eas=
y to
transfer the configuration to FreeBSD-13/14 for test netlink.

There are plans, but it's not fast. As soon as we move in this direction, I
will immediately conduct a test and inform you. Thanks!


I will add that the path proposed in review D35144 would hardly suit us. The
reason is a "broken phone": the problem was stated as "many interfaces", and
solved as "many addresses on the interface". It's not the same thing.
The main thing is that they removed my patch, which might have helped someo=
ne
in a similar situation.

Your method (qsort) probably solves our problem, but we can't check it yet.
Please forgive me!

Good luck.

--=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-263604-7501-GXJFVqF4KL>