ports/73006: [ new port ] benchmarks/dkftpbench: A FTP benchmark program
Roman Bogorodskiy
bogorodskiy at inbox.ru
Fri Oct 22 14:50:32 UTC 2004
>Number: 73006
>Category: ports
>Synopsis: [ new port ] benchmarks/dkftpbench: A FTP benchmark program
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Oct 22 14:50:31 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Roman Bogorodskiy
>Release: FreeBSD 5.3-BETA7 i386
>Organization:
>Environment:
System: FreeBSD lame.novel.ru 5.3-BETA7 FreeBSD 5.3-BETA7 #12: Sat Oct 16 20:09:15 MSD 2004 root at lame.novel.ru:/usr/obj/usr/home/novel/current/src/sys/NOVEL i386
>Description:
dkftpbench is an FTP benchmark program inspired by SPECweb99. The
result of the benchmark is a number-of-simultaneous-users rating;
after running the benchmark properly, you have a good idea how
many simultaneous dialup clients a server can support. The target
bandwidth per client is set at 28.8 kilobits/second to model dialup
users; this is important for servers on the real Internet, which
often serve thousands of clients on only 10 MBits/sec of bandwidth.
>How-To-Repeat:
>Fix:
# 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:
#
# dkftpbench
# dkftpbench/pkg-descr
# dkftpbench/Makefile
# dkftpbench/distinfo
# dkftpbench/files
# dkftpbench/files/patch-Makefile.am
#
echo c - dkftpbench
mkdir -p dkftpbench > /dev/null 2>&1
echo x - dkftpbench/pkg-descr
sed 's/^X//' >dkftpbench/pkg-descr << 'END-of-dkftpbench/pkg-descr'
Xdkftpbench is an FTP benchmark program inspired by SPECweb99. The result of the
Xbenchmark is a number-of-simultaneous-users rating; after running the benchmark
Xproperly, you have a good idea how many simultaneous dialup clients a server
Xcan support. The target bandwidth per client is set at 28.8 kilobits/second to
Xmodel dialup users; this is important for servers on the real Internet, which
Xoften serve thousands of clients on only 10 MBits/sec of bandwidth.
X
XWWW: http://www.kegel.com/dkftpbench/
END-of-dkftpbench/pkg-descr
echo x - dkftpbench/Makefile
sed 's/^X//' >dkftpbench/Makefile << 'END-of-dkftpbench/Makefile'
X# New ports collection makefile for: dkftpbench
X# Date created: 2004-10-22
X# Whom: Roman Bogorodskiy <bogorodskiy at inbox.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME= dkftpbench
XPORTVERSION= 0.45
XCATEGORIES= benchmarks
XMASTER_SITES= http://www.kegel.com/dkftpbench/
X
XMAINTAINER= bogorodskiy at inbox.ru
XCOMMENT= A FTP benchmark program
X
XPLIST_FILES= bin/dkftpbench
X
XGNU_CONFIGURE= yes
XCONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
X
XUSE_AUTOCONF_VER=259
XUSE_AUTOMAKE_VER=14
X
X.include <bsd.port.mk>
END-of-dkftpbench/Makefile
echo x - dkftpbench/distinfo
sed 's/^X//' >dkftpbench/distinfo << 'END-of-dkftpbench/distinfo'
XMD5 (dkftpbench-0.45.tar.gz) = 3f929cc438870436421812a48e8615ef
XSIZE (dkftpbench-0.45.tar.gz) = 273760
END-of-dkftpbench/distinfo
echo c - dkftpbench/files
mkdir -p dkftpbench/files > /dev/null 2>&1
echo x - dkftpbench/files/patch-Makefile.am
sed 's/^X//' >dkftpbench/files/patch-Makefile.am << 'END-of-dkftpbench/files/patch-Makefile.am'
X--- Makefile.am.orig Wed Jul 31 00:10:30 2002
X+++ Makefile.am Fri Oct 22 08:46:31 2004
X@@ -8,36 +8,9 @@
X #----------------------------------------------------------------------
X # List everything we build; break list into three kinds of executables
X
X-# Unattended unit tests
X-TESTS = \
X- ftp_client_proto_test \
X- nbbio_test \
X- Poller_test \
X- Sked_test
X-
X-# Following tests are not yet unattended
X-HAND_TESTS = \
X- robouser_test \
X- ftp_client_pipe_test
X-
X # Real programs
X bin_PROGRAMS = dkftpbench
X
X-noinst_PROGRAMS = $(TESTS) $(HAND_TESTS) dklimits Poller_bench profile
X-
X-lib_LIBRARIES = libPoller.a
X-pkginclude_HEADERS = \
X- Poller.h \
X- Poller_devpoll.h \
X- Poller_poll.h \
X- Poller_select.h \
X- Poller_sigio.h \
X- Poller_sigfd.h \
X- Poller_kqueue.h
X-
X-# No info yet
X-info_TEXINFOS =
X-
X EXTRA_DIST = \
X inet_aton.c \
X bakeoff.html \
X@@ -87,16 +60,6 @@
X # For each thing we build, list its sources, and anything special about
X # how to build it
X
X-libPoller_a_SOURCES = \
X- Poller.h \
X- Poller_sigfd.cc \
X- Poller_sigio.cc \
X- Poller_poll.cc \
X- Poller_select.cc \
X- Poller_devpoll.cc \
X- Poller_kqueue.cc \
X- Poller.cc
X-
X dkftpbench_SOURCES = \
X CHECK.h \
X Poller.h \
X@@ -128,90 +91,6 @@
X Poller.cc \
X Sked.cc
X
X-dklimits_SOURCES = \
X- dklimits.c
X-
X-ftp_client_proto_test_SOURCES = \
X- dprint.cc \
X- ftp_client_proto.cc \
X- ftp_client_proto_test.cc
X-
X-ftp_client_pipe_test_SOURCES = \
X- dprint.cc \
X- eclock.cc \
X- ftp_client_pipe.cc \
X- ftp_client_pipe_test.cc \
X- ftp_client_proto.cc \
X- Poller_poll.cc \
X- Poller.cc \
X- nbbio.cc \
X- Sked.cc
X-
X-nbbio_test_SOURCES = \
X- dprint.cc \
X- nbbio.cc \
X- nbbio_test.cc
X-
X-robouser_test_SOURCES = \
X- dprint.cc \
X- eclock.cc \
X- ftp_client_pipe.cc \
X- ftp_client_proto.cc \
X- nbbio.cc \
X- robouser.cc \
X- Platoon.cc \
X- robouser_test.cc \
X- CHECK.cc \
X- Poller_poll.cc \
X- Poller.cc \
X- Sked.cc
X-
X-Poller_bench_SOURCES = \
X- dprint.cc \
X- eclock.cc \
X- CHECK.cc \
X- Poller.h \
X- Poller.cc \
X- Poller_devpoll.cc \
X- Poller_devpoll.h \
X- Poller_poll.h \
X- Poller_poll.cc \
X- Poller_bench.cc \
X- Poller_select.h \
X- Poller_select.cc \
X- Poller_sigio.h \
X- Poller_sigio.cc \
X- Poller_sigfd.h \
X- Poller_sigfd.cc \
X- Poller_kqueue.h \
X- Poller_kqueue.cc
X-
X-Poller_test_SOURCES = \
X- dprint.cc \
X- CHECK.cc \
X- eclock.cc \
X- Poller.h \
X- Poller.cc \
X- Poller_sigfd.cc \
X- Poller_sigfd.h \
X- Poller_sigio.cc \
X- Poller_sigio.h \
X- Poller_devpoll.cc \
X- Poller_devpoll.h \
X- Poller_poll.h \
X- Poller_poll.cc \
X- Poller_test.cc \
X- Poller_select.h \
X- Poller_select.cc \
X- Poller_kqueue.h \
X- Poller_kqueue.cc
X-
X-Sked_test_SOURCES = \
X- dprint.cc \
X- eclock.cc \
X- Sked.cc \
X- Sked_test.cc
X-
X #------- start of corba. Not fully autoconfisticated yet ---------
X
X CorbaPlatoon_srv.cc: CorbaPlatoon.idl
X@@ -242,11 +121,6 @@
X /bin/rm -f *.o CorbaPlatoon.hh CorbaPlatoon{_srv,Dyn_srv}.cc
X
X #---- end of corba --------------------------------------------------------
X-
X-#--------------------------------------------------------------------------
X-# Program to do fine-grained profiling of Linux kernel. From the net...
X-
X-profile_SOURCES = profile.c
X
X #--------------------------------------------------------------------------
X # Extract documentation from sources.
END-of-dkftpbench/files/patch-Makefile.am
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list