From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id A4B031B339 for ; Tue, 7 Nov 2017 18:20:11 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 353462093D; Tue, 7 Nov 2017 12:20:11 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Tue, 07 Nov 2017 12:20:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=KPTAFMtvqMYHL9/BCuJ0Wzfj+G v/fNzGOYNlhOnGMMw=; b=G87lzhr2qP1Q5YWgA50Sx0wF673FdaSbTuw/qqIsAe ZFfSXPkIBmtRyLhJcet5QeFA/QrHm8qkzX1lFAggihUbmcAK/5L5kx84+cECo1Xx mSDuiQLy+/6qDha/wWgZhYdAVjT44/QkUxxQQElXCC31je/VOZI4/bPmkh4Ce5Ew U= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=KPTAFM tvqMYHL9/BCuJ0Wzfj+Gv/fNzGOYNlhOnGMMw=; b=S5u1kEfkIY3weDtMxYK99c KojlDQk8nlHraV7eRKQXb18gsAaaZq2R2STICgPSdqkW+Bpwh4/pJnVy9FOgGT0l qEEt8zs40RiXAwKmeOrNAFJHK3xVYggX1/JWvkc1oLWlpQ1QpQ2dg/Aw8gaouQ/z 9B91PthGhMdhRnnIqqCh6dWe87Jz0QERv0pdOfr89UTSBr6X4xtXfm+oX39xwNXm 6OEiUm+fMyo4F1SNhNXnm/cd0Uj1xmZPn/sZ6TGJZsS0xJ78nl5fj6C0Ty1Tz2PQ 3N/MyHNaraizeOzJk8Pv2nWGdoDY5wx40cVwkzO5KpoMIBli9akyYU++S6u7gE6g == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id DDC877F918; Tue, 7 Nov 2017 12:20:10 -0500 (EST) From: Thomas Monjalon To: Herbert Guan Cc: dev@dpdk.org, Jianbo Liu , bruce.richardson@intel.com, konstantin.ananyev@intel.com, phil.yang@arm.com Date: Tue, 07 Nov 2017 18:20:10 +0100 Message-ID: <1687163.1yR7dAqtFt@xps> In-Reply-To: <20171026062338.GA14312@arm.com> References: <1508915626-21407-1-git-send-email-herbert.guan@arm.com> <20171026062338.GA14312@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] test: provide performance difference ratio and test time X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Nov 2017 17:20:11 -0000 26/10/2017 08:23, Jianbo Liu: > The 10/25/2017 15:13, Herbert Guan wrote: > > The printed time values presented in TSC is not straight forward > > showing the performance difference. And if the high resolution > > counter is not enabled, time value is too small to show the actual > > performance (e.g. "1 - 1" seems the same but in fact the perfomance > > diffs by 50% or more). > > With the performance difference ratio caculated and printed, it'll be > > easier for people to read and compare the performance between > > rte_memcpy() and memcpy(). > > Since the TSC values' units may diff a lot on different platforms, > > the total execution time of aligned/unaligned memcpy test are > > provided to allow comparation between platforms. > > > > Signed-off-by: Herbert Guan > > Acked-by: Jianbo Liu Applied, thanks