Skip to content

Commit

Permalink
ntb: ntb perf tool
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dave Jiang authored and Jon Mason committed Jan 18, 2016
1 parent 8c874cc commit 8a7b6a7
Show file tree
Hide file tree
Showing 3 changed files with 757 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/ntb/test/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,11 @@ config NTB_TOOL
functioning at a basic level.

If unsure, say N.

config NTB_PERF
tristate "NTB RAW Perf Measuring Tool"
help
This is a tool to measure raw NTB performance by transferring data
to and from the window without additional software interaction.

If unsure, say N.
1 change: 1 addition & 0 deletions drivers/ntb/test/Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
obj-$(CONFIG_NTB_PINGPONG) += ntb_pingpong.o
obj-$(CONFIG_NTB_TOOL) += ntb_tool.o
obj-$(CONFIG_NTB_PERF) += ntb_perf.o
Loading

0 comments on commit 8a7b6a7

Please sign in to comment.