diff options
author | thorpej <thorpej> | 2002-04-17 21:51:35 +0000 |
---|---|---|
committer | thorpej <thorpej> | 2002-04-17 21:51:35 +0000 |
commit | e0b32007a0714a599ebad16077e8dfbfde35c25f (patch) | |
tree | abce1629b67d6df77af679def0806312b8775416 /benchmarks/nttcp | |
parent | 1a2c9cee75c024172db5973ab769fe3b4f727ce8 (diff) | |
download | pkgsrc-e0b32007a0714a599ebad16077e8dfbfde35c25f.tar.gz |
A package for the NTTCP ("New TTCP") network performance measuring tool.
Diffstat (limited to 'benchmarks/nttcp')
-rw-r--r-- | benchmarks/nttcp/DESCR | 15 | ||||
-rw-r--r-- | benchmarks/nttcp/Makefile | 16 | ||||
-rw-r--r-- | benchmarks/nttcp/PLIST | 3 | ||||
-rw-r--r-- | benchmarks/nttcp/distinfo | 5 | ||||
-rw-r--r-- | benchmarks/nttcp/patches/patch-aa | 18 |
5 files changed, 57 insertions, 0 deletions
diff --git a/benchmarks/nttcp/DESCR b/benchmarks/nttcp/DESCR new file mode 100644 index 00000000000..cd0b5bf2e1d --- /dev/null +++ b/benchmarks/nttcp/DESCR @@ -0,0 +1,15 @@ +NTTCP (New TTCP) times the transmission and reception of data between two +systems using the UDP or TCP protocols. It differs from common ``blast'' +tests, which tend to measure the remote inetd as much as the network +performance, and which usually do not allow measurements at the remote end +of a UDP transmission. + +The following is a short list of the improvements which have been made +over "classic" TTCP: + + * Ported to a variety of operating systems + * Can be started via inetd + * Output can be customized on the commnad line + * Centralized reporting of the measurements + * Trafic checksumming to detect failures in UDP transmissions + * Multicast support diff --git a/benchmarks/nttcp/Makefile b/benchmarks/nttcp/Makefile new file mode 100644 index 00000000000..080bbe2198e --- /dev/null +++ b/benchmarks/nttcp/Makefile @@ -0,0 +1,16 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/04/17 21:51:35 thorpej Exp $ + +DISTNAME= nttcp-1.47 +CATEGORIES= benchmarks net +MASTER_SITES= http://www.leo.org/~elmar/nttcp/ + +MAINTAINER= thorpej@netbsd.org +HOMEPAGE= http://www.leo.org/~elmar/nttcp/ +COMMENT= New TCP testing and performance measuring tool + +do-install: + cd ${WRKSRC} ; \ + ${INSTALL_PROGRAM} nttcp ${PREFIX}/bin/nttcp ; \ + ${INSTALL_MAN} nttcp.1 ${PREFIX}/man/man1/nttcp.1 + +.include "../../mk/bsd.pkg.mk" diff --git a/benchmarks/nttcp/PLIST b/benchmarks/nttcp/PLIST new file mode 100644 index 00000000000..1562fde5f68 --- /dev/null +++ b/benchmarks/nttcp/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/04/17 21:51:35 thorpej Exp $ +bin/nttcp +man/man1/nttcp.1 diff --git a/benchmarks/nttcp/distinfo b/benchmarks/nttcp/distinfo new file mode 100644 index 00000000000..4bf557d8cb7 --- /dev/null +++ b/benchmarks/nttcp/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/04/17 21:51:35 thorpej Exp $ + +SHA1 (nttcp-1.47.tar.gz) = 28de7d65074e7546babdfa42b3b88fd8baa2be88 +Size (nttcp-1.47.tar.gz) = 25693 bytes +SHA1 (patch-aa) = 1697ef81351102beafef1c9e1bfe8df74f9f23a2 diff --git a/benchmarks/nttcp/patches/patch-aa b/benchmarks/nttcp/patches/patch-aa new file mode 100644 index 00000000000..619067cd33b --- /dev/null +++ b/benchmarks/nttcp/patches/patch-aa @@ -0,0 +1,18 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/04/17 21:51:35 thorpej Exp $ + +--- Makefile.orig Mon Dec 18 02:17:20 2000 ++++ Makefile Wed Apr 17 14:42:49 2002 +@@ -151,9 +151,12 @@ + VERSION= 1.47 + #prefix= /usr/local/dist/DIR/nttcp-$(VERSION) + #prefix= /usr/local +-prefix= /usr/local/opt/nttcp-$(VERSION) ++#prefix= /usr/local/opt/nttcp-$(VERSION) ++prefix= ${PREFIX} + CFLAGS = $(ARCH) $(DBG) $(DEF) $(INC) $(OPT) -DVERSION=\"$(VERSION)\" + LFLAGS = $(DBG) ++ ++all: nttcp + + nttcp: nttcp.o support.o + $(CC) $(LFLAGS) nttcp.o -o nttcp support.o $(LIB) |