From owner-freebsd-stable@FreeBSD.ORG Wed Apr 23 19:13:12 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E54B106566C for ; Wed, 23 Apr 2008 19:13:12 +0000 (UTC) (envelope-from dan@mail.neosystem.cz) Received: from mx.neosystem.cz (mx.neosystem.cz [IPv6:2002:5856:6e27:15::10]) by mx1.freebsd.org (Postfix) with ESMTP id 4149B8FC48 for ; Wed, 23 Apr 2008 19:13:11 +0000 (UTC) (envelope-from dan@mail.neosystem.cz) Received: from localhost (localhost [127.0.0.1]) by mx.neosystem.cz (Postfix) with ESMTP id 57B9640C2 for ; Wed, 23 Apr 2008 21:13:10 +0200 (CEST) X-Virus-Scanned: amavisd-new at mx.neosystem.cz Received: from moon.sky.net (49.103.broadband4.iol.cz [85.71.103.49]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx.neosystem.cz (Postfix) with ESMTP id E86B040B8 for ; Wed, 23 Apr 2008 21:13:03 +0200 (CEST) Date: Wed, 23 Apr 2008 20:52:51 +0200 From: Dan Bilik To: freebsd-stable@freebsd.org Message-Id: <20080423205251.0e50ab4d.dan@mail.neosystem.cz> In-Reply-To: References: <20080422195112.GA45977@eos.sc1.parodius.com> Organization: neosystem.cz X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: ab2 (apache benchmark) problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2008 19:13:12 -0000 On Wed, 23 Apr 2008 14:23:55 +0800 "Adrian Chadd" wrote: > I've got a locally modified apachebench1 which uses libevent and has > some tidyups applied - it isn't multithreaded, but it can do ~ gigabit > of testing traffic on a single CPU.. We were also hitting the limits of ab, but instead of hacking Apache sources we've ended up writing our own benchmark tool. With it we were able to get up to 18k req/sec from Apache 2.2 (serving static content through a custom module). Moreover, the tool is not bound to HTTP and can be used to benchmark other TCP servers as well. Should you find it useful, you can get it at http://neosystem.cz/tools/tst-0.7.tar.gz . Dan