From owner-freebsd-net@FreeBSD.ORG Thu Oct 9 08:06:04 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3304519E for ; Thu, 9 Oct 2014 08:06:04 +0000 (UTC) Received: from COL004-OMC2S4.hotmail.com (col004-omc2s4.hotmail.com [65.55.34.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0CB5676E for ; Thu, 9 Oct 2014 08:06:03 +0000 (UTC) Received: from COL127-W25 ([65.55.34.73]) by COL004-OMC2S4.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Thu, 9 Oct 2014 01:05:57 -0700 X-TMN: [ImwByoH6lLhIsIZCCmSBaGQwEj306CU3] X-Originating-Email: [deco33000@hotmail.com] Message-ID: From: Jog Lie To: Subject: Netmap. Example to understand? Date: Thu, 9 Oct 2014 10:05:56 +0200 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 09 Oct 2014 08:05:57.0165 (UTC) FILETIME=[DB0CCDD0:01CFE397] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-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: Thu, 09 Oct 2014 08:06:04 -0000 Hello I have three boxes running linux or freebsd. A is a loadbalancer to b and c. Same network. A has three nics: one for internet=2C one connected with B and one connecte= d with C to avoid another switch for a small configuration. I wish to understand how netmap can help me saturating a 10Gbit link with a= i7 3930k (could be replaced by something less powerful if netmap allow big= perf jump). How can i select the nic to which i wish to send the packet? The read write= pattern is not clear to me. Will netfilter be completely bypassed hence ac= hieving high perf? I am in need for an example mates. Thanks a lot Bye =