add netpipe port

This commit is contained in:
brad
1999-03-19 05:22:31 +00:00
parent 0dceb893fe
commit 4e4a0ff728
6 changed files with 56 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
# $OpenBSD: Makefile,v 1.1.1.1 1999/03/19 05:22:31 brad Exp $
# $FreeBSD: Makefile,v 1.2 1999/03/03 03:48:56 jkoshy Exp $
DISTNAME= netpipe-2.3
CATEGORIES= benchmarks net
MASTER_SITES= ftp://ftp.ameslab.gov/pub/netpipe/ \
http://www.freebsd.org/~jkoshy/PORTS/
MAINTAINER= brad@openbsd.org
ALL_TARGET= NPtcp
MAN1= netpipe.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/NPtcp ${PREFIX}/bin/NPtcp
@${LN} -fs ${PREFIX}/bin/NPtcp ${PREFIX}/bin/netpipe
${INSTALL_DATA} ${WRKSRC}/netpipe.1 ${PREFIX}/man/man1/netpipe.1
.include <bsd.port.mk>
+3
View File
@@ -0,0 +1,3 @@
MD5 (netpipe-2.3.tar.gz) = cf166ac7ccab491cd68ef75e0e6f466d
RMD160 (netpipe-2.3.tar.gz) = 40074a5f71567c7c4ad373839af436eaf6d42491
SHA1 (netpipe-2.3.tar.gz) = 7ae6372899a38b1dea1f46b57549da5413f38609
+13
View File
@@ -0,0 +1,13 @@
--- netpipe.h.orig Thu Mar 18 23:15:21 1999
+++ netpipe.h Thu Mar 18 23:16:33 1999
@@ -37,8 +37,10 @@
#define MAXINT 2147483647
#define ABS(x) (((x) < 0)?(-(x)):(x))
+#ifndef __OpenBSD__
#define MIN(x,y) (((x) < (y))?(x):(y))
#define MAX(x,y) (((x) > (y))?(x):(y))
+#endif
/* Need to include the protocol structure header file. */
/* Change this to reflect the protocol */
+1
View File
@@ -0,0 +1 @@
a self-scaling network benchmark
+17
View File
@@ -0,0 +1,17 @@
NetPIPE is a protocol independent performance tool that encapsulates
the best of ttcp and netperf and visually represents the network
performance under a variety of conditions. By taking the end-to-end
application view of a network, NetPIPE clearly shows the overhead
associated with different protocol layers. Netpipe answers such
questions as: how soon will a given data block of size k arrive at its
destination? Which network and protocol will transmit size k blocks
the fastest? What is a given network's effective maximum throughput
and saturation level? Does there exist a block size k for which the
throughput is maximized? How much communication overhead is due to the
network communication protocol layer(s)? How quickly will a small (< 1
kbyte) control message arrive, and which network and protocol are best
for this purpose?
For a paper fully describing NetPIPE and sample investigation of
network performance issues using NetPIPE, see
http://www.scl.ameslab.gov/netpipe/paper/full.html.
+3
View File
@@ -0,0 +1,3 @@
bin/NPtcp
bin/netpipe
man/man1/netpipe.1