473,586 Members | 2,546 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 2024
> 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.c om (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
4857
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, Pujo
11
9230
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 C++. I find my self sometimes, trying Object app = Object(); Object *app = Object(); Object app = new Object();
40
2377
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 over my old machine, which was a 300 MHz AMD K6II, but I think there ought to be an even greater speed gain due to the two XEONs. However, the...
6
1326
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 process the text in it (which would be called from many different forms-would be reusable -or Validate it locally on each for Would there be a major...
1
4910
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 to what you see in the Performance tab of the Task Manager -- whatever that value is when the timer fires is what I want to record I'm using...
9
1332
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 collections.deque.pop(0) in order to pop the leftmost item. In python 2.4 this is no longer valid - there is no argument on pop (rightmost only now) and you call...
21
1641
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 functions, I thought I could do something like: if L.index('A') < L.index('D'): # do some stuff But I didn't know if maybe there was a preferred method...
14
1742
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 obtained with threading. It is probably because of something called GIL in Python. How can I get around that GIL and get speed-up? Thanks in advance....
1
2615
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 pybench overall by about 12%, but during the testing I noticed that in fact some of the pybench results were much worse using gcc-4.3.3 compared to...
0
7912
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8338
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7959
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8216
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6614
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5710
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3837
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3865
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2345
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.