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 393BA8E7E for ; Mon, 19 Oct 2015 07:16:05 +0200 (CEST) Received: by pacfv9 with SMTP id fv9so83273360pac.3 for ; Sun, 18 Oct 2015 22:16:04 -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; bh=mY/9XG0RXgyoOoTudbNIxHkAqsxh6bix6+PRfvHOfsU=; b=dbkT1qxcKVmMmdz0G0LbwiBYIAMsbGlmw6HWp631EiFVCS6RchQNO/zS4u2HYd3rOc ZXsDa1m7OcLiUQ2Rqb6j6c1u0ICe8xiNt2ioW547PM6WBYqbg47Pz6z0eyAmAlrdcMoB UquqkmbP5AkF1L/2ykcMW/1YOaY0yqe6E3y1C7tJbiRN1YKoMy0abXITuAk8uOp9LW5c VXr70q5g1+9cZk6nL97pqysQGff8Dd1Tsf2ll11IETQsqII2vwP3lhy753nU8KApoJBl LeT95YCzu9bp01HwybVTtb/VCz3vEpDXgo8g9VmdDZRg6SToR53ZnxkgYlTxLQUK++UH L54Q== X-Gm-Message-State: ALoCoQnbD67tWnGnhfo9qjDoRR6c3hhAqVqb8RKF4o5vxkYhjCG7HV0gnOX+EywXKKHyy98JzXVx X-Received: by 10.68.221.130 with SMTP id qe2mr19782249pbc.80.1445231764658; Sun, 18 Oct 2015 22:16:04 -0700 (PDT) Received: from xeon-e3.home.lan (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by smtp.gmail.com with ESMTPSA id k10sm33681035pbq.78.2015.10.18.22.16.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 18 Oct 2015 22:16:03 -0700 (PDT) From: Stephen Hemminger To: huawei.xie@intel.com, changchun.ouyang@intel.com Date: Sun, 18 Oct 2015 22:16:07 -0700 Message-Id: <1445231772-17467-1-git-send-email-stephen@networkplumber.org> X-Mailer: git-send-email 2.1.4 Cc: dev@dpdk.org Subject: [dpdk-dev] [PATCH v2 0/5] virtio: Tx performance improvements 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 05:16:05 -0000 This is a tested version of the virtio Tx performance improvements that I posted earlier on the list, and described at the DPDK Userspace meeting in Dublin. Together they get a 25% performance improvement for both small packet and large multi-segment packet case when testing from DPDK guest application to Linux KVM host. Stephen Hemminger (5): virtio: clean up space checks on xmit virtio: don't use unlikely for normal tx stuff virtio: use indirect ring elements virtio: use any layout on transmit virtio: optimize transmit enqueue drivers/net/virtio/virtio_ethdev.c | 38 +++++++--- drivers/net/virtio/virtio_ethdev.h | 4 +- drivers/net/virtio/virtio_rxtx.c | 150 ++++++++++++++++++++----------------- drivers/net/virtio/virtqueue.h | 19 +++++ 4 files changed, 130 insertions(+), 81 deletions(-) -- 2.1.4