aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authorphilip <philip@FreeBSD.org>2018-06-08 22:51:46 +0800
committerphilip <philip@FreeBSD.org>2018-06-08 22:51:46 +0800
commit9682dcb0a8e123850f1d07ffa4d3d5b3b25f9931 (patch)
treee32c82ad846f9fa2673f7145a1f314beb74edbd0 /benchmarks
parent158b3cae06bf89e72650f9cb40946bd90b10aa94 (diff)
downloadfreebsd-ports-gnome-9682dcb0a8e123850f1d07ffa4d3d5b3b25f9931.tar.gz
freebsd-ports-gnome-9682dcb0a8e123850f1d07ffa4d3d5b3b25f9931.tar.zst
freebsd-ports-gnome-9682dcb0a8e123850f1d07ffa4d3d5b3b25f9931.zip
Add perftest 4.2.0.7, collection of tests for RDMA micro-benchmark.
Note that these tests will only work on systems with OFED support (make buildworld WITH_OFED=). PR: 228591 Submitted by: Slava Shwartsman <slavash@FreeBSD.org> Reviewed by: bapt
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/Makefile1
-rw-r--r--benchmarks/perftest/Makefile26
-rw-r--r--benchmarks/perftest/distinfo3
-rw-r--r--benchmarks/perftest/pkg-descr14
-rw-r--r--benchmarks/perftest/pkg-plist14
5 files changed, 58 insertions, 0 deletions
diff --git a/benchmarks/Makefile b/benchmarks/Makefile
index 84f606ad8162..54f7ab902879 100644
--- a/benchmarks/Makefile
+++ b/benchmarks/Makefile
@@ -55,6 +55,7 @@
SUBDIR += pathload
SUBDIR += pathrate
SUBDIR += pear-Benchmark
+ SUBDIR += perftest
SUBDIR += phoronix-test-suite
SUBDIR += pipebench
SUBDIR += polygraph
diff --git a/benchmarks/perftest/Makefile b/benchmarks/perftest/Makefile
new file mode 100644
index 000000000000..e753674e2b6a
--- /dev/null
+++ b/benchmarks/perftest/Makefile
@@ -0,0 +1,26 @@
+# Created by: Slava Shwartsman <slavash@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= perftest
+DISTVERSION= 4.2-0.7
+CATEGORIES= benchmarks
+
+MAINTAINER= slavash@FreeBSD.org
+COMMENT= Collection of tests for RDMA micro-benchmark
+
+LICENSE= LGPL21 BSD2CLAUSE
+LICENSE_COMB= dual
+
+.if !exists(/usr/lib/libibverbs.so)
+IGNORE= missing OFED user space
+.endif
+
+USES= autoreconf libtool
+
+USE_GITHUB= yes
+GH_ACCOUNT= linux-rdma
+GH_TAGNAME= V4.2-0.7
+
+GNU_CONFIGURE=yes
+
+.include <bsd.port.mk>
diff --git a/benchmarks/perftest/distinfo b/benchmarks/perftest/distinfo
new file mode 100644
index 000000000000..46704df6a84c
--- /dev/null
+++ b/benchmarks/perftest/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1526476189
+SHA256 (linux-rdma-perftest-4.2-0.7-V4.2-0.7_GH0.tar.gz) = c376e7232508fad50f34845a364a23400bd542140388702ba28748cc4496bce5
+SIZE (linux-rdma-perftest-4.2-0.7-V4.2-0.7_GH0.tar.gz) = 139384
diff --git a/benchmarks/perftest/pkg-descr b/benchmarks/perftest/pkg-descr
new file mode 100644
index 000000000000..78c15be83d03
--- /dev/null
+++ b/benchmarks/perftest/pkg-descr
@@ -0,0 +1,14 @@
+This is a collection of tests written over uverbs intended for use as a
+performance micro-benchmark. The tests may be used for HW or SW tuning
+as well as for functional testing.
+
+The collection contains a set of bandwidth and latency benchmark such as:
+
+ * Send - ib_send_bw and ib_send_lat
+ * RDMA Read - ib_read_bw and ib_read_lat
+ * RDMA Write - ib_write_bw and ib_wriet_lat
+ * RDMA Atomic - ib_atomic_bw and ib_atomic_lat
+ * Native Ethernet (when working with MOFED2) -
+ raw_ethernet_bw, raw_ethernet_lat
+
+WWW: https://github.com/linux-rdma/perftest/
diff --git a/benchmarks/perftest/pkg-plist b/benchmarks/perftest/pkg-plist
new file mode 100644
index 000000000000..2c50d82c3e6b
--- /dev/null
+++ b/benchmarks/perftest/pkg-plist
@@ -0,0 +1,14 @@
+bin/ib_send_bw
+bin/ib_send_lat
+bin/ib_write_lat
+bin/ib_write_bw
+bin/ib_read_lat
+bin/ib_read_bw
+bin/ib_atomic_lat
+bin/ib_atomic_bw
+bin/raw_ethernet_bw
+bin/raw_ethernet_lat
+bin/raw_ethernet_burst_lat
+bin/raw_ethernet_fs_rate
+bin/run_perftest_loopback
+bin/run_perftest_multi_devices