Author: Armin Rigo <ar...@tunes.org> Branch: extradoc Changeset: r5153:f63e8aa171a5 Date: 2014-02-09 23:11 +0100 http://bitbucket.org/pypy/extradoc/changeset/f63e8aa171a5/
Log: Updates diff --git a/blog/draft/stm-feb2014.txt b/blog/draft/stm-feb2014.txt --- a/blog/draft/stm-feb2014.txt +++ b/blog/draft/stm-feb2014.txt @@ -10,7 +10,11 @@ library handling STM. This is currently work in progress. Once this is done, we should be able to adapt the existing pypy-stm to run on top of it without much rewriting efforts; in fact it should simplify the -difficult issues we ran into for the JIT. +difficult issues we ran into for the JIT. So while this is basically +yet another restart similar to <a +href="http://morepypy.blogspot.com/2013/06/stm-on-drawing-board.html">last +June's</a>, the difference is that the work that we have put in the PyPy +part (as opposed to the C library) remains. You can read about the basic ideas of this new C library <a href="https://bitbucket.org/pypy/stmgc/raw/c7/c7/README.txt">here</a>. @@ -28,9 +32,10 @@ href="http://morepypy.blogspot.com/2013/07/software-transactional-memory-lisp.html">duhton</a>, the interpreter for a minimal language created for the purpose of testing STM. Good results means we brough down the slow-downs from -60-80% to around 15%, from the non-STM-enabled to the STM-enabled -version on one thread (of course, the idea is that the STM version -scales when using more than one CPU core). +60-80% (previous version) to around 15% (current version). This number +measures the slow-down from the non-STM-enabled to the STM-enabled +version, on one CPU core; of course, the idea is that the STM version +scales up when using more than one core. This means that we are looking forward to a result that is much better than originally predicted. The pypy-stm has chances to run at a @@ -38,7 +43,7 @@ a value of "n" that is optimistically 15 --- but more likely some number around 25 or 50. This is seriously better than the original estimate, which was "between 2x and 5x". It would mean that using pypy-stm is -worthwhile even with two cores already. +quite worthwhile even with just two cores. More updates later... _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit