From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by dpdk.org (Postfix) with ESMTP id 8D3921B5F1 for ; Thu, 2 Nov 2017 14:43:36 +0100 (CET) Received: by mail-wm0-f68.google.com with SMTP id b9so11555860wmh.0 for ; Thu, 02 Nov 2017 06:43:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=mZCK9bE5oEgwQIHxgSAv+qww8FcIr4qTGmOCN0jwpv4=; b=PHIUQNuf/gBUqd+Q2nnwZezy3GNPhWbFefaRAL3YZAEP7+xs7erVMmy/ItiX4ZnZNO T8rXNlMetDqYpSTNowFtz8LqJfjsczfi6cy7JFwUvLFgW5QXucuvvtAJTTtZgIyJUtwv ODyaixsscExEpRxRSRbMO6AfTXfAgqnhtyKiqV65IRJauLCg+8+0gJRAYDiYMM+KZD6v /cFWkdY5P2ZAHYs77InmAKwgwRW5QCkgR5hzOBRut8IB2QuagpyGKAnTPN1r2qt+SvYG npi0b9mO4mWkm/yBgllo7qCXWqaENuXXlrAQle3uMecHTMOIZ/qYO8U+BffqlEkmpEX2 yqSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=mZCK9bE5oEgwQIHxgSAv+qww8FcIr4qTGmOCN0jwpv4=; b=PSTqMVbDhcuXZHyCItkYzpBtOLm/by00eCuutuHpkP7mm8ELbVLM6Y5xg/tEDjpw72 TDdwTtTJirxCXyJ/H1wEFMec9cxtl1WLPVm4T0beycksPvmKBcBCA2Pg3mdkJGC6hFDg 5CfedSozxXrQMmhTeBDRyDPFkKTSSF64kGZFTga4bUrn9FfAsfHyA0BKLvcvo7LiA2To 08zcIiYtrnGc7tqtmTKKE8PIlxIlKYuBi0KSiv6Cr9NoyH2IeErmtOhg2Cqdkvxxvn4V 76b4UdsXLIppNTMxxhY1Z7v46EFBv6e8Ui3NrObPgkdmGcmaObYgXajhV6pfAVcpCgeu pxbQ== X-Gm-Message-State: AMCzsaUw5P7kKesFM8Rb8u5CXNqvlKRLOJNcasVSUVhix2H+4hR8XJV6 tuN+O2JW0u3AZA32ROW5QCeUPA== X-Google-Smtp-Source: ABhQp+THdWKiQfUXA4I7XqRWVss0xkoBe98ArcVoVjykxO4lgI4/oxK7l9ZXU9lpFlp9etYkl+iuUg== X-Received: by 10.80.186.78 with SMTP id 14mr4337780eds.132.1509630216377; Thu, 02 Nov 2017 06:43:36 -0700 (PDT) Received: from 6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id o55sm3963551edc.90.2017.11.02.06.43.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Nov 2017 06:43:35 -0700 (PDT) Date: Thu, 2 Nov 2017 14:43:24 +0100 From: Adrien Mazarguil To: Matan Azrad Cc: dev@dpdk.org, Ophir Munk Message-ID: <20171102134324.GG24849@6wind.com> References: <1509358049-18854-1-git-send-email-matan@mellanox.com> <1509474093-31388-1-git-send-email-matan@mellanox.com> <1509474093-31388-9-git-send-email-matan@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1509474093-31388-9-git-send-email-matan@mellanox.com> Subject: Re: [dpdk-dev] [PATCH v4 8/8] net/mlx4: mitigate Tx path memory barriers 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: Thu, 02 Nov 2017 13:43:36 -0000 On Tue, Oct 31, 2017 at 06:21:33PM +0000, Matan Azrad wrote: > Replace most of the memory barriers by IO memory barriers since they > are all targeted to the DRAM; This improves code efficiency for > systems which force store order between different addresses. > > Only the doorbell register store should be protected by memory barrier > since it is targeted to the PCI memory domain. > > Limit pre byte count store IO memory barrier for systems with cache > line size smaller than 64B (TXBB size). > > This patch improves Tx performance by 0.2MPPS for one segment 64B > packets via 1 queue with 1 core test. > > Signed-off-by: Matan Azrad Acked-by: Adrien Mazarguil -- Adrien Mazarguil 6WIND