Bug 90233 - [NEW PORT] benchmarks/sysbench: A modular, cross-platform and multi-threaded benchmark tool
Summary: [NEW PORT] benchmarks/sysbench: A modular, cross-platform and multi-threaded ...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Simon Barner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-11 12:00 UTC by Gea-Suan Lin
Modified: 2005-12-11 14:07 UTC (History)
0 users

See Also:


Attachments
sysbench-0.4.3.shar (2.82 KB, text/plain)
2005-12-11 12:00 UTC, Gea-Suan Lin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gea-Suan Lin 2005-12-11 12:00:16 UTC
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/

Generated with FreeBSD Port Tools 0.63
Comment 1 Simon Barner freebsd_committer 2005-12-11 12:22:44 UTC
Responsible Changed
From-To: freebsd-ports-bugs->barner

Grab.
Comment 2 Simon Barner freebsd_committer 2005-12-11 12:39:20 UTC
State Changed
From-To: open->feedback

Does not work with PostgreSQL 7.4.9. More details in private mail.
Comment 3 Gea-Suan Lin 2005-12-11 13:36:25 UTC
On Sun, Dec 11, 2005 at 12:40:31PM +0000, Simon Barner wrote:
> Synopsis: [NEW PORT] benchmarks/sysbench: A modular, cross-platform and multi-threaded benchmark tool
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: barner
> State-Changed-When: Sun Dec 11 12:39:20 UTC 2005
> State-Changed-Why: 
> Does not work with PostgreSQL 7.4.9. More details in private mail.
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=90233

Thank you.

Please use this shar file, it requires PostgreSQL 8.0+.

--- sysbench-0.4.3.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	sysbench
#	sysbench/pkg-descr
#	sysbench/Makefile
#	sysbench/pkg-plist
#	sysbench/distinfo
#
echo c - sysbench
mkdir -p sysbench > /dev/null 2>&1
echo x - sysbench/pkg-descr
sed 's/^X//' >sysbench/pkg-descr << 'END-of-sysbench/pkg-descr'
XSysBench is a modular, cross-platform and multi-threaded benchmark tool
Xfor evaluating OS parameters that are important for a system running a
Xdatabase under intensive load.
X
XThe idea of this benchmark suite is to quickly get an impression about
Xsystem performance without setting up complex database benchmarks or
Xeven without installing a database at all.
X
XCurrent features allow to test the following system parameters:
X
X    * file I/O performance
X    * scheduler performance
X    * memory allocation and transfer speed
X    * POSIX threads implementation performance
X    * database server performance (OLTP benchmark)
X
XPrimarily written for MySQL server benchmarking, SysBench will be
Xfurther extended to support multiple database backends, distributed
Xbenchmarks and third-party plug-in modules.
X
XWWW:	http://sysbench.sourceforge.net/
END-of-sysbench/pkg-descr
echo x - sysbench/Makefile
sed 's/^X//' >sysbench/Makefile << 'END-of-sysbench/Makefile'
X# New ports collection makefile for:	sysbench
X# Date created:		2005-12-11
X# Whom:			Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	sysbench
XPORTVERSION=	0.4.3
XCATEGORIES=	benchmarks databases
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	gslin@ccca.nctu.edu.tw
XCOMMENT=	A modular, cross-platform and multi-threaded benchmark tool
X
XGNU_CONFIGURE=	yes
X
XOPTIONS=	MYSQL "Enable MySQL support" on \
X		POSTGRESQL "Enable PostgreSQL support" off
X
X.include <bsd.port.pre.mk>
X
X.if !defined(WITHOUT_MYSQL)
XUSE_MYSQL=	yes
XCONFIGURE_ARGS+=	--with-mysql
X.endif
X
X.if defined(WITH_POSTGRESQL)
XUSE_PGSQL=	yes
XWANT_PGSQL_VER?=	80
XCONFIGURE_ARGS+=	--with-pgsql
X.endif
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/sysbench/sysbench ${PREFIX}/bin
X.for FILE in sb_run.sh sb_test_ps.sh
X	${INSTALL_SCRIPT} ${WRKSRC}/scripts/${FILE} ${PREFIX}/bin
X.endfor
X
X.include <bsd.port.post.mk>
END-of-sysbench/Makefile
echo x - sysbench/pkg-plist
sed 's/^X//' >sysbench/pkg-plist << 'END-of-sysbench/pkg-plist'
Xbin/sb_run.sh
Xbin/sb_test_ps.sh
Xbin/sysbench
END-of-sysbench/pkg-plist
echo x - sysbench/distinfo
sed 's/^X//' >sysbench/distinfo << 'END-of-sysbench/distinfo'
XMD5 (sysbench-0.4.3.tar.gz) = 34ad20419aeeba78363a340d58ebca3a
XSHA256 (sysbench-0.4.3.tar.gz) = 09ed77a640aa6bbcdf11430c9d4de1f6b7faf69dab54899ff5d5c957e40298d3
XSIZE (sysbench-0.4.3.tar.gz) = 480318
END-of-sysbench/distinfo
exit
--- sysbench-0.4.3.shar ends here ---

-- 
* Gea-Suan Lin  (public key: http://ccreader.nctu.edu.tw/~gslin/key.txt)
* If you cannot convince them, confuse them.           -- Harry S Truman
Comment 4 Simon Barner freebsd_committer 2005-12-11 14:07:04 UTC
State Changed
From-To: feedback->closed

New port added. Thanks for your submission.