From owner-freebsd-net@FreeBSD.ORG Tue Jul 1 02:38:21 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 D75521065674 for ; Tue, 1 Jul 2008 02:38:21 +0000 (UTC) (envelope-from paul@gtcomm.net) Received: from atlas.gtcomm.net (atlas.gtcomm.net [67.215.15.242]) by mx1.freebsd.org (Postfix) with ESMTP id ABFB98FC0A for ; Tue, 1 Jul 2008 02:38:21 +0000 (UTC) (envelope-from paul@gtcomm.net) Received: from c-76-108-179-28.hsd1.fl.comcast.net ([76.108.179.28] helo=[192.168.1.6]) by atlas.gtcomm.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1KDVhi-0005NJ-E0; Mon, 30 Jun 2008 22:34:50 -0400 Message-ID: <48699915.4020804@gtcomm.net> Date: Mon, 30 Jun 2008 22:40:21 -0400 From: Paul User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Ingo Flaschberger References: <4867420D.7090406@gtcomm.net> <200806301944.m5UJifJD081781@lava.sentex.ca> <20080701004346.GA3898@stlux503.dsto.defence.gov.au> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, "Wilkinson, Alex" Subject: Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp] 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: Tue, 01 Jul 2008 02:38:21 -0000 Well it's supposed to, but it doesn't seem to do it as well as it should :> How about copying header direct DMA from NIC into cache, then copy from cache into output NIC after applying whatever filters/changes/etc? Ingo Flaschberger wrote: > Dear Alex, > >> >OK, I setup 2 boxes on either end of a RELENG_7 box from about May >> >7th just now, to see with 2 boxes blasting across it how it would >> >work. *However*, this is with no firewall loaded and, I must enable >> >ip fast forwarding. Without that enabled, the box just falls over. >> >> What is "ip fast forwarding" ? > > instead of copying the while ip packet into system memory, only the ip > header is copyied and then in a "fast" path determined if it could be > fast forwarded. > if possible, a ned header is created at the other network-cards-buffer > and the ip-data is copied from network-card-buffer to > network-card-buffer directly. > > Kind regards, > Ingo Flaschberger > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >