On 18.12.2010 11:59, Sven Van Caekenberghe wrote:
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):
...
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.
That's a desktop Linux with 2 GB of RAM, Gnome and Thunderbird running. Normal headed Pharo image. I have a similar Mac Book Pro where I get somewhat lower numbers than on the Linux box but not a 1/3. How big is your image? I noted that "fresh", small (20 - 30 MB) images are often faster. Is the response static or do you allocate a byte array for every response? Despite everything this benchmark is CPU limited. If you load AJPFastRequestHandler and Zinc-Seaside do you see any difference? I got my Cog VM from [1] [1] http://www.mirandabanda.org/files/Cog/VM/ Cheers Philippe