Re: Parallelization on muli-CPU hardware?
From: Aahz (aahz_at_pythoncraft.com)
Date: 10/12/04
- Next message: Riccardo Galli: "ANN: curses-extra 0.2"
- Previous message: exarkun_at_divmod.com: "Re: [twisted+wxPython] widgets do not work?"
- In reply to: Nicolas Lehuen: "Re: Parallelization on muli-CPU hardware?"
- Next in thread: Nicolas Lehuen: "Re: Parallelization on muli-CPU hardware?"
- Reply: Nicolas Lehuen: "Re: Parallelization on muli-CPU hardware?"
- Reply: Nicolas Lehuen: "Re: Parallelization on muli-CPU hardware?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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)
- Next message: Riccardo Galli: "ANN: curses-extra 0.2"
- Previous message: exarkun_at_divmod.com: "Re: [twisted+wxPython] widgets do not work?"
- In reply to: Nicolas Lehuen: "Re: Parallelization on muli-CPU hardware?"
- Next in thread: Nicolas Lehuen: "Re: Parallelization on muli-CPU hardware?"
- Reply: Nicolas Lehuen: "Re: Parallelization on muli-CPU hardware?"
- Reply: Nicolas Lehuen: "Re: Parallelization on muli-CPU hardware?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|