From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH v2 6/7] virtio: simple tx routine Date: Sun, 18 Oct 2015 21:16:57 -0700 Message-ID: <20151018211657.46cfe771@xeon-e3> 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 To: Huawei Xie 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) In-Reply-To: <1445149744-3217-7-git-send-email-huawei.xie@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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.