From owner-freebsd-net@freebsd.org Sun Jun 28 11:19:38 2015 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 397B598E07B for ; Sun, 28 Jun 2015 11:19:38 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: from mail-la0-x22a.google.com (mail-la0-x22a.google.com [IPv6:2a00:1450:4010:c03::22a]) (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 BE8281259 for ; Sun, 28 Jun 2015 11:19:37 +0000 (UTC) (envelope-from rizzo.unipi@gmail.com) Received: by lagh6 with SMTP id h6so25428821lag.2 for ; Sun, 28 Jun 2015 04:19:35 -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:message-id:subject :from:to:cc:content-type; bh=1i1PJq9S0y6wSrk/n6lvYtYhie4zOqPbpfYEqIEsBR4=; b=znYoP5RaND0PaLNmi/QnoBHMTKN9o3+OPtsUrGO/wF03G2FW5iH2YbzXmFf5EkLYcm uUfeoSdcaW7gn73OAZ5eUNYQRBAtBSpCpC6u0qd0QSPEEpBYNzawAH9wjhqH5D2R9KD2 m9JQ6xvx6BfPFDpl2ccPtamSexRbCzUqzodQltA30+tpHe9A8U0g5v+8pWGrsp7N031r shYoYPZOz5Eb1PacgGKOkdTqkiCKogO9uKNcF0hAZ+CPRo29SHvpJt25AeZEV85wAP9a +tcT2qtOKOAlSXm3O9s1eGDMfJnu+TIEDisbqpzHGssJadzJNqBf/UsTWP2AKD+Dnxk9 VzaA== MIME-Version: 1.0 X-Received: by 10.152.238.39 with SMTP id vh7mr9420968lac.71.1435490375592; Sun, 28 Jun 2015 04:19:35 -0700 (PDT) Sender: rizzo.unipi@gmail.com Received: by 10.114.230.103 with HTTP; Sun, 28 Jun 2015 04:19:35 -0700 (PDT) In-Reply-To: References: Date: Sun, 28 Jun 2015 13:19:35 +0200 X-Google-Sender-Auth: pCHd6QOTfotfgMz7Qay84LbKwRo Message-ID: Subject: Re: Intel XL710 40GE NIC, i40 driver and wire speed performance with netmap From: Luigi Rizzo To: Pavel Odintsov Cc: "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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, 28 Jun 2015 11:19:38 -0000 Those 42mpps are probably close to the best you can get, take or leave a few MPPs. I do not know of any pcie nic that can do 40g at 64byte frames. On freebsd, Chelsio with netmap is in the 40-45mpps range too, and from what I can tell those are HW limited, not CPU bound numbers. I40e with netmap is between 32 and 36 mpps on TX (did not bother to optimize it), 28 mpps on RX, and surely I won't be able to beat dpdk which is highly optimized for the CPU and nic. Cheers Luigi On Sunday, June 28, 2015, Pavel Odintsov wrote: > Hello, folks! > > I'm looking for solution which could do wire speed (56 mpps with > 64byte packets) for 40GE. > > We have tested PF_RING/DPDK on Linux and could not achieve more than > ~42 mpps and it's not enough for us. > > Could anybody share experience regarding performance estimations with > netmap and this NIC on best-ever-and-ever FreeBSD? > > Thank you! > > -- > Sincerely yours, Pavel Odintsov > _______________________________________________ > 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-2217533 . via Diotisalvi 2 Mobile +39-338-6809875 . 56122 PISA (Italy) -----------------------------------------+-------------------------------