* [bug#39731] [PATCH] gnu: benchmark: Add bonnie++
@ 2020-02-21 23:41 Vincent Legoll
2020-02-24 19:16 ` [bug#39731] [PATCH v2] " Vincent Legoll
0 siblings, 1 reply; 3+ messages in thread
From: Vincent Legoll @ 2020-02-21 23:41 UTC (permalink / raw)
To: 39731
[-- Attachment #1: Type: text/plain, Size: 85 bytes --]
Slightly tested in a x86_64 VM.
Description taken from wikipedia.
--
Vincent Legoll
[-- Attachment #2: 0001-gnu-benchmark-Add-bonnie.patch --]
[-- Type: text/x-patch, Size: 2120 bytes --]
From 3ae07227d95dc02b9cb802e9e07a425ac38f66f7 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Sat, 22 Feb 2020 00:37:23 +0100
Subject: [PATCH] gnu: benchmark: Add bonnie++. * gnu/packages/benchmark.scm
(bonnie++): New variable.
---
gnu/packages/benchmark.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/benchmark.scm b/gnu/packages/benchmark.scm
index 602681ac86..b084ef1f86 100644
--- a/gnu/packages/benchmark.scm
+++ b/gnu/packages/benchmark.scm
@@ -35,6 +35,7 @@
#:use-module (gnu packages linux)
#:use-module (gnu packages maths)
#:use-module (gnu packages mpi)
+ #:use-module (gnu packages perl)
#:use-module (gnu packages python)
#:use-module (gnu packages python-science)
#:use-module (gnu packages python-xyz)
@@ -231,3 +232,28 @@ This can give a much better understanding of the command's performance.")
"Benchmark is a library to benchmark code snippets,
similar to unit tests.")
(license license:asl2.0)))
+
+(define-public bonnie++
+ (package
+ (name "bonnie++")
+ (version "1.98")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://www.coker.com.au/bonnie++/bonnie++-"
+ version ".tgz"))
+ (sha256
+ (base32
+ "010bmlmi0nrlp3aq7p624sfaj5a65lswnyyxk3cnz1bqig0cn2vf"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("perl" ,perl)))
+ (arguments '(#:tests? #f)) ; there are no tests
+ (home-page "https://doc.coker.com.au/projects/bonnie/")
+ (synopsis "Hard drive and file system benchmark suite")
+ (description
+ "Bonnie++ is a benchmark suite that is aimed at performing a number of
+simple tests of hard drive and file system performance. Bonnie++ allows you to
+benchmark how your file systems perform with respect to data read and write
+speed, the number of seeks that can be performed per second, and the number of
+file metadata operations that can be performed per second.")
+ (license license:gpl2)))
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#39731] [PATCH v2] gnu: benchmark: Add bonnie++
2020-02-21 23:41 [bug#39731] [PATCH] gnu: benchmark: Add bonnie++ Vincent Legoll
@ 2020-02-24 19:16 ` Vincent Legoll
2020-02-26 20:46 ` bug#39731: " Marius Bakke
0 siblings, 1 reply; 3+ messages in thread
From: Vincent Legoll @ 2020-02-24 19:16 UTC (permalink / raw)
To: 39731
[-- Attachment #1: Type: text/plain, Size: 46 bytes --]
Forgot the (C) (again)...
--
Vincent Legoll
[-- Attachment #2: 0001-gnu-benchmark-Add-bonnie-v2.patch --]
[-- Type: text/x-patch, Size: 2418 bytes --]
From 8b572b851f8b41b8d344cd8b8040c8f62ac6dd27 Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Sat, 22 Feb 2020 00:37:23 +0100
Subject: [PATCH] gnu: benchmark: Add bonnie++.
* gnu/packages/benchmark.scm (bonnie++): New variable.
---
gnu/packages/benchmark.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/benchmark.scm b/gnu/packages/benchmark.scm
index 602681ac86..9a30d6952f 100644
--- a/gnu/packages/benchmark.scm
+++ b/gnu/packages/benchmark.scm
@@ -6,6 +6,7 @@
;;; Copyright © 2019 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2019 Gábor Boskovits <boskovits@gmail.com>
;;; Copyright © 2019 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © Vincent Legoll <vincent.legoll@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -35,6 +36,7 @@
#:use-module (gnu packages linux)
#:use-module (gnu packages maths)
#:use-module (gnu packages mpi)
+ #:use-module (gnu packages perl)
#:use-module (gnu packages python)
#:use-module (gnu packages python-science)
#:use-module (gnu packages python-xyz)
@@ -231,3 +233,28 @@ This can give a much better understanding of the command's performance.")
"Benchmark is a library to benchmark code snippets,
similar to unit tests.")
(license license:asl2.0)))
+
+(define-public bonnie++
+ (package
+ (name "bonnie++")
+ (version "1.98")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://www.coker.com.au/bonnie++/bonnie++-"
+ version ".tgz"))
+ (sha256
+ (base32
+ "010bmlmi0nrlp3aq7p624sfaj5a65lswnyyxk3cnz1bqig0cn2vf"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("perl" ,perl)))
+ (arguments '(#:tests? #f)) ; there are no tests
+ (home-page "https://doc.coker.com.au/projects/bonnie/")
+ (synopsis "Hard drive and file system benchmark suite")
+ (description
+ "Bonnie++ is a benchmark suite that is aimed at performing a number of
+simple tests of hard drive and file system performance. Bonnie++ allows you to
+benchmark how your file systems perform with respect to data read and write
+speed, the number of seeks that can be performed per second, and the number of
+file metadata operations that can be performed per second.")
+ (license license:gpl2)))
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#39731: [PATCH v2] gnu: benchmark: Add bonnie++
2020-02-24 19:16 ` [bug#39731] [PATCH v2] " Vincent Legoll
@ 2020-02-26 20:46 ` Marius Bakke
0 siblings, 0 replies; 3+ messages in thread
From: Marius Bakke @ 2020-02-26 20:46 UTC (permalink / raw)
To: Vincent Legoll, 39731-done
[-- Attachment #1: Type: text/plain, Size: 424 bytes --]
Vincent Legoll <vincent.legoll@gmail.com> writes:
> From 8b572b851f8b41b8d344cd8b8040c8f62ac6dd27 Mon Sep 17 00:00:00 2001
> From: Vincent Legoll <vincent.legoll@gmail.com>
> Date: Sat, 22 Feb 2020 00:37:23 +0100
> Subject: [PATCH] gnu: benchmark: Add bonnie++.
>
> * gnu/packages/benchmark.scm (bonnie++): New variable.
Applied, thanks!
It was difficult to find license information, so I added a small
comment about it.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-02-26 20:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-21 23:41 [bug#39731] [PATCH] gnu: benchmark: Add bonnie++ Vincent Legoll
2020-02-24 19:16 ` [bug#39731] [PATCH v2] " Vincent Legoll
2020-02-26 20:46 ` bug#39731: " Marius Bakke
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).