From nobody Wed May 04 19:54:57 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 306451AAABF4 for ; Wed, 4 May 2022 19:54:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ktnc301WCz3Qtk for ; Wed, 4 May 2022 19:54:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D66A61980A for ; Wed, 4 May 2022 19:54:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 244Jswde034345 for ; Wed, 4 May 2022 19:54:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 244JswYx034344 for bugs@FreeBSD.org; Wed, 4 May 2022 19:54:58 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 263604] ifconfig: Low performance with many interface/IP Date: Wed, 04 May 2022 19:54:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: se@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651694099; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vl7Ol0DRj+fXxR09CyYyxZ7sqWyoBMpXrpRaYBH7ZlY=; b=xIfEx5nkmAFyVmlzKVjMWyMbrr2cK0pYomOlNKU41iyyx2ZGJOF1fln1UpP0cEOTFkjiZc GlYOHoJjzDtYTrzwSwI0l0eZGGWT3vgm+I1bf6CPWCgLgvH6D6f8EfVBGhFMKTWN3h799P 8AMrOU1AZJyZ3MplMQ0nd90ANzWu0IHUGoB7eztWKQjHR0RHoG0L8EdkIpWpXl2H0FuZrO mDnSybXvmqOCavwk4A5Uq3wnkc4FRXlSIXq/EssWDkuW9czAkYa1/0dtQwpe9cW1QfGl3K i/1FkdBF1YGunpH8I1hscyl+/SXhEgCnqKvlbRYNo/8C0SSZrCciCxtEiQ+G7Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651694099; a=rsa-sha256; cv=none; b=pUWLyACWrAey/jXfwxbwES5WHx1L6rRcLUduwX4KuyhZfdLt7+LO1ucGJ8zvs31BSDPeqH NK+nUknsY59Kso175uVrDyVIEJgPX32KX2X5x4edtpzW5ZO1jUvB0N79KCfRHlnRqzagTQ EEyY09moa89MSfD8OvALXWKMvJn+c007l6jy59h1D3etWxYLd/6ahtoRBsCL9Qq57UPhQo TcMvNdnYAaPBE7zgJ1NKsuam8YRwpfpXrZmtF8xt2mHenPsptNT1RhzmAsY8A6CCax1NWH uYYh3hq03s53kcLyE3EIdXwmJeWma6YuIUiKhlTscY/40a8oKvgrUPvKZC+OvQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263604 Stefan E=C3=9Fer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |se@FreeBSD.org --- Comment #6 from Stefan E=C3=9Fer --- (In reply to Ed Maste from comment #5) How about skipping the sort if there are more than a certain number of IP addresses (e.g. 16 or 32)? That would preserve the current behavior for all typical configurations, but would prevent the significant overhead caused by the sorting of very long lists. --=20 You are receiving this mail because: You are the assignee for the bug.=