From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by dpdk.org (Postfix) with ESMTP id 52C638DA8 for ; Mon, 19 Oct 2015 06:16:50 +0200 (CEST) Received: by pasz6 with SMTP id z6so17206355pas.2 for ; Sun, 18 Oct 2015 21:16:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=5cZ/p/v3kguImTugF9vqO5X75I8ooxNmOKf7UD4EJOw=; b=hc+rf/77zVPwfaCMMBW2k3euFKFUMTGPt+PT55gXvIH/UN1KBO6VWw3PURfrim88YF RvaWqluftX41O7wUXdMDMtgcg92BtCNChxfRlyG7LmPUCJ+UGJeEstrKaPH08mJB7pl0 l2+6p3P33Qg11V/8J9gG/HwjufQekWhs96qH7iFZQH4Ipaps0WCAnXm1VI6Uvel7jT3e hSA2AuGU1QO/YagrQzndTqc5wEcU7AXrDm92utpN6oCPHijraF0kWVxJIX8a8mnGCtTm o3+Tv6VJOrc02vsUjKgrrAWnLrM6SzvBkM/au4UkvwjF6jbMKDknWoGxJv4vN4Xd7KrG a+KQ== X-Gm-Message-State: ALoCoQmJr2pa9O2pGoBFPKHEq20smN9Xlu6S2dBWaP20smVHa7wBBp+O58DsmoywJ8i4jfY/qQTx X-Received: by 10.66.250.197 with SMTP id ze5mr32401125pac.50.1445228209353; Sun, 18 Oct 2015 21:16:49 -0700 (PDT) Received: from xeon-e3 (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by smtp.gmail.com with ESMTPSA id de4sm33402447pbb.60.2015.10.18.21.16.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Oct 2015 21:16:49 -0700 (PDT) Date: Sun, 18 Oct 2015 21:16:57 -0700 From: Stephen Hemminger To: Huawei Xie Message-ID: <20151018211657.46cfe771@xeon-e3> In-Reply-To: <1445149744-3217-7-git-send-email-huawei.xie@intel.com> References: <1443537953-23917-1-git-send-email-huawei.xie@intel.com> <1445149744-3217-1-git-send-email-huawei.xie@intel.com> <1445149744-3217-7-git-send-email-huawei.xie@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v2 6/7] virtio: simple tx routine 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, 19 Oct 2015 04:16:50 -0000 On Sun, 18 Oct 2015 14:29:03 +0800 Huawei Xie wrote: > bulk free of mbufs when clean used ring. > shift operation of idx could be further saved if vq_free_cnt means > free slots rather than free descriptors. > > Signed-off-by: Huawei Xie Did you measure this. I finished my transmit optimizations and gets 25% performance improvement without any of these restrictions.