On 18 Dec 2010, at 09:25, Philippe Marschall wrote:

> Intel(R) Core(TM)2 CPU 6600  @ 2.40GHz
> Linux 2.6.36 (64bit)
> Cog r2316
> Pharo 1.1.1 (no memory tweaks)
> 
> Basically an almost four year old Linux box.

Philippe, 

Is that a desktop machine with a normal interactive load, or a server machine ? 
How much RAM ? Do you run the image headless ?

On my development machine (Mac Book Pro, Intel Core 2 Duo 2.4 Ghz, 4 GB RAM, 
Mac OS X 10.6.5, Squeak 5.8b12, normal image, normal desktop load with lots of 
apps), I cannot get even close to your numbers (/bytes/16384 is a binary 
unencoded response of 16Kb direct from Zn):

[s...@voyager:~]$ ab -k -n 10000 -c 10 http://127.0.0.1:1701/bytes/16384
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking 127.0.0.1 (be patient)
Completed 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
Completed 7000 requests
Completed 8000 requests
Completed 9000 requests
Completed 10000 requests
Finished 10000 requests


Server Software:        Zinc
Server Hostname:        127.0.0.1
Server Port:            1701

Document Path:          /bytes/16384
Document Length:        16384 bytes

Concurrency Level:      10
Time taken for tests:   14.829 seconds
Complete requests:      10000
Failed requests:        0
Write errors:           0
Keep-Alive requests:    10000
Total transferred:      165610000 bytes
HTML transferred:       163840000 bytes
Requests per second:    674.37 [#/sec] (mean)
Time per request:       14.829 [ms] (mean)
Time per request:       1.483 [ms] (mean, across all concurrent requests)
Transfer rate:          10906.48 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.0      0       0
Processing:     1   15   3.1     14      67
Waiting:        0   15   2.8     14      67
Total:          1   15   3.1     14      67

Percentage of the requests served within a certain time (ms)
  50%     14
  66%     15
  75%     16
  80%     16
  90%     17
  95%     18
  98%     21
  99%     25
 100%     67 (longest request)

This is no more than 1/3 of your results. 
I will be trying to find time to get a recent Cog VM on a Linux server machine 
using a headless deploy image and run benchmarks there.
Thanks for the feedback and for pushing this.

Sven


Reply via email to