diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1851cdf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/qperf-0.4.9.tar.gz diff --git a/.qperf.metadata b/.qperf.metadata new file mode 100644 index 0000000..d9f0e65 --- /dev/null +++ b/.qperf.metadata @@ -0,0 +1 @@ +373cb1fcafc5bdd180c600a5d3a106342c182da2 SOURCES/qperf-0.4.9.tar.gz diff --git a/SOURCES/qperf-0.4.9-remove-sdp-references.patch b/SOURCES/qperf-0.4.9-remove-sdp-references.patch new file mode 100644 index 0000000..eedf418 --- /dev/null +++ b/SOURCES/qperf-0.4.9-remove-sdp-references.patch @@ -0,0 +1,97 @@ +Index: qperf-0.4.9/src/help.txt +=================================================================== +--- qperf-0.4.9.orig/src/help.txt ++++ qperf-0.4.9/src/help.txt +@@ -47,8 +47,6 @@ Categories -RDMA + rds_lat + sctp_bw + sctp_lat +- sdp_bw +- sdp_lat + tcp_bw + tcp_lat + udp_bw +@@ -79,8 +77,6 @@ Categories +RDMA + rds_lat + sctp_bw + sctp_lat +- sdp_bw +- sdp_lat + tcp_bw + tcp_lat + uc_bi_bw +@@ -106,8 +102,6 @@ Examples + hostname of myserver. + * To run a TCP bandwidth and latency test: + qperf myserver tcp_bw tcp_lat +- * To run a SDP bandwidth test for 10 seconds: +- qperf myserver -t 10 sdp_bw + * To run a UDP latency test and then cause the server to terminate: + qperf myserver udp_lat quit + * To measure the RDMA UD latency and bandwidth: +@@ -256,7 +250,7 @@ Options + --ip_port Port (-ip) + Use Port to run the socket tests. This is different from + --listen_port which is used for synchronization. This is only +- relevant for the socket tests and refers to the TCP/UDP/SDP/RDS/SCTP ++ relevant for the socket tests and refers to the TCP/UDP/RDS/SCTP + port that the test is run on. + --precision Digits (-e) + Set the number of significant digits that are used to report results. +@@ -363,8 +357,6 @@ Tests -RDMA + rds_lat RDS one way latency + sctp_bw SCTP streaming one way bandwidth + sctp_lat SCTP one way latency +- sdp_bw SDP streaming one way bandwidth +- sdp_lat SDP one way latency + tcp_bw TCP streaming one way bandwidth + tcp_lat TCP one way latency + udp_bw UDP streaming one way bandwidth +@@ -378,8 +370,6 @@ Tests +RDMA + rds_lat RDS one way latency + sctp_bw SCTP streaming one way bandwidth + sctp_lat SCTP one way latency +- sdp_bw SDP streaming one way bandwidth +- sdp_lat SDP one way latency + tcp_bw TCP streaming one way bandwidth + tcp_lat TCP one way latency + udp_bw UDP streaming one way bandwidth +@@ -490,38 +480,6 @@ sctp_lat + Description + A ping pong latency test where the server and client exchange messages + repeatedly using STCP sockets. +-sdp_bw +- Purpose +- SDP streaming one way bandwidth +- Common Options +- --access_recv OnOff (-ar) Access received data +- --cpu_affinity PN (-ca) Set processor affinity +- --msg_size Size (-m) Set message size +- --sock_buf_size Size (-sb) Set socket buffer size +- --time (-t) Set test duration +- Other Options +- --listen_port, --ip_port, --timeout +- Display Options +- --precision, --unify_nodes, --unify_units, --use_bits_per_sec, +- --verbose +- Description +- The client repeatedly sends messages to the server while the server +- notes how many were received. +-sdp_lat +- Purpose +- SDP one way latency +- Common Options +- --cpu_affinity PN (-ca) Set processor affinity +- --msg_size Size (-m) Set message size +- --sock_buf_size Size (-sb) Set socket buffer size +- --time (-t) Set test duration +- Other Options +- --listen_port, --ip_port, --timeout +- Display Options +- --precision, --unify_nodes, --unify_units, --verbose +- Description +- A ping pong latency test where the server and client exchange messages +- repeatedly using SDP sockets. + tcp_bw + Purpose + TCP streaming one way bandwidth diff --git a/SPECS/qperf.spec b/SPECS/qperf.spec new file mode 100644 index 0000000..b6b12a1 --- /dev/null +++ b/SPECS/qperf.spec @@ -0,0 +1,100 @@ +Name: qperf +Summary: Measure socket and RDMA performance +Version: 0.4.9 +Release: 3%{?dist} +License: GPLv2 or BSD +Group: Networking/Diagnostic +Url: http://www.openfabrics.org + +Source: http://www.openfabrics.org/downloads/%{name}/%{name}-%{version}.tar.gz +Patch0: qperf-0.4.9-remove-sdp-references.patch + +BuildRequires: libibverbs-devel >= 1.1.2-4, librdmacm-devel >= 1.0.8-5 +ExcludeArch: s390 s390x + +%description +Measure socket and RDMA performance. + +%prep +%setup -q +%patch0 -p1 + +%build +export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" +%configure +make %{?_smp_mflags} + +%install +make DESTDIR=%{buildroot} install + +%files +%doc COPYING +%_bindir/qperf +%_mandir/man1/qperf.1* + +%changelog +* Thu May 05 2016 Jarod Wilson - 0.4.9-3 +- Remove references to SDP, as it isn't supported in RHEL +- Resolves: rhbz#833712 + +* Fri Dec 27 2013 Daniel Mach - 0.4.9-2 +- Mass rebuild 2013-12-27 + +* Thu Aug 01 2013 Doug Ledford - 0.4.9-1 +- Update to latest upstream release +- Drop no longer needed patches + +* Mon Feb 18 2013 Peter Robinson 0.4.6-8 +- Build on ARM, modernise spec + +* Thu Feb 14 2013 Fedora Release Engineering - 0.4.6-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Dec 14 2012 Doug Ledford - 0.4.6-6 +- Fix the fact that qperf was using the wrong PF_RDS define now that RDS + is integrated upstream and its assigned number is no longer temporary + +* Sat Jul 21 2012 Fedora Release Engineering - 0.4.6-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 06 2012 Doug Ledford - 0.4.6-4 +- Initial import into Fedora + +* Fri Jul 22 2011 Doug Ledford - 0.4.6-3.el6 +- Fix failure to build on i686 +- Resolves: bz724899 + +* Mon Jan 25 2010 Doug Ledford - 0.4.6-2.el6 +- Cleanups for pkgwrangler import +- Related: bz543948 + +* Tue Dec 22 2009 Doug Ledford - 0.4.6-1.el5 +- Update to latest upstream version +- Related: bz518218 + +* Mon Jun 22 2009 Doug Ledford - 0.4.4-3.el5 +- Rebuild against libibverbs that isn't missing the proper ppc wmb() macro +- Related: bz506258 + +* Sun Jun 21 2009 Doug Ledford - 0.4.4-2.el5 +- Build against non-XRC libibverbs +- Update to ofed 1.4.1 final bits +- Related: bz506097, bz506258 + +* Sat Apr 18 2009 Doug Ledford - 0.4.4-1.el5 +- Update to ofed 1.4.1-rc3 version +- Related: bz459652 + +* Thu Sep 18 2008 Doug Ledford - 0.4.1-2 +- Add a build flag to silence some warnings + +* Wed Sep 17 2008 Doug Ledford - 0.4.1-1 +- Update to the qperf tarball found in the OFED-1.4-beta1 tarball +- Resolves: bz451483 + +* Tue Apr 01 2008 Doug Ledford - 0.4.0-1 +- Initial import to Red Hat repo management +- Related: bz428197 + +* Sat Oct 20 2007 - johann@georgex.org +- Initial package