From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 8B04C9655 for ; Mon, 20 Jul 2015 10:02:45 +0200 (CEST) Received: from was59-1-82-226-113-214.fbx.proxad.net ([82.226.113.214] helo=[192.168.0.10]) by mail.droids-corp.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1ZH66w-0000ab-Pw; Mon, 20 Jul 2015 10:07:46 +0200 Message-ID: <55ACAB1B.2030508@6wind.com> Date: Mon, 20 Jul 2015 10:02:35 +0200 From: Olivier MATZ User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: Thomas Monjalon References: <1431386118-2811-1-git-send-email-emmericp@net.in.tum.de> <6143149.O6nc0QL3DF@xps13> In-Reply-To: <6143149.O6nc0QL3DF@xps13> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org 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: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jul 2015 08:02:45 -0000 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); >> > >