comparing interpreter speed on two platforms

Chris Barker chrishbarker at home.net
Wed Oct 3 21:58:51 CEST 2001


"Steven D. Majewski" wrote:
> > a standard PC:
> > 1. PentiumPro 200Mhz (400BogoMips) Debian Linux 2.2 (Kernel 2.2-17) 64M RAM
> >
> > and an embedded system:
> > 2. PowerPC    ~60Mhz (68BogoMips)  HardHat Linux 2.0 (Kernel 2.4) 16MB RAM

> >Because, as stated in the Linux docs, BogoMips is a meaningless benchmark.

True, but as a rule PPC chips a little faster that Pentiums with the
same clock speed, so I wouldn't expect a 60 Mhz PPC to be 20 times
slower than a 200Mhz Pentium. I have done occasional benchmarks with
Python code, and my 450Mhz Pentium (running Linux) is about the same
speed as my 300Mhz PPC running MacOS 8.6, unless there is a lot of disk
access, in which case the Linux box is much faster.

Of course there are a lot of other factors:

cache: a larger/faster cache could be making a huge difference.

bus speed: memory access time could be very different.

Of course, you have done the right thing: benchmark your actual
application. Now the hard part: find the the bottlenecks, and fixing
them.

-Chris


-- 
Christopher Barker,
Ph.D.                                                           
ChrisHBarker at home.net                 ---           ---           ---
http://members.home.net/barkerlohmann ---@@       -----@@       -----@@
                                   ------@@@     ------@@@     ------@@@
Oil Spill Modeling                ------   @    ------   @   ------   @
Water Resources Engineering       -------      ---------     --------    
Coastal and Fluvial Hydrodynamics --------------------------------------
------------------------------------------------------------------------



More information about the Python-list mailing list