From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by dpdk.org (Postfix) with ESMTP id 8B49FC35E for ; Mon, 20 Jul 2015 03:02:12 +0200 (CEST) Received: by wibxm9 with SMTP id xm9so79195810wib.0 for ; Sun, 19 Jul 2015 18:02:12 -0700 (PDT) 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:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=c+WmDDDv4RgOAiOd1mpvqxo/oLeFOeiOlYy9J0SWpJU=; b=Vn+ECydr27W2TqdEWjilQTp+YnfPt9mEvJcBNeLcWIFFex39JNGI8ygz1OWkj8Bt7c tBH4wHwWioe8Tv6FVLFP7HJVxRp3Msx4wHrLta+spcJqeXZMyMkZm8G/PaVIZC019559 Cih1vr3JXggZ50+XlLo2zeN+FbO35IAx8L6akwgmrYhr3wdqC526ImauXaxm0RdUk4du Y1/G+pra0KxkPSt0Oyr5aV69rqfAM5JfVCDjazYKLr2TrSuk3yq/BGDa0UcjQ/1dz4qb 1T5kaBDIRg+DN3vgUUOBByDho70jQ+O3Mf27mDoRSlD6Z/KTz6AgnNPmv/bmxWrREh4f 79SA== X-Gm-Message-State: ALoCoQnZ8GMxof2JTCnO0ypf1ohtnm8H25+/Pi9hkE8N22U//fTFIdNhYvmPoFFFnuZhok1z6ezM X-Received: by 10.181.13.134 with SMTP id ey6mr16691044wid.88.1437354132462; Sun, 19 Jul 2015 18:02:12 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id d7sm9277796wij.0.2015.07.19.18.02.11 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Jul 2015 18:02:11 -0700 (PDT) From: Thomas Monjalon To: olivier.matz@6wind.com Date: Mon, 20 Jul 2015 03:00:59 +0200 Message-ID: <6143149.O6nc0QL3DF@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <1431386118-2811-1-git-send-email-emmericp@net.in.tum.de> References: <1431386118-2811-1-git-send-email-emmericp@net.in.tum.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 01:02:12 -0000 Please Olivier, What is the status of this patch? 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); >