From owner-cvs-all@FreeBSD.ORG Thu Oct 6 08:41:10 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org 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 3E59816A41F; Thu, 6 Oct 2005 08:41:10 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 514FF43D46; Thu, 6 Oct 2005 08:41:09 +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 j968f9P5020237; Thu, 6 Oct 2005 08:41:09 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j968f9QS020236; Thu, 6 Oct 2005 08:41:09 GMT (envelope-from rwatson) Message-Id: <200510060841.j968f9QS020236@repoman.freebsd.org> From: Robert Watson Date: Thu, 6 Oct 2005 08:41:08 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/tools/tools/netrate/http Makefile http.c src/tools/tools/netrate/httpd Makefile httpd.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 06 Oct 2005 08:41:10 -0000 rwatson 2005-10-06 08:41:08 UTC FreeBSD src repository Added files: tools/tools/netrate/http Makefile http.c tools/tools/netrate/httpd Makefile httpd.c Log: Add basic simplified HTTP benchmark tools to the netrate suite: - http is a lightweight, multithreaded HTTP query tool, which performs a timed measurement of the rate at which it can download files using single-fetch HTTP/1.0. Other than specifying the IP and a URL path, it requires zero configuration. - httpd is a lightweight, multithreaded HTTP server tool, which exports a single file of choice to the HTTP client, and responds with it no matter what the request. Other than specifying the file to export, it requires zero configuration. The goal of these tools is to measure the network costs associated with HTTP serving, rather than file system, HTTP protocol parsing, error handling, etc, and as such, parts relating to less interesting components of HTTP testing are intentionally omitted. Both are linked against libpthread by default. Revision Changes Path 1.1 +9 -0 src/tools/tools/netrate/http/Makefile (new) 1.1 +196 -0 src/tools/tools/netrate/http/http.c (new) 1.1 +9 -0 src/tools/tools/netrate/httpd/Makefile (new) 1.1 +142 -0 src/tools/tools/netrate/httpd/httpd.c (new)