From owner-freebsd-net@FreeBSD.ORG Tue May 21 07:40:17 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0E026C37 for ; Tue, 21 May 2013 07:40:17 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com [209.85.217.175]) by mx1.freebsd.org (Postfix) with ESMTP id 8C3807D5 for ; Tue, 21 May 2013 07:40:16 +0000 (UTC) Received: by mail-lb0-f175.google.com with SMTP id v10so415098lbd.20 for ; Tue, 21 May 2013 00:40:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=1PNARcyw0BSm/0mXwGLX38+kAFHeS6LpHiKlH5YEH1k=; b=eVvvp/D68wf0+us0QHIiwnwdSUQOpLO3qBhTbZh03EWg+axrXnP+V3YutQm3QgBPFw InJl7ntg0FZU+FQqojw6F7YvIIa+bxL1TgBrGeSH+H9owNP2/mVEJCW09lR4WMeK5zEf kp8Ngi06DfjIIDDndTQuAJW/K4T55NoSHCA2A8rbPealokcmUZMlLW9fNrEKhMlHhlmH m1pM1gHJcqyGQ2e1Ey5XzCpXizwqjWtkj4Mb6lh3NrUkztSiGdk6KWYKkv+ziGPxs8C8 nqtXBqhq7XukXgf4q5LuQ8K4pPgnFdBhXuECbmVd74UtJusNH4mxyp/NobtkdkKvELC+ NXsw== MIME-Version: 1.0 X-Received: by 10.112.169.72 with SMTP id ac8mr813940lbc.115.1369122015192; Tue, 21 May 2013 00:40:15 -0700 (PDT) Sender: rizzo.unipi@gmail.com Received: by 10.114.175.137 with HTTP; Tue, 21 May 2013 00:40:15 -0700 (PDT) In-Reply-To: <1369110371922-5813589.post@n5.nabble.com> References: <1369036008085-5813346.post@n5.nabble.com> <2F381156-B29B-4ED9-B7C4-CC1C629ABF6A@sfc.wide.ad.jp> <1369110371922-5813589.post@n5.nabble.com> Date: Tue, 21 May 2013 09:40:15 +0200 X-Google-Sender-Auth: jRJyLm_AulLNOYlNsJs7vn2Zoig Message-ID: Subject: Re: netmap bridge can tranmit big packet in line rate ? From: Luigi Rizzo To: liujie Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-net@freebsd.org" 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 07:40:17 -0000 On Tue, May 21, 2013 at 6:26 AM, liujie wrote: > My hardware setup is: > CPU: i7 2600,MEM:16G NETWORK: intel 82599 OS:freebsd 9.1 > when the packet size increases,the transmit rate drops. 1518-byte packet > can > only transmit about 80% > you should really tell us what numbers you see with various packet sizes, and whether you measure on the sender or on the receiver or on the bridge (you say "using netmap bridge to transmit..." which makes it unclear where you are making the measurements, whether you are using two machines or one, etc. 60-byte packets is the most challenging configuration for netmap, if you get line rate there then there is no reason not to go as fast with larger packets. > can you tell me your hardware setup ? > do you have any modification to bridge.c and netmap ? > nothing different from the ones in the FreeBSD tree, and we used it on a variety of different machines including test an i7-820 i think cheers luigi > > thanks for your reply. > > > > > -- > View this message in context: > http://freebsd.1045724.n5.nabble.com/netmap-bridge-can-tranmit-big-packet-in-line-rate-tp5813346p5813589.html > Sent from the freebsd-net mailing list archive at Nabble.com. > _______________________________________________ > 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" > -- -----------------------------------------+------------------------------- Prof. Luigi RIZZO, rizzo@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL +39-050-2211611 . via Diotisalvi 2 Mobile +39-338-6809875 . 56122 PISA (Italy) -----------------------------------------+-------------------------------