The Future of Python Threading

Bjoern Schliessmann usenet-mail-0306.20.chr0n0ss at spamgourmet.com
Sat Aug 11 17:46:05 EDT 2007


Nick Craig-Wood wrote:
> Bjoern Schliessmann <usenet-mail-0306.20.chr0n0ss at spamgourmet.com>

>>  So, how much performance gain would you get? Again, managing
>>  fine-grained locking can be much more work than one simple lock.
> 
> Assuming that you are not IO bound, but compute bound and that
> compute is being done in python then you'll get a speed up
> proportional to how many processors you have, minus a small amount
> for locking overhead.

Assuming this: Agreed.
 
Regards,


Björn

-- 
BOFH excuse #348:

We're on Token Ring, and it looks like the token got loose.




More information about the Python-list mailing list