From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f50.google.com (mail-lf0-f50.google.com [209.85.215.50]) by dpdk.org (Postfix) with ESMTP id 543EBC658 for ; Wed, 15 Jun 2016 16:21:11 +0200 (CEST) Received: by mail-lf0-f50.google.com with SMTP id l188so12017712lfe.2 for ; Wed, 15 Jun 2016 07:21:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=zBwb0Kv7p/Om1GcAz5avLU4yz5bup6GrT9wCHDXqQHQ=; b=e+l2f8zlSIN2+ip7BtDg605bHzXcrc+T3iyeVBP75XX4NCjgBKd21U8NwKQnMjFLor X36c+2AUUeU3XR/i/fT+RGxCjMuBhr5s4xgv1fXocz4C5uaqKolRgFN4NhQTjdiJrzJO bativ/5WI63EDuy0qad+4TenHvLHvgp1BVSXB0+nUygriSbCBWIRDW3Sf2tXCye25BTk YsEA52GZ9WTy/m5NZnACvu+4wHb50fn7WlSAjQ0p7cadP1j4QuB6O3uqrLPUD79zZago L1EEgwU/T/pe29Gpbdexd18OPB0IQtCozI0rQwau2nHZPxbrWYWDiREJ+qaoRvxuLv7a lkZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=zBwb0Kv7p/Om1GcAz5avLU4yz5bup6GrT9wCHDXqQHQ=; b=WOyevf2EZCtaUFpV+dZ+JfXXwAs0PZijbIH4qEAw5G0l4FPGrvZz1x9P1BPtQE8Gws MiFb8Njpp+bh7s6b7iQPwqZahBBogXlOui8MnDNv4gg8UHeoqgeBt+v21tylJk8KcGHT jvMiH52bu5X9PQR4zaosBQ+3NjNPpdNSFGbK7FE0Z+YF0tnmYyZZuJ01sbVxwNrQ6E3+ ZU4Sg4XpNMDhQVLNf2suInOXAKgvFF5gRfBAk2YzRhPyzLgqFiwAjaIb2PxH45e6pyqa GP/P32YrX+OF5S383F20rDkYMw3HXyHlNR9Qg5low9FyOgfrifkSVFZQpalTmT4jULK9 GGsQ== X-Gm-Message-State: ALyK8tJC8fAbJb3g71Z2DNOi9VUzvO4hK/VxD9NufZ2qmRGBy9qrUp+s8QfeSo4A+MjWqSTp X-Received: by 10.194.150.167 with SMTP id uj7mr11895685wjb.168.1466000470792; Wed, 15 Jun 2016 07:21:10 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id p9sm38789512wjv.21.2016.06.15.07.21.09 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 15 Jun 2016 07:21:09 -0700 (PDT) From: Thomas Monjalon To: Zhihong Wang Cc: dev@dpdk.org Date: Wed, 15 Jun 2016 16:21:08 +0200 Message-ID: <9020918.HyCU59pmu8@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1464139383-132732-1-git-send-email-zhihong.wang@intel.com> References: <1464139383-132732-1-git-send-email-zhihong.wang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] eal: fix rte_memcpy perf in hsw/bdw X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jun 2016 14:21:11 -0000 2016-05-24 21:23, Zhihong Wang: > This patch fixes rte_memcpy performance in Haswell and Broadwell for > vhost when copy size larger than 256 bytes. > > It is observed that for large copies like 1024/1518 ones, rte_memcpy > suffers high ratio of store buffer full issue which causes pipeline > to stall in scenarios like vhost enqueue. This can be alleviated by > adjusting instruction layout. Note that this issue may not be visible > in micro test. > > How to reproduce? > > PHY-VM-PHY using vhost/virtio or vhost/virtio loop back, with large > packets like 1024/1518 bytes ones. Make sure packet generation rate > is not the bottleneck if PHY-VM-PHY is used. > > Signed-off-by: Zhihong Wang Test report: http://dpdk.org/ml/archives/dev/2016-May/039716.html Applied, thanks