Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/89407/?format=api
https://patches.dpdk.org/api/patches/89407/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210317170922.25046-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": "<20210317170922.25046-1-maxime.coquelin@redhat.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210317170922.25046-1-maxime.coquelin@redhat.com", "date": "2021-03-17T17:09:19", "name": "[v3,0/3] vhost: make virtqueue cache-friendly", "commit_ref": null, "pull_url": null, "state": null, "archived": false, "hash": null, "submitter": { "id": 512, "url": "https://patches.dpdk.org/api/people/512/?format=api", "name": "Maxime Coquelin", "email": "maxime.coquelin@redhat.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210317170922.25046-1-maxime.coquelin@redhat.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/89407/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/89407/checks/", "tags": {}, "related": [], "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 C8F8AA0561;\n\tWed, 17 Mar 2021 18:09:39 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id AEDD24069F;\n\tWed, 17 Mar 2021 18:09:39 +0100 (CET)", "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [63.128.21.124])\n by mails.dpdk.org (Postfix) with ESMTP id B1D4A4067E\n for <dev@dpdk.org>; Wed, 17 Mar 2021 18:09:38 +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-472-QUWA8GSWNJGnWmPAv1Fuwg-1; Wed, 17 Mar 2021 13:09:35 -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 DCDA181622;\n Wed, 17 Mar 2021 17:09:34 +0000 (UTC)", "from max-t490s.redhat.com (unknown [10.36.110.14])\n by smtp.corp.redhat.com (Postfix) with ESMTP id 29C3219CB6;\n Wed, 17 Mar 2021 17:09:26 +0000 (UTC)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1616000978;\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=H/3xc6cw5Q+oAfzCLk28XkhHMF8yMI01/+IBUurtNBE=;\n b=DrMdk3pLBETLC+Ng1ouzxrVDaFx490ycg21eyTn59TJ2wRfGaC+aANrZ1wE8ZpkSIY3y8o\n xfMdefPj6Jk7j47AI6HHRhPsy17Rii+KLP7/5cS2ABht6Wz7ZzkcgphRj+Zldd+gfWdfMU\n g7hA8q2oOdUOKQt3ON4xEKNyqWx5BA4=", "X-MC-Unique": "QUWA8GSWNJGnWmPAv1Fuwg-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": "Wed, 17 Mar 2021 18:09:19 +0100", "Message-Id": "<20210317170922.25046-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 v3 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 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 | 40 ++++++++++++++++++-------\n lib/librte_vhost/virtio_net.c | 12 ++++----\n 4 files changed, 80 insertions(+), 49 deletions(-)", "diff": null, "prefixes": [ "v3", "0/3" ] }{ "id": 89407, "url": "