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. 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
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
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
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 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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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
|
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();
|
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...
|
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...
|
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...
| |
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...
|
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...
|
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....
|
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...
|
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...
|
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...
| |
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...
|
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...
|
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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
| |