From owner-freebsd-net@freebsd.org Sun Jan 24 07:17:15 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 73445A8F19D for ; Sun, 24 Jan 2016 07:17:15 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: from mail-lf0-x22f.google.com (mail-lf0-x22f.google.com [IPv6:2a00:1450:4010:c07::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EE74A19B3 for ; Sun, 24 Jan 2016 07:17:14 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: by mail-lf0-x22f.google.com with SMTP id 17so68388539lfz.1 for ; Sat, 23 Jan 2016 23:17:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=qTml7klnHnm/ZpszCpyeM2ay7E2P2TAuEAk2OoPpLjc=; b=Vvq+C8SNVtoZ2FfyWlt8xRYvx4EJ1GiwhD5bIfunjAbkqlqez1aYqmhs56lw+cZHzY 8BoC/Dhe7Jl1T5lzX0ZXsijW9N+2JhPdGugXr9I+jXYQvpNLXvioVxbdNRm9ODwYxsbb hGI9GWpzSkTkklHEogoP+Uyg3na7JuS/0tpRPc5UCzyfXCIkHZjQzAjwFAPfkYKbgcMk 9A4y9tydeIIElrYf575ElnQKyn6wiKKRJpHH0Uo5jdVdQfAq6geLHs0saA8nRBZG8D2G hG1ASc5iMeYEShMSSXtiyAeBI1+VsFdIoSVZhDmvtv5RVMKjCVJiABQ6kHE1N66jVN76 Xezg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=qTml7klnHnm/ZpszCpyeM2ay7E2P2TAuEAk2OoPpLjc=; b=eNvNXunzEgsoWtQG4zkQxGZiYeu4c2u2+PAMFkawGSScWr3Jtz6EFK3xf9JPUvr5BS 6f9sTxMyAVObQHLJQ1JtViDgjO5q2wZ1lUMONar73pryvxXy05ldCoN+UxTqIIxiaOku +pOHDQftuJ6NsMIiBBVrIHYQTDKAAy1SjeOAaZjy+9zYDGt8B3YbVIw9l05+kJuguez4 6Vb5KxWfT4Ts+Rf38gzqupLSFo2xpFOWsHqSxpMvfGD7Ek5SO9FXHduPEs8D0YL9yVxe 3wIn30FCtILsNyZq+sncTet2uiP1ZBBQL1tlLWa2K/9rjPXzKKlH4pMysdoFfdtbnqm9 O5VQ== X-Gm-Message-State: AG10YOQ5nK8iS1cVlnDPK5VRrMZk5c3g1sb5qXKb2GMGtFtyvMey6AoiD3twfs95gOqAWaefPYSW+HGIlNI71g== MIME-Version: 1.0 X-Received: by 10.25.143.17 with SMTP id r17mr4204537lfd.37.1453619833110; Sat, 23 Jan 2016 23:17:13 -0800 (PST) Sender: rizzo.unipi@gmail.com Received: by 10.114.4.232 with HTTP; Sat, 23 Jan 2016 23:17:13 -0800 (PST) In-Reply-To: <20160124070056.4EC5CA0126@smtp.hushmail.com> References: <20160124042830.3D674A0128@smtp.hushmail.com> <20160124070056.4EC5CA0126@smtp.hushmail.com> Date: Sat, 23 Jan 2016 23:17:13 -0800 X-Google-Sender-Auth: eB1Eep0LMRq-jwDjdZ5FU7riI9M Message-ID: Subject: Re: solved: Re: Chelsio T520-SO-CR low performance (netmap tested) for RX From: Luigi Rizzo To: Marcus Cenzatti Cc: "freebsd-net@freebsd.org" , Navdeep Parhar Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jan 2016 07:17:15 -0000 On Sat, Jan 23, 2016 at 11:00 PM, Marcus Cenzatti wrote: > > > On 1/24/2016 at 3:33 AM, "Luigi Rizzo" wrote: ... > ok here it is > > this lowered pps rate to 9.4Mpps on chelsio (we had 11Mpps with defaul len) and lowered rates to 14Mpps on sender (we had 14.8Mpps before). see the other email from navdeep, he suggests to try -l 62 because the chelsio saves the packet with a 2-byte offset into the buffer (it puzzles me a bit that it does so also in netmap mode though). cheers luigi