Commit 0c29f9f
nvme/tcp: Add wq_unbound modparam for nvme_tcp_wq
The default nvme_tcp_wq will use all CPUs to process tasks. Sometimes it is
necessary to set CPU affinity to improve performance.
A new module parameter wq_unbound is added here. If set to true, users can
configure cpu affinity through
/sys/devices/virtual/workqueue/nvme_tcp_wq/cpumask.
Signed-off-by: Li Feng <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Signed-off-by: Keith Busch <[email protected]>1 parent ec58afb commit 0c29f9f
1 file changed
+18
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
39 | 47 | | |
40 | 48 | | |
41 | 49 | | |
| |||
1551 | 1559 | | |
1552 | 1560 | | |
1553 | 1561 | | |
1554 | | - | |
| 1562 | + | |
| 1563 | + | |
| 1564 | + | |
| 1565 | + | |
1555 | 1566 | | |
1556 | 1567 | | |
1557 | 1568 | | |
| |||
2790 | 2801 | | |
2791 | 2802 | | |
2792 | 2803 | | |
| 2804 | + | |
| 2805 | + | |
2793 | 2806 | | |
2794 | 2807 | | |
2795 | 2808 | | |
| |||
2799 | 2812 | | |
2800 | 2813 | | |
2801 | 2814 | | |
2802 | | - | |
2803 | | - | |
| 2815 | + | |
| 2816 | + | |
| 2817 | + | |
| 2818 | + | |
2804 | 2819 | | |
2805 | 2820 | | |
2806 | 2821 | | |
| |||
0 commit comments