[Zope] Re: Intel vs AMD

Marius Gedminas marius@codeworks.lt
Wed, 11 Dec 2002 10:02:28 +0200


On Tue, Dec 10, 2002 at 09:44:18PM +0200, Myroslav Opyr wrote:
[ This was about a Dual-CPU Xeon, IIRC ]
> > and running two pystones at once:
> >
> > [bkc@strader ~/Zope]$ Zope-2.6.0-linux2-x86/bin/python Zope-2.6.0-linux2-x86/lib/python2.1/test/pystone.py & ; Zope-2.6.0-linux2-x86/bin/python Zope-2.6.0-linux2-x86/lib/python2.1/test/pystone.py
> > [1] 500
> > Pystone(1.1) time for 100000 passes = 5.01
> > This machine benchmarks at 19960.1 pystones/second
> > Pystone(1.1) time for 100000 passes = 5.02
> > This machine benchmarks at 19920.3 pystones/second
> > [bkc@strader ~/Zope]$
> 
> Effectively doubling perfomance...

This is a *single* CPU Athlon (XP 1800+, 1.5 GHz)

$ python /usr/lib/python2.2/test/pystone.py
Pystone(1.1) time for 10000 passes = 0.53
This machine benchmarks at 18867.9 pystones/second

$ python /usr/lib/python2.2/test/pystone.py &\
  python /usr/lib/python2.2/test/pystone.py &\
  python /usr/lib/python2.2/test/pystone.py &
  python /usr/lib/python2.2/test/pystone.py
[1] 23242
[2] 23243
[3] 23244
Pystone(1.1) time for 10000 passes = 0.52
This machine benchmarks at 19230.8 pystones/second
Pystone(1.1) time for 10000 passes = 0.53
Pystone(1.1) time for 10000 passes = 0.53
This machine benchmarks at 18867.9 pystones/second
This machine benchmarks at 18867.9 pystones/second
Pystone(1.1) time for 10000 passes = 0.54
This machine benchmarks at 18518.5 pystones/second

They all seem to run sequentially, and the numbers do not change even if
I try to run 32 of them in parallel.

Marius Gedminas
-- 
The BeOS takes the best features from the major operating systems. It's got
the power and flexibility of Unix, the interface and ease of use of the MacOS,
and Minesweeper from Windows.
		-- Tyler Riti