Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755467AbdD0QEa (ORCPT ); Thu, 27 Apr 2017 12:04:30 -0400 Received: from mx2.suse.de ([195.135.220.15]:48724 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752602AbdD0QEX (ORCPT ); Thu, 27 Apr 2017 12:04:23 -0400 Date: Thu, 27 Apr 2017 18:04:19 +0200 From: Joerg Roedel To: Shaohua Li Cc: Ingo Molnar , linux-kernel@vger.kernel.org, gang.wei@intel.com, hpa@linux.intel.com, kernel-team@fb.com, ning.sun@intel.com, srihan@fb.com, alex.eydelberg@intel.com Subject: Re: [PATCH V2] x86/tboot: add an option to disable iommu force on Message-ID: <20170427160419.GX5077@suse.de> References: <1c2cadcf5cd7d19cea93c56435610e61b551bd1e.1493223474.git.shli@fb.com> <20170427065142.lnsdegq7zwxacqo2@gmail.com> <20170427084207.GU5077@suse.de> <20170427144901.GA98840@dhcp-172-26-110-153.dhcp.thefacebook.com> <20170427151855.GW5077@suse.de> <20170427154119.GA26498@dhcp-172-26-110-153.dhcp.thefacebook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170427154119.GA26498@dhcp-172-26-110-153.dhcp.thefacebook.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 586 Lines: 13 On Thu, Apr 27, 2017 at 08:41:20AM -0700, Shaohua Li wrote: > Sorry, I wrote the wrong data. With iommu the pps is 6M pps, and without it, we > can get around 20M pps. XDP is much faster than normal network workloads. The > test uses 64 bytes. We tried other sizes in the machine (not 8 bytes though), > but pps doesn't change significantly. With different package size, the peek pps > is around 7M with iommu, then the NIC starts to drop package. CPU util is very > low as I said before. Without iommu, the peek pps is around 22M. Ah, these numbers makes more sense. Thanks, Joerg