Re: Parallelization on muli-CPU hardware?

From: Aahz (aahz_at_pythoncraft.com)
Date: 10/12/04


Date: 12 Oct 2004 16:26:52 -0400

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@news.easynet.fr>,
Nicolas Lehuen <nicolas.lehuen@thecrmcompany.com> 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@pythoncraft.com)           <*>         http://www.pythoncraft.com/
WiFi is the SCSI of the 21st Century -- there are fundamental technical
reasons for sacrificing a goat.  (with no apologies to John Woods)


Relevant Pages

  • Re: Harry Hill on Ross
    ... >Seemed like Ross was chatting with Sarah Jessica Parker for friggin ages ... >about a load of old crud, leaving just 5 minutes for HH. ...
    (uk.media.tv.misc)
  • Re: OT: Right v Left---leave me out
    ... BTW, sorry for leaving you and Denny out of the group whose input I ... Kurt Ullman, BR Eagle, and even EE, for having something called ...
    (alt.vacation.las-vegas)
  • Harry Hill on Ross
    ... Seemed like Ross was chatting with Sarah Jessica Parker for friggin ages ... about a load of old crud, leaving just 5 minutes for HH. ...
    (uk.media.tv.misc)
  • Re: Taskbar Grouping/Clustering Problem
    ... Leaving the changed Value in place. ... BTW - Am I the only one experiencing this vexing problem? ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: I made a Whirlwind Topper...See pics!
    ... so did you peel the sticker off the kids hat yet or are ... you leaving it there. ... Trin ... >> btw, are you going to explain to me why there is that RS sitting your ...
    (rec.games.pinball)