diff options
author | barner <barner@FreeBSD.org> | 2005-12-11 21:56:12 +0800 |
---|---|---|
committer | barner <barner@FreeBSD.org> | 2005-12-11 21:56:12 +0800 |
commit | 38cf19cd5bcaa97d8d1fdd3aac42b724fefd7344 (patch) | |
tree | ef87ef19f46912213dd7eb0432595e5a46f64fdb | |
parent | a8b8523fa2ba4f84f72188cf79d42950e6a041ea (diff) | |
download | freebsd-ports-graphics-38cf19cd5bcaa97d8d1fdd3aac42b724fefd7344.tar.gz freebsd-ports-graphics-38cf19cd5bcaa97d8d1fdd3aac42b724fefd7344.tar.zst freebsd-ports-graphics-38cf19cd5bcaa97d8d1fdd3aac42b724fefd7344.zip |
Add sysbench 0.4.3,
a modular, cross-platform and multi-threaded
benchmark tool.
PR: 90233
Submitted by: Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
-rw-r--r-- | benchmarks/Makefile | 1 | ||||
-rw-r--r-- | benchmarks/sysbench/Makefile | 41 | ||||
-rw-r--r-- | benchmarks/sysbench/distinfo | 3 | ||||
-rw-r--r-- | benchmarks/sysbench/pkg-descr | 21 | ||||
-rw-r--r-- | benchmarks/sysbench/pkg-plist | 3 |
5 files changed, 69 insertions, 0 deletions
diff --git a/benchmarks/Makefile b/benchmarks/Makefile index b91c9e2e41d..355d6bfe97b 100644 --- a/benchmarks/Makefile +++ b/benchmarks/Makefile @@ -43,6 +43,7 @@ SUBDIR += siege SUBDIR += stream SUBDIR += super-smack + SUBDIR += sysbench SUBDIR += tcpblast SUBDIR += thrulay SUBDIR += tmetric diff --git a/benchmarks/sysbench/Makefile b/benchmarks/sysbench/Makefile new file mode 100644 index 00000000000..0087cf823a3 --- /dev/null +++ b/benchmarks/sysbench/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: sysbench +# Date created: 2005-12-11 +# Whom: Gea-Suan Lin <gslin@ccca.nctu.edu.tw> +# +# $FreeBSD$ +# + +PORTNAME= sysbench +PORTVERSION= 0.4.3 +CATEGORIES= benchmarks databases +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= gslin@ccca.nctu.edu.tw +COMMENT= A modular, cross-platform and multi-threaded benchmark tool + +GNU_CONFIGURE= yes + +OPTIONS= MYSQL "Enable MySQL support" on \ + POSTGRESQL "Enable PostgreSQL support" off + +.include <bsd.port.pre.mk> + +.if !defined(WITHOUT_MYSQL) +USE_MYSQL= yes +CONFIGURE_ARGS+= --with-mysql +.endif + +.if defined(WITH_POSTGRESQL) +USE_PGSQL= yes +WANT_PGSQL_VER?= 80 +CONFIGURE_ARGS+= --with-pgsql +.endif + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/sysbench/sysbench ${PREFIX}/bin +.for FILE in sb_run.sh sb_test_ps.sh + ${INSTALL_SCRIPT} ${WRKSRC}/scripts/${FILE} ${PREFIX}/bin +.endfor + +.include <bsd.port.post.mk> diff --git a/benchmarks/sysbench/distinfo b/benchmarks/sysbench/distinfo new file mode 100644 index 00000000000..9941163c4f4 --- /dev/null +++ b/benchmarks/sysbench/distinfo @@ -0,0 +1,3 @@ +MD5 (sysbench-0.4.3.tar.gz) = 34ad20419aeeba78363a340d58ebca3a +SHA256 (sysbench-0.4.3.tar.gz) = 09ed77a640aa6bbcdf11430c9d4de1f6b7faf69dab54899ff5d5c957e40298d3 +SIZE (sysbench-0.4.3.tar.gz) = 480318 diff --git a/benchmarks/sysbench/pkg-descr b/benchmarks/sysbench/pkg-descr new file mode 100644 index 00000000000..d98c4960528 --- /dev/null +++ b/benchmarks/sysbench/pkg-descr @@ -0,0 +1,21 @@ +SysBench is a modular, cross-platform and multi-threaded benchmark tool +for evaluating OS parameters that are important for a system running a +database under intensive load. + +The idea of this benchmark suite is to quickly get an impression about +system performance without setting up complex database benchmarks or +even without installing a database at all. + +Current features allow to test the following system parameters: + + * file I/O performance + * scheduler performance + * memory allocation and transfer speed + * POSIX threads implementation performance + * database server performance (OLTP benchmark) + +Primarily written for MySQL server benchmarking, SysBench will be +further extended to support multiple database backends, distributed +benchmarks and third-party plug-in modules. + +WWW: http://sysbench.sourceforge.net/ diff --git a/benchmarks/sysbench/pkg-plist b/benchmarks/sysbench/pkg-plist new file mode 100644 index 00000000000..22cfe41ebdb --- /dev/null +++ b/benchmarks/sysbench/pkg-plist @@ -0,0 +1,3 @@ +bin/sb_run.sh +bin/sb_test_ps.sh +bin/sysbench |