From owner-freebsd-net Sat May 5 19:11:31 2001 Delivered-To: freebsd-net@freebsd.org Received: from lubbockcomputer.com (cx399446-c.lbbck1.tx.home.com [24.179.72.230]) by hub.freebsd.org (Postfix) with SMTP id D6CD737B422 for ; Sat, 5 May 2001 19:11:27 -0700 (PDT) (envelope-from clcont@lubbockcomputer.com) Received: (qmail 7519 invoked by uid 99); 6 May 2001 02:10:58 -0000 Date: 6 May 2001 02:10:58 -0000 Message-ID: <20010506021058.7518.qmail@lubbockcomputer.com> From: "Christopher Leigh" To: net@freebsd.org Subject: i can get linux to do ab -c 150 -n 2000 http://127.0.0.1 no sweat; what X-Mailer: NeoMail 1.23 X-IPAddress: 216.167.132.132 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org i can get linux to do ab -c 150 -n 2000 http://127.0.0.1 no sweat; what about freebsd? ~# /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/ Benchmarking 127.0.0.1 (be patient)...socket: No buffer space available ~# sysctl -w kern.ipc.maxsockbuf=234823489432879 kern.ipc.maxsockbuf: 262144 -> 2147483647 ~# /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? btw, this is freebsd 4.3-release. any help would be greatly appreciated. regards, christopher To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message