From owner-freebsd-questions Sat May 5 18:52:17 2001 Delivered-To: freebsd-questions@freebsd.org Received: from lubbockcomputer.com (cx399446-c.lbbck1.tx.home.com [24.179.72.230]) by hub.freebsd.org (Postfix) with SMTP id 6F69C37B424 for ; Sat, 5 May 2001 18:52:09 -0700 (PDT) (envelope-from clcont@lubbockcomputer.com) Received: (qmail 7438 invoked by uid 99); 6 May 2001 01:51:40 -0000 Date: 6 May 2001 01:51:40 -0000 Message-ID: <20010506015140.7437.qmail@lubbockcomputer.com> From: "Christopher Leigh" To: freebsd-questions@freebsd.org Subject: i can get linux to do ab -c 150 -n 2000 http://127.0.0.1 no sweat; what about freebsd? 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-questions@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-questions" in the body of the message