[Pythonmac-SIG] Pystone numbers for different Macs...

Daniel Lord daniellord at mac.com
Mon Jan 21 08:07:09 CET 2008


Will do, though I am not expecting great results given what we know now.
I'll post the numbers as soon as I can get it done.

On Jan 20, 2008, at 11:05 PM, Ronald Oussoren wrote:

>
> On 20 Jan, 2008, at 19:23, Daniel Lord wrote:
>
>> I ran the test  on my 1st Gen Quad Core ( 2 x Quad-core 3.0 GHz, 13GB
>> RAM) and was a bit surprised to see  little improvement over the Core
>> Duo numbers.
>>
>> 63019.7 pystones/second
>>
>> I am assuming the GIL is limiting  threading and therefore I am  
>> really
>> running on one or two cores--hence the tangible improvement is just
>> CPU speed: from 2.33 GHz to 3.0 GHz and a bit of the memory bandwidth
>> increase as well.
>
> Pystone is completely single-threaded. Beyond that multi-threaded  
> Python code cannot make optimal use from multiple CPU's unless most  
> threads run C code (due to the GIL).
>>
>>
>> This is the 32-bit number, I'll find some time to try 64-bit--but
>> first want to make sure it doesn't mess up my system as I am using
>> Apple Python 2.5.1 exclusively right now and want to avoid the split
>> brain problem.
>
> That's easy enough: install the 64-bit version in a location that is  
> not on your shell's search path, and don't install it as a framework.
>
> Ronald
>
>>
>>
>> Daniel
>>
>> On Jan 20, 2008, at 1:27 AM, Ronald Oussoren wrote:
>>
>>>
>>> On 19 Jan, 2008, at 21:43, skip at pobox.com wrote:
>>>
>>>>
>>>> My Powerbook G4 is getting rather long-in-the-tooth.  It's  
>>>> display is
>>>> starting to act up, so I think I'm going to buy a new Mac something
>>>> in the
>>>> fairly near future, but I'm not yet sure what.  To that end, I've
>>>> started a
>>>> table of pystone numbers for Macs on the Python wiki:
>>>>
>>>> http://wiki.python.org/moin/MacPython/MacModelPerformance
>>>>
>>>> If you could help by adding some rows to the table, especially for
>>>> current
>>>> MacBook, MacBook Pro or (in the near future, MacBook Air) models,  
>>>> I'd
>>>> appreciate it.
>>>
>>> I've posted some numbers as well, which in itself doesn't warrent an
>>> e-mail. What is interesting though is the difference between 32-bit
>>> and 64-bit code:
>>>
>>> Python 2.5.2a0 (60124)
>>>
>>> 32-bit: 52083
>>> 64-bit: 60871
>>>
>>> 64-bit code is significantly faster here (all of this on a MacBook
>>> Pro 2.33Ghz/3GByte)
>>>
>>> Ronald
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> -- 
>>>> Skip Montanaro - skip at pobox.com - http://www.webfast.com/~skip/
>>>>
>>>> The major difference between Democrats and Republicans is that
>>>> Republicans don't know that Randy Newman's lyrics are full of
>>>> sarcasm.
>>>> _______________________________________________
>>>> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
>>>> http://mail.python.org/mailman/listinfo/pythonmac-sig
>>>
>>> _______________________________________________
>>> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
>>> http://mail.python.org/mailman/listinfo/pythonmac-sig
>>
>> _______________________________________________
>> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
>> http://mail.python.org/mailman/listinfo/pythonmac-sig
>



More information about the Pythonmac-SIG mailing list