From owner-freebsd-net@FreeBSD.ORG Tue Mar 2 14:24:11 2004 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 731C916A4CF; Tue, 2 Mar 2004 14:24:11 -0800 (PST) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9596943D31; Tue, 2 Mar 2004 14:24:10 -0800 (PST) (envelope-from glebius@cell.sick.ru) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.12.9/8.12.8) with ESMTP id i22MO7QE029458 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 3 Mar 2004 01:24:08 +0300 (MSK) (envelope-from glebius@cell.sick.ru) Received: (from glebius@localhost) by cell.sick.ru (8.12.9/8.12.6/Submit) id i22MO6sT029457; Wed, 3 Mar 2004 01:24:06 +0300 (MSK) Date: Wed, 3 Mar 2004 01:24:06 +0300 From: Gleb Smirnoff To: Randy Bush Message-ID: <20040302222406.GA29412@cell.sick.ru> Mail-Followup-To: Gleb Smirnoff , Randy Bush , Andre Oppermann , Wes Peters , freebsd-net@freebsd.org, freebsd-current@freebsd.org, Kris Kennaway References: <20040302031625.GA4061@scylla.towardex.com> <20040302042957.GH3841@saboteur.dek.spc.org> <20040302082625.GE22985@cell.sick.ru> <20040302084321.GA21729@xor.obsecurity.org> <20040302085556.GA23734@cell.sick.ru> <20040302092825.GD884@saboteur.dek.spc.org> <20040302095134.GA24078@cell.sick.ru> <40449B8E.A48B39B0@freebsd.org> <20040302160902.GB26977@cell.sick.ru> <200403022216.i22MGVQE029400@cell.sick.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200403022216.i22MGVQE029400@cell.sick.ru> User-Agent: Mutt/1.5.6i cc: Kris Kennaway cc: freebsd-current@freebsd.org cc: Andre Oppermann cc: freebsd-net@freebsd.org Subject: Re: My planned work on networking stack 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: Tue, 02 Mar 2004 22:24:11 -0000 On Tue, Mar 02, 2004 at 02:16:13PM -0800, Randy Bush wrote: R> > I do not insist that AS pathes in kernel are good idea. If you R> > show me an other way to get AS information when constructing R> > netflow exports in kernel, I'd be thankful. R> R> do we need to rediscover why flow export places a large processor R> burden on criscos, junipers, prockets, ...? Not because of AS path info, definitely. Netflow does route lookup anyway to get nexthop and route masks. If route lookup will return a pointer to a structure with one more field it will not introduce ant additional load. My experience shows, that most load in flow processing is caused by: 1) memory allocation, 2) expiry lookups. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE