A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-May/079465.html below:

[Python-Dev] Python parallel benchmark

[Python-Dev] Python parallel benchmark [Python-Dev] Python parallel benchmarkNick Coghlan ncoghlan at gmail.com
Fri May 16 00:43:30 CEST 2008
Tom Pinckney wrote:
> All the discussion recently about pyprocessing got me interested in 
> actually benchmarking Python's multiprocessing performance to see if 
> reality matched my expectations around what would scale up and what 
> would not. I knew Python threads wouldn't be good for compute bound 
> problems, but I was curious to see how well they worked for i/o bound 
> problems. The short answer is that for i/o bound problems, python 
> threads worked just as well as using multiple operating system processes.

Interesting - given that your example compute bound problem happened to 
be a matrix multiply, I'd be curious what the results are when using 
python threads with numpy to do the same thing (my understanding is that 
numpy will usually release the GIL while doing serious number-crunching)

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4