From owner-freebsd-net@FreeBSD.ORG Mon Jul 28 20:08:41 2014 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C1B5BC3C for ; Mon, 28 Jul 2014 20:08:41 +0000 (UTC) Received: from mail-pd0-x234.google.com (mail-pd0-x234.google.com [IPv6:2607:f8b0:400e:c02::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 9DAF32B46 for ; Mon, 28 Jul 2014 20:08:41 +0000 (UTC) Received: by mail-pd0-f180.google.com with SMTP id y13so10363899pdi.25 for ; Mon, 28 Jul 2014 13:08:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=U8vP2nD1WVrQy5grC327I0SCXhvGf5GrKik6gVEBiPo=; b=mNWzxD9+5qMhG25TEFWx3tHue+XFbTYKu4zAMqhPlhfuhThSgcXRzuu0eRGReb+yPk CaZkAkwU7oQt7lG+rD49m4VXBmhHXiNe4BWc0TPzjvgacquZ1ZdC5+YpYcrVvNUAaYai R9lSh/VYimQIwnpuUfie6m2TpAlkma9vngGY/XFkcpDLeJNPQpEqY5lBavNufwDbN7kX ajCVkTdOYsXwnrneApFv58oYTuYmZeiZnxZ3hUUlVPeP1l+teXkciv1nVptffYQU3lnO Xr46qTacoyZoBU1BTcn0N2wYfAOfbaBKKXWL9jL3FKpN/Fs0NMDty4IDggMef5GfFSVp aQSg== MIME-Version: 1.0 X-Received: by 10.66.66.135 with SMTP id f7mr41599078pat.32.1406578121186; Mon, 28 Jul 2014 13:08:41 -0700 (PDT) Received: by 10.70.86.138 with HTTP; Mon, 28 Jul 2014 13:08:41 -0700 (PDT) Date: Mon, 28 Jul 2014 15:08:41 -0500 Message-ID: Subject: Adjust Ring Size From: Xiaoye Sun To: net@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jul 2014 20:08:41 -0000 Hi all, I am new to netmap. I am current running netmap on Myricom 10G NIC and Linux machine. The problem in my case is that the maximum packet rate can achieve at the receiver is about 650kpp with 1514 frame length, about 8.3Gbps (1.7 from the 10Gbps line rate). if the sender sends faster than that, the receiving speed will decrease. So I am wondering if the netmap ring size is too small for my case. Can you guys tell me how to increase the ring size? Another question is can netmap handle (send/receive) jumbo ethernet frame with 9000 frame length? If so, do I need to change the slot size? (my understanding of the slot is that it is the unit in the ring contains packet) Thanks! Best, Xiaoye -- Xiaoye Steven Sun, Ph.D. Student 6100 Main St. MS-366 Department of Electrical and Computer Engineering (ECE) & Department of Computer Science (CS) George R. Brown School of Engineering Rice University, Houston, Texas, USA