Date: Wed, 19 Oct 2005 15:40:00 -0400 (EDT) From: stanislav shalunov <shalunov@internet2.edu> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/87683: New port: benchmarks/thrulay: network capacity tester Message-ID: <20051019194000.D898A2E083@localhost> Resent-Message-ID: <200510191950.j9JJoE3f063091@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 87683 >Category: ports >Synopsis: New port: benchmarks/thrulay: network capacity tester >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Oct 19 19:50:14 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Stanislav Shalunov >Release: FreeBSD 5.1-RELEASE i386 >Organization: Internet2 >Environment: System: FreeBSD abel.internet2.edu 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Wed Nov 24 13:24:56 EST 2004 root@abel.internet2.edu:/usr/src/sys/i386/compile/IBM-T30 i386 >Description: The program thrulay is used to measure the capacity, delay, and other performance metrics of a network by sending a bulk TCP or UDP stream over it. Special features of thrulay include: * For TCP, ability to measure round-trip delay along with throughput * For UDP, ability to measure - one-way delay, with quantiles - packet loss - packet duplication - reordering * For UDP, the ability to send precisely positioned true Poisson streams (microsecond errors in sending times) * Human- and machine-readable output (ready to be fed to gnuplot) WWW: http://www.internet2.edu/~shalunov/thrulay/ >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: # # thrulay # thrulay/Makefile # thrulay/pkg-descr # thrulay/pkg-plist # thrulay/distinfo # thrulay/files # thrulay/files/thrulayd.sh.sample # thrulay/pkg-message # echo c - thrulay mkdir -p thrulay > /dev/null 2>&1 echo x - thrulay/Makefile sed 's/^X//' >thrulay/Makefile << 'END-of-thrulay/Makefile' X# New ports collection makefile for: thrulay X# Date created: 2005-10-19 X# Whom: shalunov X# X# $FreeBSD$ X XPORTNAME= thrulay XPORTVERSION= 0.8 XCATEGORIES= benchmarks net ipv6 XMASTER_SITES= http://unc.dl.sourceforge.net/sourceforge/thrulay/ \ X http://internap.dl.sourceforge.net/sourceforge/thrulay/ \ X http://www.internet2.edu/~shalunov/thrulay/ X XMAINTAINER= shalunov@internet2.edu XCOMMENT= Network capacity tester X XMAN1= thrulay.1 XMAN8= thrulayd.8 XMANCOMPRESSED= no XHAS_CONFIGURE= yes XUSE_GMAKE= yes X Xpost-install: X ${INSTALL_SCRIPT} ${FILESDIR}/thrulayd.sh.sample ${PREFIX}/etc/rc.d/ X @if [ ! -f ${PREFIX}/etc/rc.d/thrulayd.sh ]; then \ X ${CP} -p ${PREFIX}/etc/rc.d/thrulayd.sh.sample \ X ${PREFIX}/etc/rc.d/thrulayd.sh ; \ X fi X X.include <bsd.port.mk> END-of-thrulay/Makefile echo x - thrulay/pkg-descr sed 's/^X//' >thrulay/pkg-descr << 'END-of-thrulay/pkg-descr' XThe program thrulay is used to measure the capacity, delay, and Xother performance metrics of a network by sending a bulk TCP or UDP Xstream over it. X XSpecial features of thrulay include: X* For TCP, ability to measure round-trip delay along with throughput X* For UDP, ability to measure X - one-way delay, with quantiles X - packet loss X - packet duplication X - reordering X* For UDP, the ability to send precisely positioned true Poisson streams X (microsecond errors in sending times) X* Human- and machine-readable output (ready to be fed to gnuplot) X XWWW: http://www.internet2.edu/~shalunov/thrulay/ END-of-thrulay/pkg-descr echo x - thrulay/pkg-plist sed 's/^X//' >thrulay/pkg-plist << 'END-of-thrulay/pkg-plist' Xbin/thrulay Xsbin/thrulayd X@unexec if cmp -s %D/etc/rc.d/thrulayd.sh.sample %D/etc/rc.d/thrulayd.sh; then rm -f %D/etc/rc.d/thrulayd.sh; fi Xetc/rc.d/thrulayd.sh.sample X@exec if [ ! -f %D/etc/rc.d/thrulayd.sh ] ; then cp -p %D/%F %B/thrulayd.sh; fi END-of-thrulay/pkg-plist echo x - thrulay/distinfo sed 's/^X//' >thrulay/distinfo << 'END-of-thrulay/distinfo' XMD5 (thrulay-0.8.tar.gz) = 725fb13344608a652e818bcd16fe9ef6 END-of-thrulay/distinfo echo c - thrulay/files mkdir -p thrulay/files > /dev/null 2>&1 echo x - thrulay/files/thrulayd.sh.sample sed 's/^X//' >thrulay/files/thrulayd.sh.sample << 'END-of-thrulay/files/thrulayd.sh.sample' X#!/bin/sh X Xthrulayd=/usr/local/sbin/thrulayd X Xcase "$1" in Xstart) X [ -x $thrulayd ] && $thrulayd && echo -n ' thrulayd' X ;; X*) X echo "Usage: `basename $0` {start}" >&2 X ;; Xesac X Xexit 0 END-of-thrulay/files/thrulayd.sh.sample echo x - thrulay/pkg-message sed 's/^X//' >thrulay/pkg-message << 'END-of-thrulay/pkg-message' XThe thrulay client is usable immediately. The thrulayd deamon needs to be Xstarted, which will happen automatically in the next boot cycle. You may Xalso start it manually by entering /usr/local/sbin/thrulayd as root. END-of-thrulay/pkg-message exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051019194000.D898A2E083>