From owner-freebsd-net Tue Oct 26 21:12:31 1999 Delivered-To: freebsd-net@freebsd.org Received: from lestat.nas.nasa.gov (lestat.nas.nasa.gov [129.99.33.127]) by hub.freebsd.org (Postfix) with ESMTP id 17A8414CAA for ; Tue, 26 Oct 1999 21:12:29 -0700 (PDT) (envelope-from thorpej@lestat.nas.nasa.gov) Received: from lestat (localhost [127.0.0.1]) by lestat.nas.nasa.gov (8.8.8/8.6.12) with ESMTP id VAA08719; Tue, 26 Oct 1999 21:11:53 -0700 (PDT) Message-Id: <199910270411.VAA08719@lestat.nas.nasa.gov> To: itojun@iijlab.net Cc: jayanth , Alex Rousskov , freebsd-net@FreeBSD.ORG Subject: Re: TCP throughput vs number of aliases Reply-To: Jason Thorpe From: Jason Thorpe Date: Tue, 26 Oct 1999 21:11:52 -0700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 27 Oct 1999 09:56:57 +0900 itojun@iijlab.net wrote: > > >The code in ip_input.c seems to step through the list of all > >ip addresses for that interface. It is probably stepping thro' all the > >alias addresses > >I wonder if that is the problem. > > One possible solution for this is implemented in KAME IPv6 stack, > for IPv6 only. We may want to port that part to IPv4 if it is common > to have more than 500 interface addresses onto a host. Thor Simon solved this problem in NetBSD quite some time ago by putting in_ifaddrs in a hash table. His application was, in fact, a web server with hundreds of IP addresses. -- Jason R. Thorpe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message