Exploiting Dual Core's with Py_NewInterpreter's separated GIL ?

robert no-spam at no-spam-no-spam.invalid
Fri Nov 3 05:30:17 EST 2006


Jean-Paul Calderone wrote:
> On Thu, 2 Nov 2006 14:15:58 -0500, Jean-Paul Calderone 
> <exarkun at divmod.com> wrote:
>> On Thu, 02 Nov 2006 19:32:54 +0100, robert 
>> <no-spam at no-spam-no-spam.com> wrote:
>>> I'd like to use multiple CPU cores for selected time consuming Python 
>>> computations (incl. numpy/scipy) in a frictionless manner.
>>
>> NumPy releases the GIL in quite a few places.
> 
> Eh, no it doesn't.  Sorry for the misinformation.  I'll double check
> my memory first next time.
> 

only lin. alg and rare locations. But that doesn't make up my typical CPU load. 
Parallel execution of any varying Python code (and also Pyrex) without constantly thinking about C-level is definitely my real aim. (Otherwise I'd code most algs directly in C with less worries.)

robert



More information about the Python-list mailing list