From nobody Wed May 04 20:06:18 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 528D21AAD2D9 for ; Wed, 4 May 2022 20:06:18 +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 4Ktns604bgz3jJN for ; Wed, 4 May 2022 20:06:18 +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 D844C19646 for ; Wed, 4 May 2022 20:06:17 +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 244K6Hrn040269 for ; Wed, 4 May 2022 20:06:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 244K6HR8040268 for bugs@FreeBSD.org; Wed, 4 May 2022 20:06:17 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 20:06:18 +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: attachments.isobsolete attachments.created 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=1651694778; 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=HS+p5khJhNomJdT8OsApT7EU3tk3DJLyxDs+ILZmwXQ=; b=RRARoSWaaE9BLCUGqFuFrun4NDXnRTXkkDFl1/KJt4VkncLCBt/uCFnP1eBX3Uvaa413L5 OGaioMGZoB2xTB9IRQtGwT8GMINDa+ZH6GNGT+14N0Rw6ImRQb7n8p0ijSFYb8E3+U/xLx O/0n8T78H3MFlixNJJtAelpADs+7lUxxjcUCO+qgETeshAsEbhjypwgC/1H000bMtQZn5l JcRD+PHTXrZpoO+TP3d/GZ5L3WxLX8k17p/KtE231FAUeknuXjOLAna4CHsXHKcOb59PjH aTMCt2TcVVJNiliKLk1n3Zs1BBPvzZqfqQy10nmLpBy8O8h5iA6WkURd6MlIcg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651694778; a=rsa-sha256; cv=none; b=UEwLBgioq6UA5X3I2U1fx+XTKMxlkoylz1yhRbuIYpk8auae7YtG9kzCLgbgzJ/8v96k8S x8Zt0qSlNugK8hSa05t7uNFuIyyFAwPCpgIXbT93KjvRtzClMNbVPEVAZlyyZvOkZrb0kt gaJCSGssrGsz6VUN5TPbKzGHKXtSSsKCPtkbCUl1fu5yD4gDdOqZD6RArM3ztgVNggmlta M9XTk7d0d9LosyIbq73TMXjcA96Wy82wPi9FQ6JE4+XWfZflpt1v7Y93IUT7vNB7tUPN2v AqvYCHP0ouzcqs2NRYDaLzBh5Z2k/fduCX89b2jkUSLuPw+/y9Frv7TyKymCQg== 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 ---------------------------------------------------------------------------- Attachment #233531|0 |1 is obsolete| | --- Comment #7 from Stefan E=C3=9Fer --- Created attachment 233726 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D233726&action= =3Dedit ifconfig: limit sort by address to 32 addresses The attached patch limits the sorting to at most 32 IP addresses. The limit could be #defined (e.g. ADDR_SORT_LIMIT) to make it configurable - but I have not included such a symbolic name in the patch to keep it simple= ... --=20 You are receiving this mail because: You are the assignee for the bug.=