[Bese-devel] UCW AJAX Problem

Attila Lendvai attila.lendvai at gmail.com
Wed Jun 27 08:27:54 UTC 2007


ucw_ajax head, SBCL 1.0.6.59 (which means the multithreaded-httpd backend)


(load (merge-pathnames "etc/start.lisp" (asdf:component-pathname
(asdf:find-system :ucw))))


ati at ed101:~/workspace$ nice -n 20 httperf --rate 10 --num-conn 200
--port 8080 --server localhost --uri /
httperf --client=0/1 --server=localhost --port=8080 --uri=/ --rate=10
--send-buffer=4096 --recv-buffer=16384 --num-conns=200 --num-calls=1
Maximum connect burst length: 3

Total: connections 200 requests 200 replies 200 test-duration 19.969 s

Connection rate: 10.0 conn/s (99.8 ms/conn, <=4 concurrent connections)
Connection time [ms]: min 30.6 avg 50.0 max 324.0 median 32.5 stddev 39.1
Connection time [ms]: connect 0.1
Connection length [replies/conn]: 1.000

Request rate: 10.0 req/s (99.8 ms/req)
Request size [B]: 60.0

Reply rate [replies/s]: min 9.4 avg 10.0 max 10.5 stddev 0.6 (3 samples)
Reply time [ms]: response 37.1 transfer 12.8
Reply size [B]: header 206.0 content 8925.0 footer 0.0 (total 9131.0)
Reply status: 1xx=0 2xx=200 3xx=0 4xx=0 5xx=0

CPU time [s]: user 0.97 system 9.75 (user 4.8% system 48.8% total 53.7%)
Net I/O: 89.9 KB/s (0.7*10^6 bps)

Errors: total 0 client-timo 0 socket-timo 0 connrefused 0 connreset 0
Errors: fd-unavail 0 addrunavail 0 ftab-full 0 other 0
ati at ed101:~/workspace$

it's not lightning fast, but i don't see the long gc pauses. to check it:

(progn
           (sb-alien:define-alien-variable gencgc-verbose sb-alien:int)
           (setf gencgc-verbose 2))

it'll print to the inferior lisp buffer when running through slime.

also make sure logging is not interfering, because the X server can
use up your machine when scrolling 10 lines/sec in an term window...
:)

-- 
 attila



More information about the bese-devel mailing list