[Zope] Python on Sun cf Linux/Intel

Dr. Ross Lazarus rossl@med.usyd.edu.au
Sat, 06 Nov 1999 18:42:47 +1100


Some time ago, there was a brief thread about zope on Sun. 
Does Python 1.5.2 run slower than might be hoped ?

Two examples - taken from real boxes running real jobs. The bigger box
was running more/other tasks than the littler one but load average never
got beyond 1.0. Note that the Lintel box was a midvintage PII350 (92mB
ram !) server running a squid proxy - surely not twice as fast as a
lightly loaded dual cpu sun ?.

Exhibit one:
pystone.py on sin - 

Pystone(1.1) time for 10000 passes = 5.57
This machine benchmarks at 1795.33 pystones/second

On the LIntel box it was: 

Pystone(1.1) time for 10000 passes = 2.36
This machine benchmarks at 4237.29 pystones/second

Exhibit 2:
A self timing site generating (zclass based - no ZSQL) zope script on a
Linuxtel box with 
Python 1.5.2 (#1, Apr 14 1999, 10:34:26)  [GCC 2.7.2.3] on linux2 took
1min:10sec.

On a dual cpu Sun called sin, (running Python 1.5.2 (#1, Oct 13 1999,
11:11:12)  [GCC 2.95.1 19990816 (release)]) on sun os5, it took
2min:48sec.


Is it GCC that makes the sun slower than one might hope  ? 
Anyone ?

-- 

Ross Lazarus
Email: rossl@med.usyd.edu.au
http://www.health.usyd.edu.au/people/rossl.htm