[tbnl-devel] SBCL, hunchentoot, performance

Graham Fawcett graham.fawcett at gmail.com
Fri Oct 6 20:11:32 UTC 2006


On 10/6/06, Edi Weitz <edi at agharta.de> wrote:
> Sorry, for the noise today, but a) FLEXI-STREAMS 0.6.5 was buggy, so
> you should use 0.6.6, and b) you should also use Chunga 0.2.0 for
> (hopefully) more performance improvements.

You weren't kidding! I've just installed the updated Flexi-streams and
Chunga. Now I'm seeing, oh, about a 150x improvement! No time right
now for any real stats, but here's the dump of a (localhost) 'ab'
test:

------

$ ab -n 250 http://localhost:3000/tbnl/test/files/imgp2926.jpg ....

Server Software:        Hunchentoot
Server Hostname:        localhost
Server Port:            3000

Document Path:          /tbnl/test/files/imgp2926.jpg ....
Document Length:        812011 bytes

Concurrency Level:      1
Time taken for tests:   2.928872 seconds
Complete requests:      250
Failed requests:        0
Write errors:           0
Total transferred:      203049750 bytes
HTML transferred:       203002750 bytes
Requests per second:    85.36 [#/sec] (mean)
Time per request:       11.715 [ms] (mean)
Time per request:       11.715 [ms] (mean, across all concurrent requests)
Transfer rate:          67701.83 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.0      0       0
Processing:     6   11   6.6      7      54
Waiting:        2    3   2.7      2      33
Total:          6   11   6.6      7      54

Percentage of the requests served within a certain time (ms)
  50%      7
  66%     15
  75%     15
  80%     15
  90%     16
  95%     17
  98%     20
  99%     43
 100%     54 (longest request)

------

Brililant!

Cheers,
Graham



More information about the Tbnl-devel mailing list