473,503 Members | 1,656 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Best processor (i386) for Python performance?

Hi All,

I'd be grateful if anyone could provide insight into choosing a good
i386 processor for Python performance.

Are any of the following of particular importance, or less relevant,
with respect to Python?

Raw clock speed?
Cache size?
Bus speed?
Intel's Hyperthreading?
AMD's 64 bits?

What about a dual processor? Can multithreaded Python take advantage
of this? Is it stable?

Thanks very much,

Tom.
Jul 18 '05 #1
5 2012
> Raw clock speed?
Cache size?
Bus speed?
Intel's Hyperthreading?
AMD's 64 bits?


Python applications are often memory intensive, so a fast bus
and a large cache should help. Also, raw clock speed should help.
Hyperthreading and AMD64 are irrelevant (although for the latter,
it would be interesting to see how linux-x86 compares to
linux-amd64 on the same machine for Python performance).

Regards,
Martin
Jul 18 '05 #2
Tom Locke wrote:
I'd be grateful if anyone could provide insight into choosing a good
i386 processor for Python performance.

Are any of the following of particular importance, or less relevant,
with respect to Python?

Raw clock speed?
Cache size?
Bus speed?
Intel's Hyperthreading?
AMD's 64 bits?

What about a dual processor? Can multithreaded Python take advantage
of this? Is it stable?


I don't think anyone has yet studied this issue extensively.

Please buy one of each and let us know which one was fastest. ;-)

-Peter
Jul 18 '05 #3
On Thu, 26 Aug 2004 08:09:40 +0200, Martin v. Löwis wrote:
Python applications are often memory intensive, so a fast bus and a large
cache should help. Also, raw clock speed should help. Hyperthreading and
AMD64 are irrelevant (although for the latter, it would be interesting to
see how linux-x86 compares to linux-amd64 on the same machine for Python
performance).


Yes - AMD64 could be relevant if Python gets a speed boost from the extra
registers it has available.

Jeremy

Jul 18 '05 #4
Jeremy Sanders wrote:
Yes - AMD64 could be relevant if Python gets a speed boost from the extra
registers it has available.


Yes, could be. OTOH, it is 64 bits, so it could also see a slow down
because of the larger amounts of memory that needs to be moved for
pointers and longs.

Regards,
Martin
Jul 18 '05 #5
to*@livelogix.com (Tom Locke) writes:
Hi All,

I'd be grateful if anyone could provide insight into choosing a good
i386 processor for Python performance.

Are any of the following of particular importance, or less relevant,
with respect to Python?

Raw clock speed?
Cache size?
Bus speed?
Intel's Hyperthreading?
AMD's 64 bits?
Lots of cache is likely to help. There were some posts -- somewhere,
python-dev maybe -- which showed terrible parrotbench times on some
Pentium variant with almost no cache.

More of everything else is also good, but you knew that, right?

Cheers,
mwh

-- What are mathematicians' critical job skills? [...]

The ability to work long and hard on entirely meaningless problems.
-- Michael Hudson & Gordon McMillan, c.l.py
Jul 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

37
4832
by: ajikoe | last post by:
Hello, Is anyone has experiance in running python code to run multi thread parallel in multi processor. Is it possible ? Can python manage which cpu shoud do every thread? Sincerely Yours,...
11
9211
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in...
40
2347
by: John Brawley | last post by:
Greetings, all. I have a program I'm trying to speed up by putting it on a new machine. The new machine is a Compaq W6000 2.0 GHz workstation with dual XEON processors. I've gained about 7x speed...
6
1322
by: John | last post by:
I have a question about design, performance, and code reusability. Which one of these would be the best as far as performance/speed Send a textbox to a public class to check it and process/not...
1
4895
by: Jeff Mitchell | last post by:
I have a logging application that records various performance metrics into a database every 5 minutes, and to this I'd like to add a performace counter that shows the processor usage in a manner akin...
9
1329
by: Russell Warren | last post by:
After some digging it seems that python does not have any equivalent to C's #if directives, and I don't get it... For example, I've got a bit of python 2.3 code that uses...
21
1624
by: John Salerno | last post by:
If I want to make a list of four items, e.g. L = , and then figure out if a certain element precedes another element, what would be the best way to do that? Looking at the built-in list...
14
1729
by: danfan1981 | last post by:
Hi, I am using Python Thread library for my parallel processing course project. I am doing matrix convolution on a multi-processor machine running Solaris. I just found out that no speed-up is...
1
2608
by: Robin Becker | last post by:
I've just been testing out Jakob Sievers' speedup of Python 2.5.2 by compiling on freebsd with gcc-4.3.3 (the standard freebsd 6.1 gcc is 3.4.4). I'm glad to say that his modification did improve...
0
7198
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7072
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7271
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6979
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7449
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4998
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3160
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3149
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.