Show a cover letter.

GET /api/covers/814646/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 814646,
    "url": "http://patchwork.ozlabs.org/api/covers/814646/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/netdev/cover/1505651798-106642-1-git-send-email-robert.hu@linux.intel.com/",
    "project": {
        "id": 7,
        "url": "http://patchwork.ozlabs.org/api/projects/7/?format=api",
        "name": "Linux network development",
        "link_name": "netdev",
        "list_id": "netdev.vger.kernel.org",
        "list_email": "netdev@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1505651798-106642-1-git-send-email-robert.hu@linux.intel.com>",
    "list_archive_url": null,
    "date": "2017-09-17T12:36:36",
    "name": "[pktgen,script,v2,0/2] Add a pktgen sample script of NUMA awareness",
    "submitter": {
        "id": 72226,
        "url": "http://patchwork.ozlabs.org/api/people/72226/?format=api",
        "name": "Robert Hoo",
        "email": "robert.hu@linux.intel.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/netdev/cover/1505651798-106642-1-git-send-email-robert.hu@linux.intel.com/mbox/",
    "series": [
        {
            "id": 3512,
            "url": "http://patchwork.ozlabs.org/api/series/3512/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=3512",
            "date": "2017-09-17T12:36:36",
            "name": "Add a pktgen sample script of NUMA awareness",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/3512/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/covers/814646/comments/",
    "headers": {
        "Return-Path": "<netdev-owner@vger.kernel.org>",
        "X-Original-To": "patchwork-incoming@ozlabs.org",
        "Delivered-To": "patchwork-incoming@ozlabs.org",
        "Authentication-Results": "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=netdev-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)",
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xw7tb4Ylxz9s81\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSun, 17 Sep 2017 22:36:55 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751374AbdIQMgr (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tSun, 17 Sep 2017 08:36:47 -0400",
            "from mga04.intel.com ([192.55.52.120]:56558 \"EHLO mga04.intel.com\"\n\trhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP\n\tid S1750885AbdIQMgq (ORCPT <rfc822;netdev@vger.kernel.org>);\n\tSun, 17 Sep 2017 08:36:46 -0400",
            "from fmsmga004.fm.intel.com ([10.253.24.48])\n\tby fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t17 Sep 2017 05:36:46 -0700",
            "from sqa-gate.sh.intel.com (HELO kvm-host.tsp.org)\n\t([10.239.48.212])\n\tby fmsmga004.fm.intel.com with ESMTP; 17 Sep 2017 05:36:45 -0700"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.42,407,1500966000\"; d=\"scan'208\";a=\"312616190\"",
        "From": "Robert Hoo <robert.hu@linux.intel.com>",
        "To": "brouer@redhat.com, davem@davemloft.net, tariqt@mellanox.com,\n\tkyle.leet@gmail.com",
        "Cc": "netdev@vger.kernel.org, robert.hu@intel.com",
        "Subject": "[pktgen script v2 0/2] Add a pktgen sample script of NUMA awareness",
        "Date": "Sun, 17 Sep 2017 20:36:36 +0800",
        "Message-Id": "<1505651798-106642-1-git-send-email-robert.hu@linux.intel.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "Sender": "netdev-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<netdev.vger.kernel.org>",
        "X-Mailing-List": "netdev@vger.kernel.org"
    },
    "content": "From: Robert Hoo <robert.hu@intel.com>\n\nIt's hard to benchmark 40G+ network bandwidth using ordinary\ntools like iperf, netperf (see reference 1). \nPktgen, packet generator from Kernel sapce, shall be a candidate.\nI derived this NUMA awared irq affinity sample script from\nmulti-queue sample02, successfully benchmarked 40G link. I think this can\nalso be useful for 100G reference, though I haven't got device to test yet.\n\nThis script simply does:\nDetect $DEV's NUMA node belonging.\nBind each thread (processor of NUMA locality) with each $DEV queue's\nirq affinity, 1:1 mapping.\nHow many '-t' threads input determines how many queues will be\nutilized.\nIf '-f' designates first cpu id, then offset in the NUMA node's cpu\nlist.\n\nTested with Intel XL710 NIC with Cisco 3172 switch.\n\nReferrences:\nhttps://people.netfilter.org/hawk/presentations/LCA2015/net_stack_challenges_100G_LCA2015.pdf\nhttp://www.intel.cn/content/dam/www/public/us/en/documents/reference-guides/xl710-x710-performance-tuning-linux-guide.pdf\n\nChange log\nv2:\n\tRebased to https://github.com/netoptimizer/network-testing/tree/master/pktgen\n\tMove helper functions to functions.sh\n\tMore concise shell grammar usage\n\tTake '-f' parameter into consideration. If the first CPU is designaed,\noffset in the NUMA-aware CPU list.\n\tUse err(), info() helper functions for such outputs.\n\nRobert Hoo (2):\n  Add some helper functions\n  Add pktgen script: pktgen_sample06_numa_awared_queue_irq_affinity.sh\n\n pktgen/functions.sh                                | 44 ++++++++++\n ...tgen_sample06_numa_awared_queue_irq_affinity.sh | 97 ++++++++++++++++++++++\n 2 files changed, 141 insertions(+)\n create mode 100755 pktgen/pktgen_sample06_numa_awared_queue_irq_affinity.sh"
}