Skip to content

Commit 8a7b6a7

Browse files
davejiangjonmason
authored andcommitted
ntb: ntb perf tool
Providing raw performance data via a tool that directly access data from NTB w/o any software overhead. This allows measurement of the hardware performance limit. In revision one we are only doing single direction CPU and DMA writes. Eventually we will provide bi-directional writes. The measurement using DMA engine for NTB performance measure does not measure the raw performance of DMA engine over NTB due to software overhead. But it should provide the peak performance through the Linux DMA driver. Signed-off-by: Dave Jiang <dave.jiang@intel.com> Tested-by: Allen Hubbe <Allen.Hubbe@emc.com> Signed-off-by: Jon Mason <jdmason@kudzu.us>
1 parent 8c874cc commit 8a7b6a7

File tree

3 files changed

+757
-0
lines changed

3 files changed

+757
-0
lines changed

drivers/ntb/test/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,11 @@ config NTB_TOOL
1717
functioning at a basic level.
1818

1919
If unsure, say N.
20+
21+
config NTB_PERF
22+
tristate "NTB RAW Perf Measuring Tool"
23+
help
24+
This is a tool to measure raw NTB performance by transferring data
25+
to and from the window without additional software interaction.
26+
27+
If unsure, say N.

drivers/ntb/test/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
obj-$(CONFIG_NTB_PINGPONG) += ntb_pingpong.o
22
obj-$(CONFIG_NTB_TOOL) += ntb_tool.o
3+
obj-$(CONFIG_NTB_PERF) += ntb_perf.o

0 commit comments

Comments
 (0)