From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by dpdk.org (Postfix) with ESMTP id DA0E4A2F for ; Wed, 15 Feb 2017 09:44:36 +0100 (CET) Received: by mail-wm0-f44.google.com with SMTP id v77so34700678wmv.0 for ; Wed, 15 Feb 2017 00:44:36 -0800 (PST) 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=JcKuLj41la9VJOUStITaSutVAhT4Di9/rKmq/AD1skU=; b=tcB0ElDJVWNudbIOQbP87cLj/bD03b6OoAfQD6ZZklAiU1Yah6FVddDOPE0hQP1IoI INp3SzF82HAyg0XSXrwMinWMU0M036YeII4BxR8PcQtKCq9ntFcLEx4ESEsYnF49y72a bxSUVgwqmTNPf1OudD1nZ42WraNT7rrsC0BxopHxeK+l4sFT+o2gw2eph3ppwySNJ/UZ XVo4d5G1PD5CNak6792pMvSjJE7WEdCw1MsvnNaf+dkACvf5gzH/uyZRaQzQF4PBp5Li plEQADfTR1ihJdjQDS/sE1By6j5X2ic/fcRQti4g4l0qffdujbB6svXiB+CIcs8LIASU qsyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=JcKuLj41la9VJOUStITaSutVAhT4Di9/rKmq/AD1skU=; b=C2UlJ63UoMwb1OL5biB/TlJVyH4Bl8tDFkrS2vNQDacx2sxSWb+qhJYH0tcftKb3mk ZxDdzLD5Gm6Z8Mg7Q15IpM0h3a7IwT5uohjvlB5o+nU7LLXeKSI5BHHb/e+cHDfmborB G0Q6q16hso6RNRrS9LVx/FJ52NTA5VZEtZnvXWTMleNkZBIQtL8dp/ivESrvs9BMoRpQ OpOAWhSnIs8H6w8issKd3fe20nDe4POOxSSCxFmTWhNS+wGZacLE/lvOtv0aD2128yHB n4QAIKo+08jiW3+NBxPNTgnYw8T5uh/TBsIUUvxNFa4uxAmZjCz8zNevPZ1+vmViK1bi Qj+w== X-Gm-Message-State: AMke39mic2zXiCCQJKDQmiu0z0slFHzalb1JsxsdI1Fq1Gg275+xiWLHV6fRT2d0bMeBGU0X X-Received: by 10.28.184.198 with SMTP id i189mr6374623wmf.26.1487148276416; Wed, 15 Feb 2017 00:44:36 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id g40sm3984727wrg.19.2017.02.15.00.44.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Feb 2017 00:44:35 -0800 (PST) From: Thomas Monjalon To: Olivier MATZ , konstantin.ananyev@intel.com, bruce.richardson@intel.com Cc: dev@dpdk.org, Paul Emmerich , "Mike A. Polehn" Date: Wed, 15 Feb 2017 09:44:35 +0100 Message-ID: <1666545.dgckzNb2Rl@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <55ACAB1B.2030508@6wind.com> References: <1431386118-2811-1-git-send-email-emmericp@net.in.tum.de> <6143149.O6nc0QL3DF@xps13> <55ACAB1B.2030508@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] prefetch second cacheline of mbufs on alloc 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: Wed, 15 Feb 2017 08:44:37 -0000 Do we need to discuss again the prefetch calls inside DPDK or can we definitely close this kind of request? mbuf: http://dpdk.org/patch/4678/ ethdev: http://dpdk.org/patch/8867/ 2015-07-20 10:02, Olivier MATZ: > Hi Thomas, > > > On 07/20/2015 03:00 AM, Thomas Monjalon wrote: > > Please Olivier, > > What is the status of this patch? > > From what I remember, the last mail was a comment from Konstantin > on another thread (but same topic): > http://dpdk.org/ml/archives/dev/2015-May/017633.html > > > Regards, > Olivier > > > > > > 2015-05-12 01:15, Paul Emmerich: > >> this improves the throughput of a simple tx-only application by 11% in > >> the full-featured ixgbe tx path and by 14% in the simple tx path. > >> --- > >> lib/librte_mbuf/rte_mbuf.h | 1 + > >> 1 file changed, 1 insertion(+) > >> > >> diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h > >> index ab6de67..f6895b4 100644 > >> --- a/lib/librte_mbuf/rte_mbuf.h > >> +++ b/lib/librte_mbuf/rte_mbuf.h > >> @@ -538,6 +538,7 @@ static inline struct rte_mbuf *__rte_mbuf_raw_alloc(struct rte_mempool *mp) > >> if (rte_mempool_get(mp, &mb) < 0) > >> return NULL; > >> m = (struct rte_mbuf *)mb; > >> + rte_prefetch0(&m->cacheline1); > >> RTE_MBUF_ASSERT(rte_mbuf_refcnt_read(m) == 0); > >> rte_mbuf_refcnt_set(m, 1); > >> return (m); > >> > > > >