Date: Tue, 26 Oct 1999 21:11:52 -0700 From: Jason Thorpe <thorpej@nas.nasa.gov> To: itojun@iijlab.net Cc: jayanth <jayanth@yahoo-inc.com>, Alex Rousskov <rousskov@ircache.net>, freebsd-net@FreeBSD.ORG Subject: Re: TCP throughput vs number of aliases Message-ID: <199910270411.VAA08719@lestat.nas.nasa.gov>
next in thread | raw e-mail | index | archive | help
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 <thorpej@nas.nasa.gov> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910270411.VAA08719>