GNU bug report logs -
#40617
sysbench (New package)
Previous Next
Reported by: Eric Brown <ecbrown <at> ericcbrown.com>
Date: Tue, 14 Apr 2020 02:17:02 UTC
Severity: normal
Tags: moreinfo
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
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 40617 in the body.
You can then email your comments to 40617 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#40617
; Package
guix-patches
.
(Tue, 14 Apr 2020 02:17:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Eric Brown <ecbrown <at> ericcbrown.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Tue, 14 Apr 2020 02:17:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Dear All,
Please see attached a patch for sysbench, a benchmarking utility.
Best regards,
Eric
[sysbench.patch (text/x-diff, inline)]
From 4906fb3db0482cbb5862f8f56e6e107499dee2d8 Mon Sep 17 00:00:00 2001
From: Eric Brown <ecbrown <at> ericcbrown.com>
Date: Mon, 13 Apr 2020 20:34:11 -0500
Subject: [PATCH] gnu: Add sysbench.
* gnu/packages/benchmark.scm (sysbench): New variable.
---
gnu/packages/benchmark.scm | 64 ++++++++++++++++++++++++++++++++++++++
1 file changed, 64 insertions(+)
diff --git a/gnu/packages/benchmark.scm b/gnu/packages/benchmark.scm
index 4e6c416518..b27cd5436e 100644
--- a/gnu/packages/benchmark.scm
+++ b/gnu/packages/benchmark.scm
@@ -7,6 +7,7 @@
;;; Copyright © 2019 Gábor Boskovits <boskovits <at> gmail.com>
;;; Copyright © 2019 Ludovic Courtès <ludo <at> gnu.org>
;;; Copyright © 2020 Vincent Legoll <vincent.legoll <at> gmail.com>
+;;; Copyright © 2020 Eric Brown <ecbrown <at> ericcbrown.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -31,16 +32,22 @@
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (gnu packages)
+ #:use-module (gnu packages autotools)
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
+ #:use-module (gnu packages databases)
#:use-module (gnu packages linux)
+ #:use-module (gnu packages lua)
+ #:use-module (gnu packages m4)
#:use-module (gnu packages maths)
#:use-module (gnu packages mpi)
#:use-module (gnu packages perl)
+ #:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-science)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages storage)
+ #:use-module (gnu packages tls)
#:use-module (ice-9 match))
(define-public fio
@@ -258,3 +265,60 @@ 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))) ;GPL 2 only, see copyright.txt
+
+(define-public sysbench
+ (package
+ (name "sysbench")
+ (version "1.0.19")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/akopytov/sysbench")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1zgqb9cr7ld3vw4a3jhq1mlszhcyjlpr0c8q1jcp1d27l9dcvd1w"))
+ (modules '((guix build utils)))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ; until shebangs fixed
+ #:configure-flags '("--with-system-luajit")
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'bootstrap)
+ (add-after 'patch-source-shebangs 'libtoolize
+ (lambda _ (invoke "libtoolize" "--copy" "--force")))
+ (add-after 'libtoolize 'aclocal
+ (lambda _ (invoke "aclocal" "-I" "m4")))
+ (add-after 'aclocal 'autoreconf
+ (lambda _ (invoke "autoreconf" "--install")))
+ (add-after 'autoreconf 'automake
+ (lambda _ (invoke "automake"
+ "-c" "--foreign" "--add-missing")))
+ (add-after 'automake 'autoconf
+ (lambda _ (invoke "autoconf"))))))
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("libtool" ,libtool)
+ ("lua" ,lua)
+ ("m4" ,m4)
+ ("perl" ,perl)
+ ("pkg-config" ,pkg-config)
+ ("python" ,python-minimal)))
+ (inputs
+ `(("libaio" ,libaio)
+ ("luajit" ,luajit)
+ ("mysql" ,mysql)
+ ("openssl" ,openssl)
+ ("postgresql" ,postgresql)
+ ("zlib" ,zlib)))
+ (home-page "https://github.com/akopytov/sysbench/")
+ (synopsis "Scriptable multi-threaded benchmark tool ")
+ (description "sysbench is a scriptable multi-threaded benchmark tool based
+on LuaJIT. It is most frequently used for database benchmarks, but can also be
+used to create arbitrarily complex workloads that do not involve a database
+server.")
+ (license license:gpl2+)))
+
--
2.26.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#40617
; Package
guix-patches
.
(Tue, 28 Apr 2020 08:17:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 40617 <at> debbugs.gnu.org (full text, mbox):
Hello Eric,
Thanks for the patch.
> + (version "1.0.19")
Looks like 1.0.20 is out there.
> + (source
> + (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/akopytov/sysbench")
> + (commit version)))
> + (file-name (git-file-name name version))
> + (sha256
> + (base32 "1zgqb9cr7ld3vw4a3jhq1mlszhcyjlpr0c8q1jcp1d27l9dcvd1w"))
> + (modules '((guix build utils)))))
> + (build-system gnu-build-system)
> + (arguments
> + `(#:tests? #f ; until shebangs fixed
Tests can run but you actually need to modify run_tests.sh so that it's
able to locate the python interpreter.
> + (modify-phases %standard-phases
> + (delete 'bootstrap)
> + (add-after 'patch-source-shebangs 'libtoolize
> + (lambda _ (invoke "libtoolize" "--copy" "--force")))
> + (add-after 'libtoolize 'aclocal
> + (lambda _ (invoke "aclocal" "-I" "m4")))
> + (add-after 'aclocal 'autoreconf
> + (lambda _ (invoke "autoreconf" "--install")))
> + (add-after 'autoreconf 'automake
> + (lambda _ (invoke "automake"
> + "-c" "--foreign" "--add-missing")))
> + (add-after 'automake 'autoconf
> + (lambda _ (invoke "autoconf"))))))
You can remove all this block by just adding "which" to the
native-inputs list :)
> + (synopsis "Scriptable multi-threaded benchmark tool ")
Trailing space at the end of the sentence.
> + (description "sysbench is a scriptable multi-threaded benchmark tool based
> +on LuaJIT. It is most frequently used for database benchmarks, but can also be
> +used to create arbitrarily complex workloads that do not involve a database
> +server.")
Please remember to run `guix lint' before submitting.
Thanks,
Mathieu
Information forwarded
to
guix-patches <at> gnu.org
:
bug#40617
; Package
guix-patches
.
(Tue, 28 Apr 2020 08:29:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 40617 <at> debbugs.gnu.org (full text, mbox):
Hello Eric,
Thanks for the patch.
> + (version "1.0.19")
Looks like 1.0.20 is out there.
> + (source
> + (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/akopytov/sysbench")
> + (commit version)))
> + (file-name (git-file-name name version))
> + (sha256
> + (base32 "1zgqb9cr7ld3vw4a3jhq1mlszhcyjlpr0c8q1jcp1d27l9dcvd1w"))
> + (modules '((guix build utils)))))
> + (build-system gnu-build-system)
> + (arguments
> + `(#:tests? #f ; until shebangs fixed
Tests can run but you actually need to modify run_tests.sh so that it's
able to locate the python interpreter.
> + (modify-phases %standard-phases
> + (delete 'bootstrap)
> + (add-after 'patch-source-shebangs 'libtoolize
> + (lambda _ (invoke "libtoolize" "--copy" "--force")))
> + (add-after 'libtoolize 'aclocal
> + (lambda _ (invoke "aclocal" "-I" "m4")))
> + (add-after 'aclocal 'autoreconf
> + (lambda _ (invoke "autoreconf" "--install")))
> + (add-after 'autoreconf 'automake
> + (lambda _ (invoke "automake"
> + "-c" "--foreign" "--add-missing")))
> + (add-after 'automake 'autoconf
> + (lambda _ (invoke "autoconf"))))))
You can remove all this block by just adding "which" to the
native-inputs list :)
> + (synopsis "Scriptable multi-threaded benchmark tool ")
Trailing space at the end of the sentence.
> + (description "sysbench is a scriptable multi-threaded benchmark tool based
> +on LuaJIT. It is most frequently used for database benchmarks, but can also be
> +used to create arbitrarily complex workloads that do not involve a database
> +server.")
Please remember to run `guix lint' before submitting.
Thanks,
Mathieu
Information forwarded
to
guix-patches <at> gnu.org
:
bug#40617
; Package
guix-patches
.
(Sat, 25 Jul 2020 02:16:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 40617 <at> debbugs.gnu.org (full text, mbox):
tags 40617 moreinfo
Added tag(s) moreinfo.
Request was from
Brett Gilio <brettg <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sat, 25 Jul 2020 02:16:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#40617
; Package
guix-patches
.
(Sat, 21 Nov 2020 10:28:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 40617 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
It's been a few months, is this patch still relevant?
Thanks,
Chris
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#40617
; Package
guix-patches
.
(Wed, 26 May 2021 22:30:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 40617 <at> debbugs.gnu.org (full text, mbox):
Hi Chris,
Sorry this fell through the cracks. Yes, I would like to have this patch because it's useful to have benchmarks in the various contexts where I use Guix. This package makes it easy to get some, and is libre.
Best regards,
Eric
On Sat, Nov 21, 2020, at 4:27 AM, Christopher Baines wrote:
>
> It's been a few months, is this patch still relevant?
>
> Thanks,
>
> Chris
>
> Attachments:
> * signature.asc
Reply sent
to
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
:
You have taken responsibility.
(Mon, 21 Mar 2022 17:38:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Eric Brown <ecbrown <at> ericcbrown.com>
:
bug acknowledged by developer.
(Mon, 21 Mar 2022 17:38:01 GMT)
Full text and
rfc822 format available.
Message #27 received at 40617-done <at> debbugs.gnu.org (full text, mbox):
Hello,
"Eric Brown" <ecbrown <at> ericcbrown.com> writes:
> Hi Chris,
>
> Sorry this fell through the cracks. Yes, I would like to have this patch because it's useful to have benchmarks in the various contexts where I use Guix. This package makes it easy to get some, and is libre.
>
> Best regards,
> Eric
>
> On Sat, Nov 21, 2020, at 4:27 AM, Christopher Baines wrote:
>>
>> It's been a few months, is this patch still relevant?
>>
>> Thanks,
>>
>> Chris
I didn't notice about this patch (apologies!) and submitted sysbench
independently in c886968bb161d7d53c17f9cd6dfb87be34446690 a few days
ago.
Thank you,
Closing.
Maxim
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 19 Apr 2022 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 6 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.