GNU bug report logs - #32601
[PATCH] gnu: Add perftest.

Previous Next

Package: guix-patches;

Reported by: Manuel Graf <graf <at> init.at>

Date: Fri, 31 Aug 2018 15:18:01 UTC

Severity: normal

Tags: patch

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 32601 in the body.
You can then email your comments to 32601 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#32601; Package guix-patches. (Fri, 31 Aug 2018 15:18:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Manuel Graf <graf <at> init.at>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 31 Aug 2018 15:18:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Manuel Graf <graf <at> init.at>
To: guix-patches <at> gnu.org
Cc: Manuel Graf <graf <at> init.at>
Subject: [PATCH] gnu: Add perftest.
Date: Fri, 31 Aug 2018 17:00:19 +0200
* gnu/packages/linux.scm (perftest): New variable.
---
 gnu/packages/linux.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 63b3ece8e..f46877561 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -3622,6 +3622,39 @@ The following service daemons are also provided:
            license:cc0               ; most files in ccan/
            license:bsd-3))))         ; providers/hfi1verbs are dual GPL2/BSD-3
 
+(define-public perftest
+  (package
+    (name "perftest")
+    (version "4.2-0.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/linux-rdma/perftest/releases/download/V"
+                           version
+                           "/perftest-"
+                           version
+                           ".g0e24e67.tar.gz"))
+       (sha256
+        (base32 "1r3pxn7cx3grb8myb4q1b0pk447pc06cifd0v7ym13xw00372dlx"))
+       (patches (search-patches "linux-perftest-fix-netinet-ip.h-includes.patch"))))
+    (build-system gnu-build-system)
+    (inputs `(("rdma-core" ,rdma-core)))
+    (home-page "https://github.com/linux-rdma/perftest/")
+    (synopsis "Open Fabrics Enterprise Distribution (OFED) Performance Tests")
+    (description "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:
+@enumerate
+@item Send        - @code{ib_send_bw} and @code{ib_send_lat}
+@item RDMA Read   - @code{ib_read_bw} and @code{ib_read_lat}
+@item RDMA Write  - @code{ib_write_bw} and @code{ib_wriet_lat}
+@item RDMA Atomic - @code{ib_atomic_bw} and @code{ib_atomic_lat}
+@item Native Ethernet (when working with MOFED2) - @code{raw_ethernet_bw}, @code{raw_ethernet_lat}
+@end enumerate")
+    (license license:gpl2)))
+
 (define-public rng-tools
   (package
     (name "rng-tools")
-- 
2.14.4






Information forwarded to guix-patches <at> gnu.org:
bug#32601; Package guix-patches. (Fri, 31 Aug 2018 15:26:02 GMT) Full text and rfc822 format available.

Message #8 received at 32601 <at> debbugs.gnu.org (full text, mbox):

From: Manuel Graf <graf <at> init.at>
To: 32601 <at> debbugs.gnu.org
Cc: Manuel Graf <graf <at> init.at>
Subject: [PATCH] gnu: Add perftest.
Date: Fri, 31 Aug 2018 17:24:42 +0200
* gnu/packages/linux.scm (perftest): New variable.
---
 gnu/packages/linux.scm                             | 33 ++++++++
 .../linux-perftest-fix-netinet-ip.h-includes.patch | 96 ++++++++++++++++++++++
 2 files changed, 129 insertions(+)
 create mode 100644 gnu/packages/patches/linux-perftest-fix-netinet-ip.h-includes.patch

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 63b3ece8e..f46877561 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -3622,6 +3622,39 @@ The following service daemons are also provided:
            license:cc0               ; most files in ccan/
            license:bsd-3))))         ; providers/hfi1verbs are dual GPL2/BSD-3
 
+(define-public perftest
+  (package
+    (name "perftest")
+    (version "4.2-0.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/linux-rdma/perftest/releases/download/V"
+                           version
+                           "/perftest-"
+                           version
+                           ".g0e24e67.tar.gz"))
+       (sha256
+        (base32 "1r3pxn7cx3grb8myb4q1b0pk447pc06cifd0v7ym13xw00372dlx"))
+       (patches (search-patches "linux-perftest-fix-netinet-ip.h-includes.patch"))))
+    (build-system gnu-build-system)
+    (inputs `(("rdma-core" ,rdma-core)))
+    (home-page "https://github.com/linux-rdma/perftest/")
+    (synopsis "Open Fabrics Enterprise Distribution (OFED) Performance Tests")
+    (description "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:
+@enumerate
+@item Send        - @code{ib_send_bw} and @code{ib_send_lat}
+@item RDMA Read   - @code{ib_read_bw} and @code{ib_read_lat}
+@item RDMA Write  - @code{ib_write_bw} and @code{ib_wriet_lat}
+@item RDMA Atomic - @code{ib_atomic_bw} and @code{ib_atomic_lat}
+@item Native Ethernet (when working with MOFED2) - @code{raw_ethernet_bw}, @code{raw_ethernet_lat}
+@end enumerate")
+    (license license:gpl2)))
+
 (define-public rng-tools
   (package
     (name "rng-tools")
diff --git a/gnu/packages/patches/linux-perftest-fix-netinet-ip.h-includes.patch b/gnu/packages/patches/linux-perftest-fix-netinet-ip.h-includes.patch
new file mode 100644
index 000000000..d9cb8cff4
--- /dev/null
+++ b/gnu/packages/patches/linux-perftest-fix-netinet-ip.h-includes.patch
@@ -0,0 +1,96 @@
+From cfc1c97189e074935c198c2e939e27832808dbed Mon Sep 17 00:00:00 2001
+From: Manuel Graf <graf <at> init.at>
+Date: Mon, 27 Aug 2018 14:19:41 +0200
+Subject: [PATCH] fix netinet/ip.h include
+
+do not use absolute path of header file in include directives.
+---
+ src/raw_ethernet_fs_rate.c        | 2 +-
+ src/raw_ethernet_resources.c      | 2 +-
+ src/raw_ethernet_resources.h      | 2 +-
+ src/raw_ethernet_send_burst_lat.c | 2 +-
+ src/raw_ethernet_send_bw.c        | 2 +-
+ src/raw_ethernet_send_lat.c       | 2 +-
+ 6 files changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/src/raw_ethernet_fs_rate.c b/src/raw_ethernet_fs_rate.c
+index f20c4ed..d9accd7 100755
+--- a/src/raw_ethernet_fs_rate.c
++++ b/src/raw_ethernet_fs_rate.c
+@@ -45,7 +45,7 @@
+ #include <string.h>
+ #include <signal.h>
+ #include <getopt.h>
+-#include </usr/include/netinet/ip.h>
++#include <netinet/ip.h>
+ #include <poll.h>
+ #include "perftest_parameters.h"
+ #include "perftest_resources.h"
+diff --git a/src/raw_ethernet_resources.c b/src/raw_ethernet_resources.c
+index 290855e..555e54d 100755
+--- a/src/raw_ethernet_resources.c
++++ b/src/raw_ethernet_resources.c
+@@ -45,7 +45,7 @@
+ #include <signal.h>
+ #include <getopt.h>
+ #include <unistd.h>
+-#include </usr/include/netinet/ip.h>
++#include <netinet/ip.h>
+ #include <poll.h>
+ #include "perftest_parameters.h"
+ #include "perftest_resources.h"
+diff --git a/src/raw_ethernet_resources.h b/src/raw_ethernet_resources.h
+index 9be98e4..39ae157 100755
+--- a/src/raw_ethernet_resources.h
++++ b/src/raw_ethernet_resources.h
+@@ -13,7 +13,7 @@
+ #include <string.h>
+ #include <signal.h>
+ #include <getopt.h>
+-#include </usr/include/netinet/ip.h>
++#include <netinet/ip.h>
+ #include <poll.h>
+ #include "perftest_parameters.h"
+ #include "perftest_resources.h"
+diff --git a/src/raw_ethernet_send_burst_lat.c b/src/raw_ethernet_send_burst_lat.c
+index ccc077c..f351a68 100755
+--- a/src/raw_ethernet_send_burst_lat.c
++++ b/src/raw_ethernet_send_burst_lat.c
+@@ -45,7 +45,7 @@
+ #include <string.h>
+ #include <signal.h>
+ #include <getopt.h>
+-#include </usr/include/netinet/ip.h>
++#include <netinet/ip.h>
+ #include <poll.h>
+ #include "perftest_parameters.h"
+ #include "perftest_resources.h"
+diff --git a/src/raw_ethernet_send_bw.c b/src/raw_ethernet_send_bw.c
+index e3ec1b0..c7bd8be 100755
+--- a/src/raw_ethernet_send_bw.c
++++ b/src/raw_ethernet_send_bw.c
+@@ -45,7 +45,7 @@
+ #include <string.h>
+ #include <signal.h>
+ #include <getopt.h>
+-#include </usr/include/netinet/ip.h>
++#include <netinet/ip.h>
+ #include <poll.h>
+ #include "perftest_parameters.h"
+ #include "perftest_resources.h"
+diff --git a/src/raw_ethernet_send_lat.c b/src/raw_ethernet_send_lat.c
+index a9e3715..4aec524 100755
+--- a/src/raw_ethernet_send_lat.c
++++ b/src/raw_ethernet_send_lat.c
+@@ -45,7 +45,7 @@
+ #include <string.h>
+ #include <signal.h>
+ #include <getopt.h>
+-#include </usr/include/netinet/ip.h>
++#include <netinet/ip.h>
+ #include <poll.h>
+ #include "perftest_parameters.h"
+ #include "perftest_resources.h"
+-- 
+2.14.4
+
-- 
2.14.4






Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Sat, 01 Sep 2018 17:43:01 GMT) Full text and rfc822 format available.

Notification sent to Manuel Graf <graf <at> init.at>:
bug acknowledged by developer. (Sat, 01 Sep 2018 17:43:02 GMT) Full text and rfc822 format available.

Message #13 received at 32601-done <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Manuel Graf <graf <at> init.at>
Cc: 32601-done <at> debbugs.gnu.org
Subject: Re: [bug#32601] [PATCH] gnu: Add perftest.
Date: Sat, 1 Sep 2018 13:42:16 -0400
[Message part 1 (text/plain, inline)]
On Fri, Aug 31, 2018 at 05:24:42PM +0200, Manuel Graf wrote:
> * gnu/packages/linux.scm (perftest): New variable.

Thanks!

I replaced the patch file that fixed the header paths with a
"substitution" in the package definition itself and pushed as
d8b98ecf97d4764297d29ff6d78995f8dab4c3c2.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#32601; Package guix-patches. (Sat, 01 Sep 2018 21:53:01 GMT) Full text and rfc822 format available.

Message #16 received at 32601-done <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Manuel Graf <graf <at> init.at>
Cc: 32601-done <at> debbugs.gnu.org
Subject: Re: [bug#32601] [PATCH] gnu: Add perftest.
Date: Sat, 1 Sep 2018 17:52:18 -0400
[Message part 1 (text/plain, inline)]
On Sat, Sep 01, 2018 at 01:42:16PM -0400, Leo Famulari wrote:
> On Fri, Aug 31, 2018 at 05:24:42PM +0200, Manuel Graf wrote:
> > * gnu/packages/linux.scm (perftest): New variable.
> 
> Thanks!
> 
> I replaced the patch file that fixed the header paths with a
> "substitution" in the package definition itself and pushed as
> d8b98ecf97d4764297d29ff6d78995f8dab4c3c2.

The push failed initially, so your patch was actually pushed as
a0a273c1eec438c80cf0c716987514e551b3b8f4. Sorry for any confusion!
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#32601; Package guix-patches. (Tue, 11 Sep 2018 14:24:01 GMT) Full text and rfc822 format available.

Message #19 received at 32601 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Manuel Graf <graf <at> init.at>
Cc: 32601 <at> debbugs.gnu.org
Subject: Re: [bug#32601] [PATCH] gnu: Add perftest.
Date: Tue, 11 Sep 2018 16:23:42 +0200
[Message part 1 (text/plain, inline)]
Hi,

could you report this problem upstream?  Sounds like an oversight on their part...
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#32601; Package guix-patches. (Tue, 11 Sep 2018 14:46:01 GMT) Full text and rfc822 format available.

Message #22 received at 32601 <at> debbugs.gnu.org (full text, mbox):

From: Manuel Graf <graf <at> init.at>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: "32601 <at> debbugs.gnu.org" <32601 <at> debbugs.gnu.org>
Subject: Re: [bug#32601] [PATCH] gnu: Add perftest.
Date: Tue, 11 Sep 2018 14:45:10 +0000
[Message part 1 (text/plain, inline)]
hi!


did so already.

i created this https://github.com/linux-rdma/perftest/pull/38 pull request.


cheers,


--

[http://freya.init.at/img/init-logo.jpg]
Manuel Graf
Teamlead & Technical Expert for HPC
[
t

]

        +43 1 522 53 77 61
[
m

]

        +43 676 84 66 30 61
[
e

]

        graf <at> init.at<mailto:{EmailAddress}>
[
w

]

        https://www.init.at
website<https://www.init.at/> | vCard<http://freya.init.at/vcard/graf.vcf> | map<https://www.google.at/maps/place/Fockygasse+29,+1120+Wien/@48.182264,16.3396115> | email<mailto:graf <at> init.at>

[Senat der Wirtschaft]
[http://freya.init.at/img/facebook.png]<https://www.facebook.com/initatHPC/>    [http://freya.init.at/img/twitter.png] <https://twitter.com/initatHPC>  [http://freya.init.at/img/linkedin.png] <https://at.linkedin.com/company/init-at-informationstechnologie-gmbh>  [http://freya.init.at/img/google.png] <https://plus.google.com/109530876666963951347>
        [Klimaneutrales Unternehmen]

init.at informationstechnologie GmbH | Fockygasse 29-31 | 1120 Wien
Firmenbuchnr.: FN 194213 h | Gerichtsstand: Wien

Diese Nachricht ist vertraulich und nur für den Adressaten bestimmt. Sollten Sie kein autorisierter Empfänger sein, ist jede Offenlegung, Weiterleitung oder sonstige Verwendung dieser Nachricht nicht gestattet. Bitte informieren Sie in diesem Fall den Absender und löschen Sie alle Kopien - vielen Dank.

This message is confidential and only intended for its recipient. If you are not the intended recipient, any disclosure, distribution or any other use of this mail is prohibited. In this case, please notify the sender and delete all copies of the message - thank you.


________________________________
From: Danny Milosavljevic <dannym <at> scratchpost.org>
Sent: Tuesday, September 11, 2018 4:23:42 PM
To: Manuel Graf
Cc: 32601 <at> debbugs.gnu.org
Subject: Re: [bug#32601] [PATCH] gnu: Add perftest.

Hi,

could you report this problem upstream?  Sounds like an oversight on their part...
[Message part 2 (text/html, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 10 Oct 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 338 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.