From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-1.mimecast.com ([207.211.31.81]:25885 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725992AbgAMLlm (ORCPT ); Mon, 13 Jan 2020 06:41:42 -0500 Date: Mon, 13 Jan 2020 12:41:34 +0100 From: Jesper Dangaard Brouer Subject: Re: zero-copy between interfaces Message-ID: <20200113124134.3974cbed@carbon> In-Reply-To: <14f9e1bf5c3a41dbaec53f83cb5f0564@isi.edu> References: <14f9e1bf5c3a41dbaec53f83cb5f0564@isi.edu> MIME-Version: 1.0 Sender: xdp-newbies-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit To: Ryan Goodfellow Cc: "xdp-newbies@vger.kernel.org" On Mon, 13 Jan 2020 00:18:36 +0000 Ryan Goodfellow wrote: > The numbers that I have been able to achive with this code are the following. MTU > is 1500 in all cases. > > mlx5: pps ~ 2.4 Mpps, 29 Gbps (driver mode, zero-copy) > i40e: pps ~ 700 Kpps, 8 Gbps (skb mode, copy) > virtio: pps ~ 200 Kpps, 2.4 Gbps (skb mode, copy, all qemu/kvm VMs) > > Are these numbers in the ballpark of what's expected? I would say they are too slow / low. Have you remembered to do bulking? -- Best regards, Jesper Dangaard Brouer MSc.CS, Principal Kernel Engineer at Red Hat LinkedIn: http://www.linkedin.com/in/brouer