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/079483.html below:

[Python-Dev] Python parallel benchmark

[Python-Dev] Python parallel benchmark [Python-Dev] Python parallel benchmarkGreg Ewing greg.ewing at canterbury.ac.nz
Fri May 16 04:55:03 CEST 2008
Tom Pinckney wrote:
> If I look at top while 
> running 2 or more threads, both cores are being used 100% and there is 
> no idle time on the system.

If you run it with just one thread, does it use up only
one core's worth of CPU?

If so, this suggests that the GIL is being released. If
it wasn't, two threads would still only use one core's worth.

Also, if you have only two cores, using more than two
threads isn't going to gain you anything whatever happens.

-- 
Greg
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