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

Paul Rubin http
Sat Nov 4 12:12:06 EST 2006


"Martin v. Löwis" <martin at v.loewis.de> writes:
> > PS: Besides: what are speed costs of LOCK INC <mem> ?
> 
> That very much depends on the implementation. In
> http://gcc.gnu.org/ml/java/2001-03/msg00132.html
> Hans Boehm claims it's 15 cycles. 

I think that has to be on a single processor, or at most a dual core
processor with shared cache on die.  With multiple cpu chips I don't
think can get the signals around that fast.



More information about the Python-list mailing list