From owner-cvs-all@FreeBSD.ORG Wed Dec 22 08:52:07 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 522B316A4CE; Wed, 22 Dec 2004 08:52:07 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3751743D4C; Wed, 22 Dec 2004 08:52:07 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id iBM8q7FG029873; Wed, 22 Dec 2004 08:52:07 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iBM8q71W029872; Wed, 22 Dec 2004 08:52:07 GMT (envelope-from rwatson) Message-Id: <200412220852.iBM8q71W029872@repoman.freebsd.org> From: Robert Watson Date: Wed, 22 Dec 2004 08:52:07 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5 Subject: cvs commit: src/tools/tools/netrate Makefile Makefile.inc README src/tools/tools/netrate/netreceive Makefile netreceive.c src/tools/tools/netrate/netsend Makefile netsend.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Dec 2004 08:52:07 -0000 rwatson 2004-12-22 08:52:06 UTC FreeBSD src repository Added files: (Branch: RELENG_5) tools/tools/netrate Makefile Makefile.inc README tools/tools/netrate/netreceive Makefile netreceive.c tools/tools/netrate/netsend Makefile netsend.c Log: MFC the netrate packet generation tool to RELENG_5, all revisions are the same as in CVS HEAD except for Makefile's affected by the recent NO_MAN change: Add netrate (netreceive, netsend), a tool for generating (and sinking) UDP packets of specified size at a fixed rate. I've been using this for netperf-related testing. Add a version of netsend that uses the interval timer rather than explicit clock reads to set an overall duration to the send, and blasts rather than trying to clock output. The goal of netblast, unlike netsend, is to send as many UDP packets as possible; the cost is that there's no ability to control the rate, and there's less accuracy in the timing as the interval timer granularity is relatively low. Requested by: Matthew George Revision Changes Path 1.2.2.1 +7 -0 src/tools/tools/netrate/Makefile (new) 1.1.2.1 +4 -0 src/tools/tools/netrate/Makefile.inc (new) 1.1.2.1 +57 -0 src/tools/tools/netrate/README (new) 1.3.2.1 +8 -0 src/tools/tools/netrate/netreceive/Makefile (new) 1.2.2.1 +100 -0 src/tools/tools/netrate/netreceive/netreceive.c (new) 1.4.2.1 +9 -0 src/tools/tools/netrate/netsend/Makefile (new) 1.7.2.1 +286 -0 src/tools/tools/netrate/netsend/netsend.c (new)