From owner-freebsd-net Sun May 6 1:44:38 2001 Delivered-To: freebsd-net@freebsd.org Received: from lu.pine.nl (lu.pine.nl [213.156.0.240]) by hub.freebsd.org (Postfix) with ESMTP id E1FFD37B424 for ; Sun, 6 May 2001 01:44:34 -0700 (PDT) (envelope-from mark@pine.nl) Received: by lu.pine.nl (Postfix, from userid 96) id EB10122B3F; Sun, 6 May 2001 10:42:55 +0200 (MET DST) Received: from atro.pine.nl (atro.pine.nl [213.156.0.2]) by lu.pine.nl (Postfix) with ESMTP id B7B9E1E134; Sun, 6 May 2001 10:42:51 +0200 (MET DST) Date: Sun, 6 May 2001 10:44:29 +0200 (MET DST) From: Mark Lastdrager To: Christopher Leigh Cc: Subject: Re: i can get linux to do ab -c 150 -n 2000 http://127.0.0.1 no sweat; what In-Reply-To: <20010506021058.7518.qmail@lubbockcomputer.com> Message-ID: X-NCC-RegID: nl.pine MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/) Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At 6 May 2001, owner-freebsd-net@FreeBSD.ORG wrote: >~# /www/bin/ab -c 150 -n 2000 http://127.0.0.1/ >This is ApacheBench, Version 1.3c <$Revision: 1.44 $> apache-1.3 >Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, >http://www.zeustech.net/ >Copyright (c) 1998-2000 The Apache Group, http://www.apache.org/ > >Server Software: Apache/1.3.19 >Server Hostname: 127.0.0.1 >Server Port: 80 > >Document Path: / >Document Length: 1310 bytes > >Concurrency Level: 150 >Time taken for tests: 284.256 seconds >Complete requests: 2000 >Failed requests: 0 >Total transferred: 3536325 bytes >HTML transferred: 2639650 bytes >Requests per second: 7.04 >Transfer rate: 12.44 kb/s received > >Connnection Times (ms) > min avg max >Connect: 7 10667 53372 >Processing: 1247 10154 32805 >Total: 1254 20821 86177 >~# > >it usually takes about 20 seconds for linux to do it. > >how do i configure freebsd to be able to do it? I think there's something wrong with your setup. This is my 4.3-STABLE output on a PII-350 (I even didn't change anything with sysctl): (mark@a /~) /usr/local/apache/bin/ab -c 150 -n 2000 http://127.0.0.1 This is ApacheBench, Version 1.3c <$Revision: 1.41 $> apache-1.3 Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright (c) 1998-1999 The Apache Group, http://www.apache.org/ Server Software: Apache/1.3.14 Server Hostname: 127.0.0.1 Server Port: 80 Document Path: / Document Length: 1358 bytes Concurrency Level: 150 Time taken for tests: 25.983 seconds Complete requests: 2000 Failed requests: 0 Total transferred: 3687532 bytes HTML transferred: 2825998 bytes Requests per second: 76.97 Transfer rate: 141.92 kb/s received Connnection Times (ms) min avg max Connect: 0 530 1369 Processing: 148 1321 2329 Total: 148 1851 3698 Mark Lastdrager -- Pine Internet BV :: tel. +31-70-3111010 :: fax. +31-70-3111011 PGP 92BB81D1 fingerprint 0059 7D7B C02B 38D2 A853 2785 8C87 3AF1 Today's excuse: Backbone adjustment To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message