gnu: Add perftest.
* gnu/packages/linux.scm (perftest): New variable. Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
parent
37a0f47073
commit
a0a273c1ee
@ -29,6 +29,7 @@
|
||||
;;; Copyright © 2017 Dave Love <fx@gnu.org>
|
||||
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
|
||||
;;; Copyright © 2018 Brendan Tildesley <brendan.tildesley@openmailbox.org>
|
||||
;;; Copyright © 2018 Manuel Graf <graf@init.at>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
@ -3622,6 +3623,48 @@ 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"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-header-paths
|
||||
(lambda _
|
||||
(substitute* '("src/raw_ethernet_fs_rate.c"
|
||||
"src/raw_ethernet_resources.c"
|
||||
"src/raw_ethernet_resources.h"
|
||||
"src/raw_ethernet_send_burst_lat.c"
|
||||
"src/raw_ethernet_send_bw.c"
|
||||
"src/raw_ethernet_send_lat.c")
|
||||
(("/usr/include/netinet/ip.h") "netinet/ip.h"))
|
||||
#t)))))
|
||||
(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 hardware or
|
||||
software 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")
|
||||
|
Loading…
Reference in New Issue
Block a user