Threading Question

Steve Holden sholden at holdenweb.com
Fri May 4 07:52:04 EDT 2001


I've added a note to this effect at the top of 4.86: Basic Thread Wisdom.

regards
 Steve

"Erno Kuusela" <erno-news at erno.iki.fi> wrote in message
news:kuoft9pmi0.fsf at lasipalatsi.fi...
> In article <3AF2343B.4A95E856 at nospmmytheworld.com>, David Lees
> <debl at nospmmytheworld.com> writes:
>
> | I am struggling to improve the performance of some python code that has
> | 2 threads and runs on a dual processor linux (redhat 7.0) box.  I am
> | using Python 2.1 and can not seem to get the cpu utilization up above
> | 40% for each processor.
>
> python has a single global interpreter lock, so python code cannot
> benefit from multiple cpus. google has more information
> if you desire it.
>
> if someone with access to the faq wizard is listening, this should
> probably be added to the faq (i didn't see it there, at least).
>
>   -- erno




More information about the Python-list mailing list