[Python-Dev] Experimenting with STM on CPython

Stefan Behnel stefan_ml at behnel.de
Wed Apr 11 14:29:29 CEST 2012

Armin Rigo, 11.04.2012 13:47:
> This is an update on the (so far PyPy-only) project of adding "Automatic
> Mutual Exclusion" to Python, via STM (Software Transactional Memory).
> [...]
> Moreover the performance hit is well below 2x, more like 20%.

Hmm, those 20% refer to STM, right? Without hardware support? Then hardware
support could be expected to drop that even further?

Did you do any experiments with running parallel code so far, to see if
that scales as expected?


More information about the Python-Dev mailing list