Skip site navigation (1)Skip section navigation (2)
Date:      6 May 2001 01:51:40 -0000
From:      "Christopher Leigh" <clcont@lubbockcomputer.com>
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?
Message-ID:  <20010506015140.7437.qmail@lubbockcomputer.com>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010506015140.7437.qmail>