From owner-freebsd-net@FreeBSD.ORG Sat Apr 5 14:37:07 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 376F91065670 for ; Sat, 5 Apr 2008 14:37:07 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.freebsd.org (Postfix) with ESMTP id 773808FC12 for ; Sat, 5 Apr 2008 14:37:06 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 2C9FCE7F22 for ; Sat, 5 Apr 2008 10:37:06 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Sat, 05 Apr 2008 10:37:06 -0400 X-Sasl-enc: ll3Suby99k+E7zbMw0dx3nJV5yTTzzeyybAQjpyKxvuN 1207406225 Received: from empiric.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id C1B4D11110 for ; Sat, 5 Apr 2008 10:37:05 -0400 (EDT) Message-ID: <47F78E90.1000706@incunabulum.net> Date: Sat, 05 Apr 2008 15:37:04 +0100 From: Bruce M Simpson User-Agent: Thunderbird 2.0.0.12 (X11/20080405) MIME-Version: 1.0 To: FreeBSD-Net mailing list Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Subject: getifaddrs() scalability X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Apr 2008 14:37:07 -0000 Just off the top of my head... =2E..has anyone run into problems with the scalability of this call? One of the XORP users needs to create =BB1000 interfaces in Linux, and I'= m=20 wondering if any FreeBSD users need to create that amount of network=20 interfaces. As such the getifaddrs() call is likely to get slow in that scenario, as = it uses a linked list. cheers BMS