Cover Detail
Show a cover letter.
GET /api/covers/89671/?format=api
https://patches.dpdk.org/api/covers/89671/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/cover/20210323090219.126712-1-maxime.coquelin@redhat.com/", "project": { "id": 1, "url": "https://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20210323090219.126712-1-maxime.coquelin@redhat.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210323090219.126712-1-maxime.coquelin@redhat.com", "date": "2021-03-23T09:02:16", "name": "[v4,0/3] vhost: make virtqueue cache-friendly", "submitter": { "id": 512, "url": "https://patches.dpdk.org/api/people/512/?format=api", "name": "Maxime Coquelin", "email": "maxime.coquelin@redhat.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/cover/20210323090219.126712-1-maxime.coquelin@redhat.com/mbox/", "series": [ { "id": 15826, "url": "https://patches.dpdk.org/api/series/15826/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=15826", "date": "2021-03-23T09:02:16", "name": "vhost: make virtqueue cache-friendly", "version": 4, "mbox": "https://patches.dpdk.org/series/15826/mbox/" } ], "comments": "https://patches.dpdk.org/api/covers/89671/comments/", "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 69091A0562;\n\tTue, 23 Mar 2021 10:02:35 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id E67C64014D;\n\tTue, 23 Mar 2021 10:02:34 +0100 (CET)", "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.133.124])\n by mails.dpdk.org (Postfix) with ESMTP id 71FD940143\n for <dev@dpdk.org>; Tue, 23 Mar 2021 10:02:33 +0100 (CET)", "from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com\n [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id\n us-mta-140-YeeR6U99M76XxvKe_k_GXw-1; Tue, 23 Mar 2021 05:02:31 -0400", "from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com\n [10.5.11.11])\n (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n (No client certificate requested)\n by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E519080006E;\n Tue, 23 Mar 2021 09:02:29 +0000 (UTC)", "from max-t490s.redhat.com (unknown [10.36.110.41])\n by smtp.corp.redhat.com (Postfix) with ESMTP id 0423B60BD8;\n Tue, 23 Mar 2021 09:02:22 +0000 (UTC)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1616490152;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=8V6Sl9HhVjBg+bOglUrzrSuoimxVsphYDEHm6ZUl1AM=;\n b=QiB1QfiagqWUcyjNBPLOfg92PqHZs+llNxYP7+W2NprL9lE+lPv3injZ3drvL9dzZslH5g\n up4pXO24PdnWG2UwK3fkMjhlFqP4cRQH9QlY5OVOGLAhPqSk/lXw031cMg7o6bP7G/H5nJ\n SdD0Cz1nUPgyzUwplDG1mzixu/TAuoM=", "X-MC-Unique": "YeeR6U99M76XxvKe_k_GXw-1", "From": "Maxime Coquelin <maxime.coquelin@redhat.com>", "To": "dev@dpdk.org, chenbo.xia@intel.com, amorenoz@redhat.com,\n david.marchand@redhat.com, olivier.matz@6wind.com, bnemeth@redhat.com", "Cc": "Maxime Coquelin <maxime.coquelin@redhat.com>", "Date": "Tue, 23 Mar 2021 10:02:16 +0100", "Message-Id": "<20210323090219.126712-1-maxime.coquelin@redhat.com>", "MIME-Version": "1.0", "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.11", "Authentication-Results": "relay.mimecast.com;\n auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=maxime.coquelin@redhat.com", "X-Mimecast-Spam-Score": "0", "X-Mimecast-Originator": "redhat.com", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain; charset=\"US-ASCII\"", "Subject": "[dpdk-dev] [PATCH v4 0/3] vhost: make virtqueue cache-friendly", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "As done for Virtio PMD, this series improves cache utilization\nof the vhost_virtqueue struct by removing unused field,\nmake the live-migration cache dynamically allocated at\nlive-migration setup time and by moving fields\naround so that hot fields are on the first cachelines.\n\nWith this series, The struct vhost_virtqueue size goes\nfrom 832B (13 cachelines) down to 320B (5 cachelines).\n\nWith this series and the virtio one, I measure a gain\nof up to 8% in IO loop micro-benchmark with packed\nring, and 5% with split ring.\n\nI don't have a setup at hand to run PVP testing, but\nit might be interresting to get the numbers as I\nsuspect the cache pressure is higher in this test as\nin real use-cases.\n\nChanges in v4:\n==============\n- Fix missing changes to boolean (Chenbo)\n\nChanges in v3:\n==============\n- Don't check pointer validity before freeing (David)\n- Don't use deprecated rte_smp_wmb() (David, Checkpatch)\n- Handle booleans properly (David)\n- Prevent VQ size field overflow (David)\n- Fix typo and indent (David)\n\nChanges in v2:\n==============\n- Add log_cache freeing in free_vq (Chenbo)\n\nMaxime Coquelin (3):\n vhost: remove unused Vhost virtqueue field\n vhost: move dirty logging cache out of the virtqueue\n vhost: optimize vhost virtqueue struct\n\n lib/librte_vhost/vhost.c | 21 +++++++++----\n lib/librte_vhost/vhost.h | 56 +++++++++++++++++------------------\n lib/librte_vhost/vhost_user.c | 44 +++++++++++++++++++--------\n lib/librte_vhost/virtio_net.c | 12 ++++----\n 4 files changed, 82 insertions(+), 51 deletions(-)" }{ "id": 89671, "url": "