From owner-freebsd-net@FreeBSD.ORG Fri Nov 14 10:47:08 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16A9E16A4CE for ; Fri, 14 Nov 2003 10:47:08 -0800 (PST) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F94643F85 for ; Fri, 14 Nov 2003 10:47:07 -0800 (PST) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.9/8.12.3) with ESMTP id hAEIl2OT003236; Fri, 14 Nov 2003 10:47:02 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.9/8.12.3/Submit) id hAEIl1f5003234; Fri, 14 Nov 2003 10:47:01 -0800 Date: Fri, 14 Nov 2003 10:47:01 -0800 From: Brooks Davis To: "."@babolo.ru Message-ID: <20031114184700.GC28455@Odin.AC.HMC.Edu> References: <1068806299.210616.7785.nullmailer@cicuta.babolo.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kVXhAStRUZ/+rrGn" Content-Disposition: inline In-Reply-To: <1068806299.210616.7785.nullmailer@cicuta.babolo.ru> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu cc: freebsd-net@freebsd.org Subject: Re: what about 5000 .. 10000 VLANs in one system? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Nov 2003 18:47:08 -0000 --kVXhAStRUZ/+rrGn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 14, 2003 at 01:38:19PM +0300, "."@babolo.ru wrote: >=20 > I remember that VLAN tag has 12 bits :-) >=20 > I need in system with 5000 .. 10000 VLAN > interfaces on 2 .. 6 physical ethernets. >=20 > Does anybody has such expienence? > Stability? Performance? I think is should work, but performance may be poor. Currently, vlan_input() finds the correct vlan by searching the list of all vlans until it finds the correct one. For that many vlans, it might be necessicary to modify the code to use some form of balanced tree instead of a simple list. This should be fairly straight forward to fix. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --kVXhAStRUZ/+rrGn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/tSMjXY6L6fI4GtQRAjDmAJ42Q3egeyFVtFb+NZWH6+EIVKJWRgCgklla TaQ8sUBYgojfOjQ3n3CMECI= =pu7r -----END PGP SIGNATURE----- --kVXhAStRUZ/+rrGn--