From owner-freebsd-net@FreeBSD.ORG Wed Oct 1 08:42:37 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 C6BE3303 for ; Wed, 1 Oct 2014 08:42:37 +0000 (UTC) Received: from mail-oi0-x234.google.com (mail-oi0-x234.google.com [IPv6:2607:f8b0:4003:c06::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 94E8EE8B for ; Wed, 1 Oct 2014 08:42:37 +0000 (UTC) Received: by mail-oi0-f52.google.com with SMTP id a3so243880oib.25 for ; Wed, 01 Oct 2014 01:42:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:cc:content-type; bh=QwtrdoUuJhbWFPv+Sz7AoR1qNC+BV9r8G6jHVKQKQHs=; b=s0yH8A6yxPnzhW2xxjWnyVrTT14v3WFhnGEF6Ik8YMDyrT/QH0554strIAjnFK43lZ C9x4eY13UekfnJ3DXurS5bRdi6YPnjUg2NXGYwFF1GA4hZ4DlrOgLk+X0qIEu0ZKs5M6 2sCHsuRws7E3lsoj7cGtWl8qLUVelREkUVCAqcRhQixJbchwNgu1OUXGOfo1mZzNJJKv cOtpMAORjI2Bp9E7XlqUgcDsGuBnbbFfis5nJrHs3c0N/RPPOukcsuzhOUno8TnDpZYV l3bDXIZ6mFHYWACiGFhkBo+/cxTrFr7fgXkT1civOyRPZfO9+BX/6XNfZOy+giBAjrDH mjhw== X-Received: by 10.182.52.197 with SMTP id v5mr10109159obo.85.1412152956905; Wed, 01 Oct 2014 01:42:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.34.105 with HTTP; Wed, 1 Oct 2014 01:42:06 -0700 (PDT) From: Long Tran Date: Wed, 1 Oct 2014 03:42:06 -0500 Message-ID: Subject: Netmap - Packet generating performance changes To: FreeBSD Net Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "Gurkan, Deniz" 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: Wed, 01 Oct 2014 08:42:37 -0000 Hello, I am experimenting netmap and see one strange behavior. When I am generating packets using pkt-gen example from PC1 to PC2, the rate is about 3Mpps. But when I run pkg-gen -f rx -i p1p1 from PC2, the generating rate in PC1 goes up to 14.66Mpps. I thought the performance of netmap in one PC didn't depend on the other end. Could anyone help explain it to me please? Thanks, *Long Tran* Research Assistant MS in Network Communications and Technology Project Management University of Houston