diff options
author | 2017-11-01 11:41:14 +0100 | |
---|---|---|
committer | 2017-11-02 14:19:53 +0900 | |
commit | 029e1ea65e37fd26c22012bf8828ab540e108767 (patch) | |
tree | f9bef76d0753513fc2b7666c2b0bf43f68723194 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | samples/pktgen: Add some helper functions (diff) | |
download | linux-dev-029e1ea65e37fd26c22012bf8828ab540e108767.tar.xz linux-dev-029e1ea65e37fd26c22012bf8828ab540e108767.zip |
samples/pktgen: add script pktgen_sample06_numa_awared_queue_irq_affinity.sh
This script simply does:
* Detect $DEV's NUMA node belonging.
* Bind each thread (processor of NUMA locality) with each $DEV queue's
irq affinity, 1:1 mapping.
* How many '-t' threads input determines how many queues will be utilized.
If '-f' designates first cpu id, then offset in the NUMA node's cpu list.
(Changes by Jesper: allow changing count from cmdline via '-n')
Signed-off-by: Robert Hoo <robert.hu@intel.com>
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions