linux-rdma / qperf Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v2.0
License: GNU General Public License v2.0
I cannot find an official announcement, but it looks like SDP has been deprecated/obsolete for quite some time. It seems like sdp_bw and sdp_lat should be removed from qperf's set of tests.
The current behavior (debian 8, kernel 3.16.0-4, libsdp-1.1.99-2.1) is that qperf reports:
# LD_PRELOAD=libsdp.so qperf
unable to bind to listen port
/tmp/libsdp.1000.log:
Thu Nov 16 23:20:06 2017 qperf[2287] libsdp Error socket: <97> calling socket for SDP socket
97 == EAFNOSUPPORT returned from the call to socket(AF_INET_SDP...).
For the sake of identifying prior art: RHEL's qperf-0.4.9-3.el7.src.rpm has a patch that removes the sdp tests from src/help.txt, although it does not remove the tests from the source code.
Likely paths toward resolution appear to be:
Thoughts?
Thank you for this great project, super useful for ib testing.
However, i have roughly looked into the source code, and found that --flip argument is actually not implemented.
Does the team have plan to work on this feature? Or, does '--flip' only work for certain tests?
The cleanup script is leaving the build-generated compile script. It should be removed.
# ./autogen.sh
# ./configure
# make
# make clean
# ./cleanup
# git status
On branch master
Your branch is up to date with 'origin/master'.
Untracked files:
(use "git add <file>..." to include in what will be committed)
compile
qperf failed to build on today's update of debian sid.
In file included from rdma.c:43:0:
/usr/include/rdma/rdma_cma.h:91:2: error: unknown type name ‘__be16’
__be16 pkey;
^~~~~~
/usr/include/rdma/rdma_cma.h:588:1: error: unknown type name ‘__be16’; did you mean ‘htobe16’?
__be16 rdma_get_src_port(struct rdma_cm_id *id);
^~~~~~
htobe16
/usr/include/rdma/rdma_cma.h:589:1: error: unknown type name ‘__be16’; did you mean ‘htobe16’?
__be16 rdma_get_dst_port(struct rdma_cm_id *id);
^~~~~~
htobe16
Makefile:386: recipe for target 'rdma.o' failed
I did benchmark via kubestone.
What do loc_cpus_used and rem_cpus_used mean? Can you tell me where can I find all the performance index definitions?
Hi,
In qperf.c, VER_INC equal 11, but in configure.ac and qperf.spec, the version is 0.4.10.
Can you please update those 2 files ?
qperf is written against an old version of the ibverbs XRC API. The build fails to detect that ibverbs is XRC-capable. Also, if XRC detection is corrected, the current XRC code fails to build.
This patch corrects XRC detection:
--- a/configure.in
+++ b/configure.in
@@ -2,7 +2,7 @@
AM_INIT_AUTOMAKE(qperf, 0.4.10)
AC_PROG_CC
AC_CHECK_LIB(ibverbs, ibv_open_device, RDMA=1)
-AC_CHECK_LIB(ibverbs, ibv_open_xrc_domain, HAS_XRC=1)
+AC_CHECK_LIB(ibverbs, ibv_cmd_open_xrcd, HAS_XRC=1)
AC_CHECK_LIB(rdmacm, rdma_create_id)
AM_CONDITIONAL(RDMA, test -n "$RDMA")
AM_CONDITIONAL(HAS_XRC, test -n "$HAS_XRC")
Once that change is made, the build fails due to:
How to use qperf on one machine with multiple NICs, and how to specify different NICs
IMHO, adding a feature like IPv6 support (#13) probably warrants increasing the minor version, e.g., 0.4.10 -> 0.5.0. (Any idea why this is still at version zero?) Either way, can you add a tag and put the release on https://github.com/linux-rdma/qperf/releases?
qperf --help tests
documents XRC tests, but reports "bad test" when those tests are chosen for execution.
# qperf --help tests| grep xrc
xrc_bi_bw XRC streaming two way bandwidth
xrc_bw XRC streaming one way bandwidth
xrc_lat XRC one way latency
# qperf host1 xrc_bw
xrc_bw: bad test; try: qperf --help tests
# qperf host1 xrc_lat
xrc_lat: bad test; try: qperf --help tests
# qperf host1 xrc_bw_bw
xrc_bw_bw: bad test; try: qperf --help tests
There are two issues with configure.in:
Line 1586 in aa644b2
the FMT miss one parameter for n->srqn, may be the srqn need to delete.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.