From owner-freebsd-net@FreeBSD.ORG Tue May 21 09:25:17 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 308A246A for ; Tue, 21 May 2013 09:25:17 +0000 (UTC) (envelope-from liujie@263.net) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 15FC41C3 for ; Tue, 21 May 2013 09:25:16 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Ueiom-0003UL-6G for freebsd-net@freebsd.org; Tue, 21 May 2013 02:25:16 -0700 Date: Tue, 21 May 2013 02:25:16 -0700 (PDT) From: liujie To: freebsd-net@freebsd.org Message-ID: <1369128316187-5813643.post@n5.nabble.com> In-Reply-To: References: <1369036008085-5813346.post@n5.nabble.com> <2F381156-B29B-4ED9-B7C4-CC1C629ABF6A@sfc.wide.ad.jp> <1369110371922-5813589.post@n5.nabble.com> Subject: Re: netmap bridge can tranmit big packet in line rate ? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 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, 21 May 2013 09:25:17 -0000 Hi, Prof.Luigi RIZZO Firstly i should thank you for netmap. I tried to send a e-mail to you yestoday, but it was rejected. I used two machines to test netmap bridge. all with i7-2600 cpu and intel 82599 dual-interfaces card. One worked as sender and receiver with pkt-gen, the other worked as bridge with bridge.c. as you said,I feeled comfous too when i saw the big packet performance dropped, i tried to change the memory parameters of netmap(netmap_mem1.c netmap_mem2.c),but it seemed that can not resove the problem. 60-byte packet send 14882289 pps recv 13994753 pps 124-byte send 8445770 pps recv 7628942 pps 252-byte send 4529819 pps recv 3757843 pps 508-byte send 2350815 pps recv 1645647 pps 1514-byte send 814288 pps recv 489133 pps sender command: pkt-gen -i ix0 -t 500000000 -l 60 receiver command: pkt-gen -i ix1 -r 500000000 bridge(other machine) command:bridge -i ix0 -i ix1 can sender and receiver on a same machine ? thank you for your reply. -- View this message in context: http://freebsd.1045724.n5.nabble.com/netmap-bridge-can-tranmit-big-packet-in-line-rate-tp5813346p5813643.html Sent from the freebsd-net mailing list archive at Nabble.com.