Parallelization on muli-CPU hardware?

Aahz aahz at
Tue Oct 12 22:26:52 CEST 2004

BTW, Nicolas, it'd be nice if you did not post quoted-printable.  I'm
leaving the crud in so you can see it.

In article <416bd75f$0$10909$afc38c87 at>,
Nicolas Lehuen <nicolas.lehuen at> wrote:
>Yeah I know this. My point was that when benchmarking single-threaded =
>programs vs multithreaded ones, you have to choose the kind of program =
>you use : CPU-intensive vs IO-intensive. On a single CPU machine, =
>CPU-intensive program will always run better in a single-threaded model. =
>But of course, if you have 2 procs and a nice threading model, you can =
>even do 2 CPU-intensive tasks simultaneously, which Python cannot do if =
>I've understood everything so far.

Python itself cannot, but there's nothing preventing anyone from writing
numeric extensions that release the GIL.
Aahz (aahz at           <*>

WiFi is the SCSI of the 21st Century -- there are fundamental technical
reasons for sacrificing a goat.  (with no apologies to John Woods)

More information about the Python-list mailing list