Cover Detail
Show a cover letter.
GET /api/covers/41424/?format=api
https://patches.dpdk.org/api/covers/41424/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/cover/20180623080840.315-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": "<20180623080840.315-1-maxime.coquelin@redhat.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20180623080840.315-1-maxime.coquelin@redhat.com", "date": "2018-06-23T08:08:38", "name": "[v4,0/2] testpmd: simulating noisy host environment", "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/20180623080840.315-1-maxime.coquelin@redhat.com/mbox/", "series": [ { "id": 213, "url": "https://patches.dpdk.org/api/series/213/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=213", "date": "2018-06-23T08:08:38", "name": "testpmd: simulating noisy host environment", "version": 4, "mbox": "https://patches.dpdk.org/series/213/mbox/" } ], "comments": "https://patches.dpdk.org/api/covers/41424/comments/", "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 0E2841BE16;\n\tSat, 23 Jun 2018 13:45:42 +0200 (CEST)", "from mx1.redhat.com (mx3-rdu2.redhat.com [66.187.233.73])\n\tby dpdk.org (Postfix) with ESMTP id AF8DF1BAFB\n\tfor <dev@dpdk.org>; Sat, 23 Jun 2018 10:08:54 +0200 (CEST)", "from smtp.corp.redhat.com\n\t(int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id A021B402242D;\n\tSat, 23 Jun 2018 08:08:53 +0000 (UTC)", "from localhost.localdomain (unknown [10.36.112.10])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id 5A36C2156889;\n\tSat, 23 Jun 2018 08:08:51 +0000 (UTC)" ], "From": "Maxime Coquelin <maxime.coquelin@redhat.com>", "To": "bernard.iremonger@intel.com,\n\tdev@dpdk.org", "Cc": "ailan@redhat.com, jan.scheurich@ericsson.com, vkaplans@redhat.com,\n\tbruce.richardson@intel.com, thomas@monjalon.net,\n\tkonstantin.ananyev@intel.com, ferruh.yigit@intel.com,\n\tMaxime Coquelin <maxime.coquelin@redhat.com>", "Date": "Sat, 23 Jun 2018 10:08:38 +0200", "Message-Id": "<20180623080840.315-1-maxime.coquelin@redhat.com>", "X-Scanned-By": "MIMEDefang 2.78 on 10.11.54.6", "X-Greylist": [ "Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.11.55.6]); Sat, 23 Jun 2018 08:08:53 +0000 (UTC)", "inspected by milter-greylist-4.5.16 (mx1.redhat.com\n\t[10.11.55.6]); \n\tSat, 23 Jun 2018 08:08:53 +0000 (UTC) for IP:'10.11.54.6'\n\tDOMAIN:'int-mx06.intmail.prod.int.rdu2.redhat.com'\n\tHELO:'smtp.corp.redhat.com' FROM:'maxime.coquelin@redhat.com' RCPT:''" ], "Subject": "[dpdk-dev] [PATCH v4 0/2] testpmd: simulating noisy host environment", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "This forth version is a rebase of Jen's v3, fixing meson build\nand checkpatch errors.\nSome checkpatch warnings remain to keep consistency with other\ncode.\n\nThis series adds a new forwarding mode 'noisy'. It proposes\nenhancements to testpmd to simulate more realistic behavior of a guest\nmachine engaged in receiving and sending packets performing Virtual\nNetwork Function (VNF).\n\nThe goal is to enable simple of measuring performance impact on cache and\nmemory footprint utilization from various VNF co-located on the\nsame host machine.\n\nThis series of patches adds the new command line switches to\ntestpmd:\n\n--noisy-buffersize-before-sending [packet numbers]\n\nKeep the mbuf in a FIFO and forward the over flooding packets from the\nFIFO. This queue is per TX-queue (after all other packet processing).\n\n--noisy-flush-timeout [delay]\nFlush the packet queue if no packets have been seen during\n[delay]. As long as packets are seen, the timer is reset.\n\n\nOptions to simulate route lookups:\n\n--noisy-memory-footprint [size]\nSize of the VNF internal memory (MB), in which the random\nread/write will be done, allocated by rte_malloc (hugepages).\n\n--noisy-nb-rnd-write [num]\nNumber of random writes in memory per packet should be\nperformed, simulating hit-flags update. 64 bits per write,\nall write in different cache lines.\n\n--noisy-nb-rnd-read [num]\nNumber of random reads in memory per packet should be\nperformed, simulating FIB/table lookups. 64 bits per read,\nall write in different cache lines.\n\n--noisy-nb-rnd-read-write [num]\nNumber of random reads and writes in memory per packet should\nbe performed, simulating stats update. 64 bits per read-write, all\nreads and writes in different cache lines.\n\nJens Freimann (2):\n testpmd: add forwarding mode to simulate a noisy neighbour\n testpmd: update testpmd doc to include noisy forwarding mode\n\n app/test-pmd/Makefile | 1 +\n app/test-pmd/meson.build | 1 +\n app/test-pmd/noisy_vnf.c | 204 ++++++++++++++++++++++++++++\n app/test-pmd/noisy_vnf.h | 41 ++++++\n app/test-pmd/parameters.c | 54 ++++++++\n app/test-pmd/testpmd.c | 52 +++++++\n app/test-pmd/testpmd.h | 17 +++\n doc/guides/testpmd_app_ug/run_app.rst | 27 ++++\n doc/guides/testpmd_app_ug/testpmd_funcs.rst | 7 +-\n 9 files changed, 402 insertions(+), 2 deletions(-)\n create mode 100644 app/test-pmd/noisy_vnf.c\n create mode 100644 app/test-pmd/noisy_vnf.h" }{ "id": 41424, "url": "